What problem does it solve?
Modern AI agents often default to JSON APIs or rebuild DOM client-side, so this Skill forces them into server-driven HTMX workflows with HTML-over-the-wire fragments, fragment naming discipline, swap strategy rigor, and a security-first mindset.
Core Features & Use Cases
- HTML-over-the-wire enforcement: Requires every HX request to return focused fragments, detect
HX-Request, preserve hx-swap semantics, and avoid SPA-style DOM hacks.
- Guided server-driven UI reference: Aggregates activation rules plus deep docs on attributes, triggers, swaps, events, headers, server response patterns, validation, security, performance, and anti-patterns so agents stay in their lane.
- Production readiness playbook: Includes enterprise principles, Express demo patterns, and checklists for CSRF, history management, accessibility, caching, and monitoring to migrate React/Vue CRUD apps to progressive HTMX fragments.
Quick Start
Ask the skill to audit your /todos endpoint and ensure every HTMX request returns a fragment with HX-Request detection, proper hx-swap, and CSRF plus history guidance.