Htmx

From gopherguides/gopher-ai · View interactive version

Htmx is an AI agent skill from the GitHub repository gopherguides/gopher-ai. htmx for Go/templ apps: hx-* attributes, swap strategies, triggers, OOB updates, SSE, WebSockets, forms, redirects, debounce, server integration. Trigger when user writes or pastes templates containing hx-* attributes, asks about HTMX swaps/triggers/OOB updates, or wires HTMX to a Go handler. SKIP g

How to use this skill

Skill file

htmx Best Practices & Go/Templ Integration

Apply correct htmx patterns when building hypermedia-driven web applications, especially with Go and templ.

Core Principles


Reference Files

Read the relevant file for detailed patterns, code examples, and best practices:

`templ-integration.md` — Templ + htmx

`go-handlers.md` — Go Server Patterns

`attributes-reference.md` — Swap, Triggers & Headers

`patterns-and-extensions.md` — Advanced Patterns

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.