smithery/matt-riley

templ-templates

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

Installation

$ npx skills add smithery/matt-riley --skill templ-templates

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/matt-riley.

npx skills add smithery/matt-riley

Browse all from smithery/matt-riley

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 recorded snapshot · 0 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.