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 ★
- Speckit Orchestrate — Optionally run TCHES metaprompt, then chain Spec Kit passes (specify→plan→tasks→implement) 26 ★
- Cpp Test — Enforce TDD workflow for C++ 24 ★
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:
Qikly
Generates a test suite from acceptance criteria, then converges code against it with an agent that never sees
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
Related Agents
Idea Scorer
Gates candidate ideas on Stage One, then scores survivors against the real rubric. Runs in a fresh context dur
Lite Builder
Lean TDD builder for the lite (/build) flow. Spawned by lite-orchestrator on a fresh context inside a task wor
Acceptance Phase
Enforcement playbook for the fresh-context UAT acceptance gate: capability preflight, applicability/risk class