wsbaser:bdd-scenarios

Generate deterministic Gherkin scenarios with Given/When/Then structure for test planning.

1|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/wsbaser/claude-plugins --skill wsbaser-bdd-scenarios
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wsbaser:bdd-scenarios
Source: https://github.com/wsbaser/claude-plugins/tree/main/plugins/wsbaser/skills/bdd-scenarios
Command: npx skills add https://github.com/wsbaser/claude-plugins --skill wsbaser-bdd-scenarios

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generates optimized Gherkin scenarios to guide test planning, ensuring critical paths, edge cases, and error handling are considered before writing test code.

Core Features & Use Cases

  • Produces concise Gherkin scenarios that cover critical paths, alternative flows, boundary conditions, and validation errors.
  • Supports planning for different feature angles, branching outcomes, and failure modes.
  • Triggered by phrases like write scenarios, plan tests, what to test, give me gherkin, or analyze a branch for test coverage.

Quick Start

Ask the system to generate Gherkin scenarios for the target feature or branch.

Frequently Asked Questions about wsbaser:bdd-scenarios

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

FAQPage Schema
How do I generate Gherkin scenarios for test planning?

Generate Gherkin scenarios by providing the target feature or branch details, and the system outputs deterministic Given/When/Then blocks covering critical paths, alternative flows, and validation errors. This structured test planning ensures edge cases and failure modes are considered before writing test code.

What Gherkin scenario structure is best for covering edge cases and validation errors?

The best Gherkin scenario structure for edge cases uses deterministic Given/When/Then blocks with clear scenario titles, organized to cover boundary conditions, alternative flows, and system or authorization errors. This approach ensures comprehensive feature planning and easy scenario reuse.

Can I plan BDD test scenarios before writing any test code?

Yes, you can plan BDD test scenarios before writing code by generating optimized Gherkin blocks during feature planning. This process identifies critical paths, branching outcomes, and failure modes early, delivering clear Given/When/Then structures to guide subsequent test automation.

What's the best way to cover alternative flows and failure modes in Gherkin?

The best way to cover alternative flows and failure modes in Gherkin is generating deterministic scenarios that target boundary conditions, validation errors, and system errors. Using optimized Given/When/Then blocks with clear titles ensures all branching outcomes are documented during feature planning.

Does this approach support analyzing a branch for test coverage using Gherkin?

Yes, this approach supports analyzing a branch for test coverage by generating Gherkin scenarios that map critical paths and error handling. Triggering the analysis provides deterministic Given/When/Then blocks covering validation and authorization errors specific to the target branch.