htmx
HTMX documentation assistant
When & Why to Use This Skill
The HTMX Skill is a specialized documentation assistant designed to streamline web development workflows by providing instant, searchable access to the HTMX framework's technical guides. It enables developers to query syntax, attributes, and implementation patterns directly through a CLI-based search tool, ensuring accurate coding by citing official sources and tracking documentation freshness. This skill effectively bridges the gap between coding and documentation reference, reducing context-switching for frontend engineers.
Use Cases
- Quickly looking up HTMX-specific attributes such as hx-get, hx-post, or hx-target to understand their parameters and behavior.
- Retrieving implementation examples for complex hypermedia patterns like infinite scroll, active search, or inline editing.
- Troubleshooting frontend interactions by searching the documentation for specific event triggers and swap strategies.
- Ensuring code compliance with the latest HTMX standards by referencing the most recently fetched documentation files and source URLs.
| name | htmx |
|---|---|
| description | HTMX documentation assistant |
HTMX Skill
This skill provides access to HTMX documentation.
Documentation
All documentation files are in the docs/ directory as Markdown files.
Search Tool
python scripts/search_docs.py "<query>"
Options:
--json- Output as JSON--max-results N- Limit results (default: 10)
Usage
- Search or read files in
docs/for relevant information - Each file has frontmatter with
source_urlandfetched_at - Always cite the source URL in responses
- Note the fetch date - documentation may have changed
Response Format
[Answer based on documentation]
**Source:** [source_url]
**Fetched:** [fetched_at]