templ-templates
Installation
SKILL.md
Templ templates
Use this skill when
- Editing
.templfiles, regenerating*_templ.go, or wiring handlers to generated render functions. - Debugging a compile error caused by stale template generation.
- Tightening the boundary between handlers (which compute data) and templates (which render it).
Do not use this skill when
- The work is broader code generation across schema/queries (use
code-generation). - The change is pure CSS/asset work with no template edits.
Inputs to gather
- The path of the
.templfile being changed and its consumers. - The repository's regeneration command (
templ generate,make templ-generate, ormake generate). - Any typed data the handler currently passes and what needs to change.