acceptance-validation
Validates implemented code against the acceptance criteria established during intake. Use this skill after implementation is complete to systematically verify each acceptance criterion, run the full test suite, and produce a validation report. Trigger when the orchestrator reaches the validation phase, or when the user asks to verify that an implementation meets the original requirements.
- License 许可
- MIT
- 最近更新
- 2026-04-20
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- acceptance-validation
- description
- Validates implemented code against the acceptance criteria established during intake. Use this skill after implementation is complete to systematically verify each acceptance criterion, run the full test suite, and produce a validation report. Trigger when the orchestrator reaches the validation phase, or when the user asks to verify that an implementation meets the original requirements.
02 资源文件 1
- 参考文档references/validation-report-template.md1.0 KB
03 SKILL.md 正文
Acceptance Validation
You systematically verify that implemented code meets every acceptance criterion from the intake phase. You are the gate between "code is written" and "code is ready to ship."
Process
1. Load Acceptance Criteria
Retrieve the acceptance criteria list from the intake phase output. Each AC has:
id: AC1, AC2, etc.text: The criterion textstatus: Should be "pending" at this point
2. Verify Each Criterion
For each acceptance criterion, determine the best verification method and execute it:
Verification methods (in order of preference):
-
Test output — A specific test exists that validates this AC. Run the test and check it passes.
- Search test files for test names or assertions that match the AC
- Run the specific test(s) and capture output
- Evidence: test name, pass/fail, relevant assertion
-
Code inspection — The AC can be verified by examining the code directly.
- Read the relevant source files
- Verify the implementation matches the criterion
- Evidence: file path, line numbers, what was verified
-
Runtime check — The AC requires running the application or a script to verify.
- Run the appropriate validation script or command
- Capture and examine the output
- Evidence: command run, output received, how it maps to the AC
-
Manual verification — The AC cannot be verified automatically (e.g., "UI looks correct").
- Flag as requiring manual verification
- Describe what the human should check
- Evidence: "Requires manual verification — [what to check]"
3. Run Full Test Suite
After individual AC verification:
- Run the project's full test suite
- Capture: total tests, passed, failed, skipped
- If any tests fail, report them with details
If the project has validation scripts (e.g., scripts/validate_*.py), run those too.
4. Produce Validation Report
Output format (see references/validation-report-template.md):
## Validation Report
### Acceptance Criteria Status
| AC | Criterion | Status | Method | Evidence |
|----|-----------|--------|--------|----------|
| AC1 | {text} | Pass | Test | test_name::test_method |
| AC2 | {text} | Pass | Code inspection | file.py:45-52 |
| AC3 | {text} | Fail | Test | test_name — AssertionError |
### Test Suite Results
- Total: {N}
- Passed: {N}
- Failed: {N}
- Skipped: {N}
### Overall Verdict
{PASS — all ACs met and tests passing / FAIL — [list what failed]}
Handling Failures
If an acceptance criterion fails:
- Report exactly what failed and why
- Include the evidence (error message, assertion failure, unexpected output)
- Do NOT attempt to fix the code — that's the implementation phase's job
- If the failure suggests the AC itself is wrong (impossible to meet), flag it
If tests fail:
- Report the failing test names and error messages
- Distinguish between: tests related to current changes vs. pre-existing failures
- If pre-existing failures exist, note them separately
Output
Produce a PhaseOutput per contracts/phase-output-schema.md:
phase_name: "validate"status: "completed" (even if some ACs failed — the validation itself completed)summary: "{N}/{total} acceptance criteria passed. {test_count} tests passing."acceptance_criteria: Updated list with status changed from "pending" to "pass" or "fail", evidence populatedmetadata: {test_total, test_passed, test_failed, validation_scripts_run}approval_needed: truenext_phase: "ship" (if all pass) or report failure for human decision
04 同仓库更多 Skills
extra-role
A custom project-specific role for testing
compliance-review
Ensures regulatory compliance for financial services
extra-role
A custom role missing applies_to for testing
testing-conventions
Enforces testing standards when writing unit tests, integration tests, or agent evaluation tests. Covers test directory structure, naming conventions, fixture and setup patterns, mocking strategy, async testing, coverage requirements, and LLM-as-judge evaluation. Language-specific conventions (Python/pytest, Java/JUnit, C#/xUnit, React/Vitest) are loaded from bundled reference packs. Use this skill when writing tests, creating test files, setting up fixtures, mocking services, or reviewing test code for standards compliance.
shipping
Shipping workflow for platform services. Use this skill when creating pull requests, pushing code for review, updating Jira tickets to reflect PR status, or completing the ship cycle for a feature or bugfix. Trigger this skill when the user says things like "open a PR," "create a pull request," "ship this," "push for review," "update the ticket," "mark this as ready for review," or "I'm done with this feature" — even if they don't explicitly say "shipping." Also trigger when the user wants to transition a Jira ticket status after code changes are ready.
security-standards
Enforces security standards when writing or reviewing code that handles authentication, secrets, sensitive data, API boundaries, or compliance concerns. Covers secrets manager integration, encryption at rest and in transit, IAM authentication and least-privilege authorization, OWASP Top 10 secure coding (including prompt injection), dependency vulnerability management, API security (auth, validation, rate limiting), PII and sensitive data protection in logs and traces, and regulatory compliance (CCPA/GDPR). Use this skill when adding endpoints, handling user data, managing secrets, reviewing for vulnerabilities, configuring auth, working with LLM prompts that accept user input, setting up deployment security, or assessing compliance. Also use when DAST findings need remediation.