skalanux/puntofiles/htmx
Claude Code and agent skill by skalanux/puntofiles
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
HTMX development guidelines for building dynamic web applications with minimal JavaScript using HTML attributes.
Install
npx vskill@latest install skalanux/puntofiles/htmxSKILL.md
The same SKILL.md was published earlier as mindrally/skills/htmx.
HTMX Development
You are an expert in HTMX for building dynamic web applications with minimal JavaScript.
Core Principles
- Write concise, clear, and technical responses with precise HTMX examples
- Leverage HTMX's interactivity capabilities without heavy JavaScript dependencies
- Prioritize maintainability and readable code structure
- Return only necessary HTML snippets from the server
HTMX Usage Guidelines
Request Attributes
hx-get- Make GET request to URLhx-post- Make POST request to URLhx-put- Make PUT request to URLhx-patch- Make PATCH request to URLhx-delete- Make DELETE request to URL
DOM Manipulation
hx-target- Specify where response content gets injectedhx-swap- Customize DOM insertion method (innerHTML, outerHTML, beforeend, etc.)hx-trigger- Customize event handling and control request timinghx-select- Select specific content from response
URL Management
hx-push-url- Update browser URL without full page refreshhx-replace-url- Replace current URL in history
Best Practices
Request Handling
Error Handling
- Implement server-side validation before processing requests
- Return appropriate HTTP status codes (4xx for client errors, 5xx for server errors)
- Provide user-friendly error messages
- Use
hx-swapfor customizing error feedback presentation
User Confirmation
Performance Optimization
- Minimize server response sizes by sending only essential HTML
- Implement server-side caching for frequently requested endpoints
- Precompile reusable component fragments
- Use
hx-boostfor progressive enhancement of links
Integration Patterns
With CSS Frameworks
- Combine HTMX with Bootstrap or Tailwind without script conflicts
- Use loading indicators for better UX
- Handle transitions smoothly
Template Organization
- Organize templates as efficient, reusable HTMX fragments
- Maintain clear separation of concerns
- Use partial templates for common components
Key Conventions
- Maintain consistent naming for HTMX attributes
- Ensure fast and intuitive interactions
- Structure templates with clear separation of concerns
- Favor declarative attributes over JavaScript event handlers
Security
- Security scanPassed, 95 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 repositoryCheckingdot_agents/skills/htmx/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/skalanux/puntofiles/htmx)