thomascothran/pomp/datastar
Claude Code and agent skill by thomascothran/pomp
- community
Checking that the SKILL.md file is still in the repository.
Datastar framework guidance for adding data-* attributes, frontend actions, reactive signals, and backend SSE/SDK usage (including Clojure). Use when modifying HTML/Hiccup with Datastar attributes, handling Datastar requests, patching elements/signals, or tracing signal updates.
Install
npx vskill@latest install thomascothran/pomp/datastarSKILL.md
Datastar
Overview
Provide Datastar-specific guidance for UI wiring, server updates, and debugging.
Signals are Datastar's reactive state values. They are created with data-signals, data-bind, or data-computed and referenced in expressions with the $ prefix (for example $name). Expressions inside data-* attributes are JavaScript expressions.
Workflow Selector
- For HTML/Hiccup attribute wiring and actions, read
references/attributes.md. - For Clojure SDK SSE handlers, backend signal updates, and request parsing, read
references/clj-sdk.md. - For debugging signal flow or inspecting patches, read
references/signal-tracing.md.
Subworkflow: Frontend attributes
- Identify the signals and UI elements to bind.
- Apply the smallest set of
data-*attributes needed for binding, display, or events. - Use Datastar actions (
@get,@post, etc.) for server calls and add indicators for loading. - Ensure morph targets have stable ids/selectors for patching.
Subworkflow: Backend SSE + Clojure SDK
- Use
->sse-responsewithon-opento establish SSE. - Read incoming signals using parsed request data (see
references/clj-sdk.md). - Set backend signals with
d*/patch-signals!and update HTML withd*/patch-elements!. - Close the SSE for one-shot responses, or store the generator for streaming.
Subworkflow: Signal tracing
- Add
data-on-signal-patchhandlers to log or forward patch data. - Use
data-json-signalswith include/exclude filters for on-screen inspection. - Remove tracing attributes once the behavior is verified.
Resources
references/attributes.mdreferences/clj-sdk.mdreferences/signal-tracing.md
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/datastar/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/thomascothran/pomp/datastar)