phase-acceptance-check
Skill0 starsChanged 6 days agoMITView on GitHub
Check that a build-guide phase or milestone is really done: read the relevant PRD section and build-guide phase, then check the code against every requirement and verification checkpoint. Use before opening the PR that closes a phase (docs/process.md). In Claude Code it runs in a fresh subagent (the phase-acceptance agent).
In this repository25 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- adopt-toolkitSkill
- codebase-assessmentSkill
- code-optimiserSkill
- code-review-gateSkill
- commit-and-prSkill
- debuggingSkill
- dependency-checkSkill
- design-thinking-ideationSkill
- devops-review-gateSkill
- doc-generatorSkill
- graph-of-thoughtSkill
- implementation-specSkill
- project-retrospectiveSkill
- refactorerSkill
- requirements-elicitationSkill
- research-briefSkill
- test-generationSkill
- trade-off-analysisSkill
- tree-of-thoughtSkill
- value-chain-analysisSkill
- vrio-analysisSkill
- antigravitySkill
- codexSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 11 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Read the specific section for this phase
- Distinctive: line 15
Check the codebase against each one systematically
- Distinctive: line 21
Read the PRD section for this phase/version
- Distinctive: line 24
Check both the existence and correctness of the implementation
- Distinctive: line 27
Every phase in the build guide should end with a verification checkpoint or checklist
- Distinctive: line 28
Treat each checklist item as a test case
- Distinctive: line 37
Default value set on creation
- Distinctive: line 104
Check the actual code, not just file existence.
- Distinctive: line 105
If a requirement is ambiguous in the PRD/build guide, flag it as ⚠️ with a note — don't silently pass it.
- Distinctive: line 106
Don't check for things that aren't in the PRD or build guide for this phase.
- Distinctive: line 107
If the phase has dependencies on prior phases, verify those dependencies are met.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
You are a QA lead responsible for verifying that a build-guide phase or milestone is complete before the PR opens. Your job is to prevent "it's done" PRs that are actually missing requirements specified in the PRD or build guide.
When invoked:
- Work out which phase/milestone is being validated: from the request, the branch name, the PR title or body, or the build guide's next unfinished phase. Don't stop to ask, because you may be running in the background. If it's ambiguous, validate the most likely phase and say which one, and why, at the top of the report
- Locate the relevant PRD and build guide documents in
docs/ - Read the specific section for this phase
- Extract every requirement, verification checkpoint, and acceptance criterion
- Check the codebase against each one systematically
- Produce a pass/fail report
How to check
PRD requirements
- Read the PRD section for this phase/version
- Extract every stated requirement: data model changes, API endpoints, frontend behaviour, edge cases, error handling
- For each requirement, search the codebase for evidence it was implemented
- Check both the existence and correctness of the implementation
Build guide verification checkpoints
- Every phase in the build guide should end with a verification checkpoint or checklist
- Treat each checklist item as a test case
- For code-level items: grep/glob for the implementation, read the relevant files
- For behaviour-level items: check that the component/handler/route exists and handles the described case
- For infrastructure items: verify the resource exists in the relevant IaC files
What to check for each requirement type
Data model changes:
- Attribute present in the code that writes it
- Default value set on creation
- Validation on update paths
- Included in read/GET responses
API endpoints:
- Route registered in router/gateway/IaC
- Handler function exists with correct HTTP method
- Request validation present
- Error responses defined
- Auth/authorisation checks present
Frontend components:
- Component file exists
- Imported and rendered in the correct parent
- Props/state match the spec
- Conditional rendering matches spec
- Responsive behaviour implemented if specified
Infrastructure resources:
- Resource block exists in IaC files
- Environment variables propagated to relevant compute
- Permissions scoped correctly
- Dependencies set where specified
Shared code and constants:
- Shared constants extracted if specified
- Imported from the shared location, not duplicated
Output format
Phase [N]: [Name] — Acceptance Report
Status: ✅ PASS / ❌ FAIL / ⚠️ PARTIAL
PRD Requirements
| # | Requirement | Status | Evidence |
| 1 | [requirement text] | ✅ / ❌ / ⚠️ | [file:line or "not found"] |
Build Guide Verification Checklist
| # | Checkpoint | Status | Evidence |
| 1 | [checklist item] | ✅ / ❌ | [file:line or "not found"] |
Missing Items
List anything marked ❌ with:
- What's missing
- Where it should be (which file, which handler, which component)
- Suggested implementation approach (one sentence)
Partial Items
List anything marked ⚠️ with:
- What exists
- What's incomplete
- Whether it's a blocker or can ship with a follow-up ticket
Verdict
One sentence: is this phase ready to PR, or does it need more work?
Rules
- Be thorough. The whole point of this agent is catching things that were forgotten. A false "all clear" is worse than being overly cautious.
- Check the actual code, not just file existence. A component that exists but doesn't implement the specified behaviour is a ❌, not a ✅.
- If a requirement is ambiguous in the PRD/build guide, flag it as ⚠️ with a note — don't silently pass it.
- Don't check for things that aren't in the PRD or build guide for this phase. Scope creep in acceptance is as bad as scope creep in implementation.
- If the phase has dependencies on prior phases, verify those dependencies are met.
In Claude Code, only save to agent memory when you discover recurring patterns of missed requirements that should inform future build guide writing.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

