add-acceptance-test
Installation
SKILL.md
Add Acceptance Test
Always use the skill load-plain-reference to retrieve the ***plain syntax rules — but only if you haven't done so yet.
Workflow
- Identify the target
.plainfile and the functional spec to attach the acceptance test to. If ambiguous, ask the user. - Read the file to understand the functional spec, existing acceptance tests (if any), and the
***test reqs***section (acceptance tests are implemented according to test reqs). - Draft the acceptance test(s) following the rules below.
- Nest them under the target functional spec using a
***acceptance tests***subsection. - Read the file again to confirm correct placement, indentation, and syntax.
When to Add Acceptance Tests
- The functional spec's correct behavior is non-obvious or easily misinterpreted.
- The spec involves edge cases, boundary conditions, or specific numeric outcomes.
- The user explicitly requests verification criteria.
- The spec was added via the
add-functional-specskill and warrants testable success criteria.