From stdd-agents
Use when writing acceptance tests or adding scenarios to spec.yaml. Defines Given/When/Then format and acceptance test patterns.
How this skill is triggered — by the user, by Claude, or both
Slash command
/stdd-agents:acceptance-testThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill defines how to write acceptance tests and scenarios that validate end-to-end feature behavior.
This skill defines how to write acceptance tests and scenarios that validate end-to-end feature behavior.
Write acceptance tests when the feature requires end-to-end testing across multiple modules or external dependencies.
If the feature only involves isolated logic within a single module, use unit tests instead.
Scenarios live in the scenarios section of spec.yaml. Only add scenarios when the feature requires end-to-end testing with other modules. Ask the user if scenarios apply before adding them.
scenarios:
- name: Descriptive scenario name
given: Setup/preconditions
when: User action/trigger
then: Expected outcome/verification
Describe WHAT, not HOW:
Cover end-to-end flows:
Acceptance tests follow the Given/When/Then pattern from scenarios:
Each acceptance test should map to a scenario in spec.yaml.
Unit Tests:
test: unit in spec.yamlAcceptance Tests:
test: acceptance in spec.yamlIntegration Tests:
tests/ directory at project rootTest hierarchy: Default to unit tests. Use acceptance tests when you need end-to-end feature validation. Use integration tests sparingly for tactical external integration needs.
test: to-implement → test: acceptancecode: to-implement → code: donecode: to-implement → code: donenpx claudepluginhub craigtkhill/stdd-agents --plugin stdd-agentsGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.