From Superpowers
Applies behavior-driven development principles including Gherkin scenarios and test-driven development. This skill should be used when the user asks to implement features, fix bugs, or when writing executable specifications and tests before writing production code.
How this skill is triggered — by the user, by Claude, or both
Slash command
/superpowers:behavior-driven-developmentThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill provides a comprehensive guide to applying Behavior-Driven Development principles to your coding tasks. BDD is not just about tools; it's a methodology for shared understanding and high-quality implementation.
This skill provides a comprehensive guide to applying Behavior-Driven Development principles to your coding tasks. BDD is not just about tools; it's a methodology for shared understanding and high-quality implementation.
When the user asks for a feature, bug fix, or refactor, apply the following mindset:
The process flows from requirements to code:
See ./references/bdd-best-practices.md for a detailed guide.
Scenarios are your "Executable Specifications".
bdd-specs.md as the planning-stage scenario inventory in the superpowers workflow. During brainstorming and plan writing, keep the reviewed Given/When/Then scenarios in docs/plans/.../bdd-specs.md so design review, task decomposition, and sprint contracts all read from the same source..feature files or the framework-native executable test format. bdd-specs.md is for design and planning; .feature files are for automation and living documentation.See ./references/gherkin-guide.md for syntax and storage structure.
The engine of implementation:
"No production code is written without a failing test first."
The Red step MUST verify the test fails for the right reason (run the test and read the failure output) before writing any implementation. Skipping or rationalizing this step produces:
./references/bdd-best-practices.md - BDD methodology, discovery, formulation, and automation./references/gherkin-guide.md - Gherkin scenario syntax, storage structure, and examplesnpx claudepluginhub est7/dotclaude --plugin superpowersCreates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.