Claude BDD — Testing skill for Claude Code
Claude Code plugin for Behavior-Driven Development (BDD): Example Mapping discovery, Gherkin feature files as living documentation, and test generation with Cucumber, pytest-bdd or plain tests.
How to install Claude BDD
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open IcaruzSoftware/claude-bdd and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude BDD does
Claude Code plugin for Behavior-Driven Development (BDD): Example Mapping discovery, Gherkin feature files as living documentation, and test generation with Cucumber, pytest-bdd or plain tests. Turn rough ideas or untested legacy code into confirmed business rules, then into executable specs.
Alternatives in Testing
- Gsd To Autoforge Spec — Convert GSD codebase mapping to AutoForge app_spec.txt 1.8k ★
- Add Example Test App — Add a new example app or test app to the GT monorepo 1.1k ★
- Loki Spec Status — Check whether the spec has drifted from its lock using Loki's living-spec drift detection, and summarize the r 1.1k ★
README
claude-bdd: Behavior-Driven Development (BDD) for Claude Code
Claude Code plugin for Behavior-Driven Development (BDD): Example Mapping discovery, Gherkin feature files as living documentation, and test generation with Cucumber, pytest-bdd or plain tests.
You turn a rough idea or untested code into confirmed business rules, then Gherkin specs, then tests, so that code and tests both follow the intent instead of each other. The three stages run strictly in order, and each starts only when you ask for it.
Install the Claude Code BDD plugin
/plugin marketplace add IcaruzSoftware/claude-bdd
/plugin install bdd@claude-bdd
Skills: Example Mapping, Gherkin and tests
| Skill | What it does |
|---|---|
/bdd:discover |
Example Mapping in writing: a Markdown scratchpad of rules, examples and questions that you correct until nothing is open. |
/bdd:formulate |
Turns the finished scratchpad into one Gherkin .feature file, then deletes the scratchpad after asking. |
/bdd:automate |
Turns the feature file into tests: Cucumber-style step definitions for your BDD runner, or plain tests. |
The plugin's own behaviour is specified the same way, in [`features/`](features/) (dogfooding). A real scratchpad is kept in [`docs/discovery/`](docs/discovery/).
Worked example: from Example Mapping to Gherkin to a pytest-bdd test
Coaches lead groups of athletes and plan workouts for them. `/bdd:discover` writes a scratchpad:
### R2 ? Coaches see only their group's workouts
Source: `src/workouts/api.py:40`
- ⚠ code probably deviates: `src/workouts/api.py:61` (detail does not filter by group)
- B2.1 The one where coach Anna opens Carl's workout from group B → not found
You answer, discover folds it in, and `/bdd:formulate` writes `features/workouts.feature`:
Feature: Workouts
@R2
Rule: Coaches see only their group's workouts
@B2.1
Example: Anna opens a workout from another group
Given coach Anna leads group
Related Skills
BDD Init
Создать .bdd-config.yaml + feature-директории в текущем репо. Автодетект стека. Usage — /bdd-init --stack pyt
Spec Flow
A Claude Code skill for structured, spec-driven development with phase-by-phase workflow and living documentat
Agent Docs Spec
A specification for making documentation sites accessible to AI coding agents: discovery, truncation limits, c
Gemini CLI Skill
🚀 Enhance Claude Code with Gemini CLI for better code generation, reviews, testing, documentation, and archit
QA Ticket Generator
GitHub Action that cross-checks PR diffs against linked PRDs (GitHub Issues, Jira, Notion) with Claude and pub
Metadata Extractor
Scaffold a custom Alfresco metadata extractor/embedder (extending AbstractMappingMetadataExtracter) with a pro
Related Agents
QA Cucumber
BDD automation agent. Extracts Gherkin from docs/stories/ into tests/features/, generates step definition stub
BDD Specialist
BDD specialist for Gherkin scenarios and acceptance tests. Turns user stories and acceptance criteria into Fea
BDD Harness Runner
Use PROACTIVELY as fourth stage of BDD automation (after step definitions exist) and inside the outside-in red