htmx
HTMX hypermedia-driven interactions, HX-* attributes, and backend integration patterns. Use when building dynamic web UIs with minimal JavaScript and…
от skeletorflet★ 48 звёзд на GitHub
Установить htmx в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
htmx
Core Concepts
- Core attributes: hx-get, hx-post, hx-put, hx-delete, hx-patch for AJAX
- Triggers: hx-trigger (click, change, load, reveal, intersect, every)
- Target swapping: hx-target, hx-swap (innerHTML, outerHTML, beforebegin, afterend)
- Indicators: hx-indicator and hx-request for loading states
- History: hx-push-url and hx-replace-url for URL management
Common Patterns
- Infinite scroll with hx-trigger="revealed" on last list item
- Form submission with hx-post and hx-target for inline validation
- Lazy loading with hx-trigger="load" for below-fold content
- Polling with hx-trigger="every 5s" for live data updates
- Delete button with hx-delete and hx-confirm for confirmation
Best Practices
- Return HTML fragments from server, never JSON for HTMX routes
- Use hx-swap-oob for updating multiple parts of page at once
- Combine with Alpine.js for complex client-side interactions
- Set HX-Request header detection on server for partial vs full responses
- Use hx-boost for converting all links/forms to AJAX
Common Code Patterns
- Search input with hx-get, hx-trigger="keyup delay:300ms", hx-target="#results"
- Todo list with hx-post form, hx-target="#todo-list", hx-swap="beforeend"
- Modal with hx-get loading content and hx-swap="innerHTML" on dialog
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл htmx?
HTMX hypermedia-driven interactions, HX-* attributes, and backend integration patterns. Use when building dynamic web UIs with minimal JavaScript and server-rendered HTML.
Как установить скилл htmx?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл htmx запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…