No slash command · from bdd
Applies BDD patterns with Given-When-Then structure, feature files, scenario outlines, and step definitions for writing acceptance tests and specifications.
Ships in bdd. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Master Behavior-Driven Development patterns to write clear, business-readable specifications that drive implementation.
The fundamental BDD pattern uses three parts:
Feature: User Authentication
Scenario: Successful login with valid credentials
Given a registered user with email "[email protected]"
And the user has password "secure123"
When the user submits the login form with correct credentials
Then the user should be redirected to the dashboard
And a session should be created
Feature: Shopping Cart
As a customer
I want to manage items in my cart
So that I can purchase products I'm interested in
Background:
Given I am logged in as a customer
And the product catalog is available
Scenario: Add item to empty cart
Given my cart is empty
When I add "Blue T-Shirt" to my cart
Then my cart should contain 1 item
And the cart total should be $29.99
Scenario: Remove item from cart
Given my cart contains "Blue T-Shirt"
When I remove "Blue T-Shirt" from my cart
Then my cart should be empty
Scenario Outline: Password validation
Given I am on the registration page
When I enter password "<password>"
Then I should see "<message>"
Examples:
| password | message |
| abc | Password too short |
| abcdefgh | Password needs a number |
| abcdefgh1 | Password accepted |
| abcdefgh1! | Password accepted |
# Ruby/Cucumber example
Given('a registered user with email {string}') do |email|
@user = User.create!(email: email, password: 'password123')
end
When('the user submits the login form with correct credentials') do
visit login_path
fill_in 'Email', with: @user.email
fill_in 'Password', with: 'password123'
click_button 'Log In'
end
Then('the user should be redirected to the dashboard') do
expect(page).to have_current_path(dashboard_path)
end
Use bdd-patterns when you need to:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
bdd, gherkin, cucumber, acceptance-testing, feature-files, scenario-outlines
npx claudepluginhub thebushidocollective/han --plugin bdd4 skills in this plugin
/bdd-collaborationUse when facilitating BDD collaboration between developers, testers, and business stakeholders. Use when running discovery workshops and example mapping sessions./bdd-principlesCore BDD concepts, philosophy, and the Three Amigos practice/bdd-scenariosUse when writing effective BDD scenarios including acceptance criteria, edge cases, and scenario organization. Use when defining behavior specifications.Other plugins' skills for the same job