e2e-template-testing
Installation
SKILL.md
Context
Squad's coordinator prompt (squad.agent.md) and agent charters (e.g.
scribe-charter.md) are shipped as templates in .squad-templates/. Changes to
these files affect how every squad session behaves — but unit tests can't catch
prompt-level regressions because the prompts are interpreted by an LLM at
runtime.
This skill describes how to validate template changes end-to-end by running real squad sessions against a locally-built CLI that includes your modified templates.
When To Use
- You changed
.squad-templates/squad.agent.md(coordinator prompt) - You changed
.squad-templates/scribe-charter.mdor other agent charters - You changed
.squad-templates/notes-protocol.mdor helper scripts - You added new conditional blocks (e.g. state-backend-aware spawn templates)
- You modified the init scaffolding that writes templates to target repos