go-htmx-frontend
Installation
SKILL.md
Go HTMX frontend
Build web UIs with Go using Templ, HTMX 2.x, Tailwind CSS v4 (standalone CLI), and Alpine.js only when a page needs client state.
Before you add a layer, a component library, or JavaScript, read ../go-dev/references/development-balance.md. Match the existing structure of the project first.
References
Read only the file the task needs. Do not load all of them for a small edit.
| Read | When |
|---|---|
| references/templ.md | Installing Templ, writing components, layouts, children, loops, conditionals, or conditional classes |
| references/htmx.md | Installing HTMX or Alpine.js, writing hx-* attributes, partial updates, loading indicators, or hx-on events |
| references/handlers.md | Writing a handler that renders a component, serving full pages and HTMX partials from one route, request-scoped context, or streaming |
| references/forms.md | Building a form, validation, form decoding, or CSRF protection |
| references/tailwind.md | Installing the Tailwind standalone CLI, @source and @theme config, or build commands |
| references/deployment.md | The justfile, dev hot reload, the production build, or CI |
| references/testing.md | Testing components, handlers, HTMX partials, or CSRF-protected forms |