BDD

Teaches behavior-driven development through Given/When/Then scenarios translated into executable tests.

2|Updated Jun 1, 2026
One-click install
npx skills add https://github.com/jay-steenbergen/MSSAMentorAgent --skill bdd-jay-steenbergen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: BDD
Source: https://github.com/jay-steenbergen/MSSAMentorAgent/tree/main/.github/skills/methods/BDD
Command: npx skills add https://github.com/jay-steenbergen/MSSAMentorAgent --skill bdd-jay-steenbergen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Learners often jump straight into code without defining the user behavior they need to build, leading to scope creep and mismatched expectations. This Skill provides a structured teaching protocol for Behavior-Driven Development so mentors can guide learners to describe behavior first, then test and implement against it. ## Core Features & Use Cases - Scenario-First Workflow: Guides learners through the BDD cycle of Scenario, Test, Implement, and Validate using plain-language Given/When/Then format. - Proficiency-Adaptive Coaching: Adjusts mentor behavior across Novice, Familiar, Competent, and Proficient levels, with defined progression signals recorded in progress files. - Planning Overlay: Reframes planning beats (restate-brief, identify-user) in BDD vocabulary, making actor identification mandatory. - Use Case: A mentor helping a learner build a login feature uses this Skill to have the learner write a Given/When/Then scenario, translate it into a failing test, implement the minimal code to pass, and manually validate the user experience. ## Quick Start Ask the mentor to teach you behavior-driven development using the BDD method for your next user-facing feature.

Frequently Asked Questions about BDD

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

FAQPage Schema
How do I write Given/When/Then scenarios for a feature?

Start by describing what the user does conversationally, then format it line by line: Given states the initial context, When describes the user action, and Then states the expected outcome. Keep each scenario focused on a single behavior in plain language.

When should I use BDD instead of TDD?

Use BDD when building user-facing features with a clear actor, such as login or checkout flows, especially when requirements come as user stories. Use TDD instead for low-level utilities with no user, and spike-then-refactor when exploring unknowns.

How does the BDD cycle turn scenarios into tests?

Each scenario line maps to test code: Given becomes setup, When becomes the action, and Then becomes assertions. The test must fail first because the behavior does not exist yet, then implementation makes it pass.

What are common BDD anti-patterns to avoid?

Common anti-patterns include writing code before the scenario, using technical jargon instead of plain language, testing implementation details rather than behavior, letting scenarios and tests drift out of sync, and skipping manual validation of the user experience.

How is BDD proficiency tracked across sessions?

Proficiency is assessed at session start across four levels: Novice, Familiar, Competent, and Proficient. At session end, progression signals are reviewed and the updated level is recorded in the progress file under method_proficiency.BDD with the date.