Speckit Guard — Testing skill for Claude Code
Claude Code plugin for GitHub Spec Kit: acceptance tests written from the spec before implementation, locked during /speckit-implement, then a fresh-context review against the spec.
How to install Speckit Guard
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open kOlapsis/speckit-guard and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Speckit Guard does
Claude Code plugin for GitHub Spec Kit: acceptance tests written from the spec before implementation, locked during /speckit-implement, then a fresh-context review against the spec.
Alternatives in Testing
- Debug — You are tasked with helping debug issues during manual testing or implementation 10k ★
- Bench Sync — Pull latest spec-kit + speckit-companion into the bench sandbox and re-bake the 2 variant folders 85 ★
- Speckit Orchestrate — Optionally run TCHES metaprompt, then chain Spec Kit passes (specify→plan→tasks→implement) 26 ★
README
speckit-guard
[](LICENSE)
**Your coding agent should not be the one grading its own work.**
speckit-guard is a [Claude Code](https://docs.claude.com/en/docs/claude-code) plugin for [GitHub Spec Kit](https://github.com/github/spec-kit). It has acceptance tests written from the spec before any code exists, locks them while `/speckit-implement` runs, and then has a reviewer with a fresh context check the implementation against the spec, criterion by criterion.
[Version française](README.fr.md)
The problem
In spec-driven development with Spec Kit, the agent that implements a feature also writes its tests and decides when the feature is done. When a test fails, the shortest path to green is often to edit the test instead of the code. The default flow has no step that checks for this, so "all tests pass" says little about whether the spec is met.
What speckit-guard adds
/speckit-tests: a skeleton of the planned interfaces is created first, so that the tests compile. Then an isolated subagent (test-writer) reads only the spec, writes the acceptance tests before implementation, and proves they fail at runtime. It also flags contradictions with the other features' specs. The tests are committed, and that commit becomes the reference.- A lock on the tests: during
/speckit-implement, aPreToolUsehook prevents the agent from modifying those tests. It has to change the code, not the target. If a locked test is itself broken,/speckit-fix-testhas thetest-writerrepair it and records the change as an amendment, without stopping the run. /speckit-verify: mechanical checks first (no change to the tests since the reference commit other than amendments, full test suite, mutation testing if a tool is installed), then aspec-reviewersubagent that never saw the implementation reasoning judges each acceptance criterion as OK, PARTIAL or MISSING. Gaps ar
Related Skills
Valcraft
Agent skills for spec-driven delivery — one plugin for Claude Code, OpenAI Codex, and OpenCode. At the center:
Cfn Spec
SPARC Specification phase. Make testable acceptance criteria, edge cases, pre/post conditions, invariants BEFO
Spec Checklist
Helper — Generates a customized acceptance-criteria checklist for the current feature, based on spec.md and de
Verify Context
Check whether spec.md and context.md are still accurate given changes since the design PR merged. Run at the s
Execute Tasks
Execute the task DAG for a work item — implement, verify against the testing plan, self-check, self/critic-rev
Review Spec Readiness
Grade a Kiro spec (requirements, design, tasks) against the spec quality standards before implementation begin
Related Agents
Acceptance Author
Writes Playwright acceptance tests from an approved spec's Given/When/Then scenarios BEFORE implementation exi
Phase Test Writer
Writes the locked-first acceptance tests for a roadmap phase during process-phase Step 2 (Specify). It turns R
Idea Scorer
Gates candidate ideas on Stage One, then scores survivors against the real rubric. Runs in a fresh context dur