bdd-scenarios

Generate Gherkin Given-When-Then BDD scenarios with acceptance criteria and edge cases.

187|20|Updated Nov 20, 2025
One-click install
npx skills add https://github.com/TheBushidoCollective/han --skill bdd-scenarios
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bdd-scenarios
Source: https://github.com/TheBushidoCollective/han/tree/main/jutsu/jutsu-bdd/skills/bdd-scenarios
Command: npx skills add https://github.com/TheBushidoCollective/han --skill bdd-scenarios

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Write clear, maintainable BDD scenarios that capture business requirements and drive implementation.

Core Features & Use Cases

  • Specific, declarative scenarios in Gherkin
  • Structured Acceptance Criteria formats
  • Edge-case coverage and scenario organization

Quick Start

Write a loyalty-discount scenario in a .feature file with Given/When/Then steps and place it alongside related feature specs.

Frequently Asked Questions about bdd-scenarios

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write BDD scenarios in Gherkin format?

BDD scenarios in Gherkin use Given-When-Then steps to express acceptance criteria in business language. Given sets up the initial state, When describes the action, and Then asserts the expected outcome. Each scenario should be independent, declarative, and 3-7 steps long to remain maintainable and testable.

What's the best way to structure acceptance criteria for testing?

Structure acceptance criteria as clear, scenario-based Given-When-Then statements that capture both happy paths and edge cases. This declarative format ensures testers and developers share a common understanding of requirements and enables automated test coverage across all behavior specifications.

How do I organize BDD scenarios for better coverage?

Group related scenarios by feature, keep each scenario focused on a single behavior, and systematically cover edge cases alongside primary workflows. Consistent organization and domain-specific terminology across scenarios make specifications easier to maintain and catch gaps in acceptance criteria.

Can I use BDD scenarios to drive implementation in Agile projects?

Yes. BDD scenarios written before implementation serve as executable specifications that guide development. They define what behavior to build, reduce ambiguity in requirements, and provide immediate test coverage once implementation matches the scenario steps.

What are the limitations of keeping scenarios concise?

Scenarios limited to 3-7 steps must stay focused on a single behavior, which prevents scenarios from becoming overly complex or covering multiple concerns. This constraint improves readability and maintainability but requires breaking larger workflows into independent, composable scenarios.

How do I ensure BDD scenarios stay maintainable over time?

Use consistent domain language, keep scenarios independent so changes to one don't cascade, and enforce declarative business-focused language rather than technical implementation details. Regular review and refactoring of acceptance criteria prevent scenarios from becoming brittle as requirements evolve.