asarchami/dotfiles/generate-htmx-component

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Generates a self-contained, lightweight UI component using server-driven HTMX and standard Tailwind utility classes.

Install

npx vskill@latest install asarchami/dotfiles/generate-htmx-component

SKILL.md

What I do.

  • Build clean, functional, HTML-only frontend fragments tailored for server-side responses.
  • Implement dynamic interactions strictly via HTMX attributes (hx-get, hx-post, hx-target, hx-swap).
  • Return HTML fragments (never JSON) — detect HX-Request header server-side to decide fragment vs full layout.
  • Use explicit hx-target selectors — target specific elements, never replace entire layout containers.
  • Choose correct hx-swap strategy: innerHTML for content updates, outerHTML for element replacement, beforeend/afterend for insertion, delete for removal.
  • Use hx-swap-oob for updating multiple UI targets from a single fragment response.
  • Return proper HTTP status codes: 200 for success, 422 for validation errors, 404 for not found, 400 for bad request.
  • On validation errors, return the same form fragment with error messages and HTTP 422 — never redirect.
  • Use Swap Modifiers (swap:1s, settle:200ms, show:top) where UI transition timing matters.
  • Use minimalist Tailwind CSS styling matching the off-white, light gray, and subtle single-accent color palette.

Detailed References

Consult ui_skills/references/ for detailed guidance:

When to use me.

Use this skill whenever you need to build or modify individual page elements, form cards, data blocks, or interactive buttons that need to refresh without forcing a browser page reload.

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

Popularity

7-day trend score
0

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/asarchami/dotfiles/generate-htmx-component/badge)](https://verified-skill.com/skills/asarchami/dotfiles/generate-htmx-component)

Something wrong with this skill or its page? Tell us.