feat: add agent scaffold (context-sync, skills, context tasks) #2

Merged
mathias merged 6 commits from feat/add-agent-scaffold into main 2026-05-12 15:24:42 +00:00
Owner

Makes the template self-contained — a bare clone produces a fully wired project without needing the local ~/dev/project-template overlay.

Changes

  • scripts/context-sync.sh — generates CLAUDE.md, AGENTS.md, .cursorrules, .aider.conventions.md, system-prompt.txt from .context/PROJECT.md
  • .skills/go-patterns/SKILL.md — Go endpoint/error/HTMX/dependency patterns
  • .skills/htmx-patterns/SKILL.md — HTMX attribute, form, validation, hypermedia patterns
  • .context/skills/go-patterns.md + htmx-patterns.md — same content for non-skill-aware harnesses
  • Taskfile.yml — added context:sync, context:sync:claude, context:sync:agents, context:sync:cursor tasks

Why

Previously task new-project had to overlay these files from a local project-template/ after cloning. That overlay machinery is now redundant and will be removed from new-project.sh.

Makes the template self-contained — a bare clone produces a fully wired project without needing the local `~/dev/project-template` overlay. ## Changes - `scripts/context-sync.sh` — generates CLAUDE.md, AGENTS.md, .cursorrules, .aider.conventions.md, system-prompt.txt from `.context/PROJECT.md` - `.skills/go-patterns/SKILL.md` — Go endpoint/error/HTMX/dependency patterns - `.skills/htmx-patterns/SKILL.md` — HTMX attribute, form, validation, hypermedia patterns - `.context/skills/go-patterns.md` + `htmx-patterns.md` — same content for non-skill-aware harnesses - `Taskfile.yml` — added `context:sync`, `context:sync:claude`, `context:sync:agents`, `context:sync:cursor` tasks ## Why Previously `task new-project` had to overlay these files from a local `project-template/` after cloning. That overlay machinery is now redundant and will be removed from `new-project.sh`.
mathias added 6 commits 2026-05-12 15:22:59 +00:00
feat: add context:sync tasks
Some checks failed
CD / Lint / Test / Vet (pull_request) Failing after 5s
CD / Build & Import (pull_request) Has been skipped
CD / Deploy via GitOps (pull_request) Has been skipped
855b39e134
mathias merged commit e2810b9209 into main 2026-05-12 15:24:42 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mathias/template-go-web#2