smithery.ai

templ-templates

Edit and troubleshoot server-side HTML templates (.templ), including regeneration and handler wiring.

First seen Apr 11, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Version1
LicenseMIT
CompatibilityRequires bash, git, Go, and templ.
Allowed toolsBash(git:*) Bash(make:*) Bash(go:*) Bash(templ:*) Read
Declared agents github-copilot
More metadata
repo
mjrwtf
runner
github-copilot-cli
version
1

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,020 B
  • docs SUMMARY.md 124 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Where templates live

  • Layouts: internal/adapters/http/templates/layouts/*.templ
  • Pages: internal/adapters/http/templates/pages/*.templ

Standard workflow

  1. Edit .templ files.
  2. Regenerate:
make templ-generate
# or (full): make generate
  1. Run tests/build:
go build ./...
make test

Handler wiring

  • Handlers typically render templates from internal/infrastructure/http/handlers/*.
  • Set content type: text/html; charset=utf-8.

Common pitfalls

  • Forgetting to run templ generate (compile errors referencing missing *_templ.go).
  • Putting business logic in templates; keep logic in handlers/domain and pass data in.