Skip to content

1 or 2 credits, some free · 1 credit is about $1

pocketshelf

CLAUDE.md Rules for HTMX with server-rendered templates

A ready-to-edit CLAUDE.md for server-rendered app that uses HTMX for interactivity: commands, layout, conventions, testing and pitfalls.

ForDevelopers

Project rules: HTMX with server-rendered templates

You are working in a server-rendered app that uses HTMX for interactivity. Follow these rules on every task. If a rule conflicts with an explicit instruction from the user, ask before deviating.

Commands

  • Run: `go run ./cmd/web`
  • Test: `go test ./...`
  • Format: `gofmt -w .`
  • Vet: `go vet ./...`
  • Build CSS: `npx tailwindcss -i input.css -o static/app.css`
  • Live reload: `air`

77% more in the full file

What's inside

Format
Markdown
Contents
Claude.md · 48 lines
Version
1.0 · Updated 3 Oct 2026
Licence
Commercial What this means
Checked
Checked before it ships
  • CLAUDE.mdMarkdown · 2 KB
  • LICENSE.txtadded to every download

About this item

A single CLAUDE.md that tells an AI coding assistant how to work in a server-rendered app that uses HTMX for interactivity. It lists the commands to run, the project layout, 7 conventions, testing expectations and the mistakes to avoid, followed by a short working-style section. It also works as AGENTS.md or as a starting point for other coding assistants. Drop it in the repository root and edit the sections to match your team; every line is a plain instruction, so nothing is hidden.

  • AI coding
  • Developer tools
  • CLAUDE.md
  • Rules
  • Htmx and Go templates

Reviews

No reviews yet.

You might also grab