bdd-behave-expert

Generate behave step definitions from Gherkin scenarios using spec-weaver.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires spec-weaver, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the creation and maintenance of Behavior-Driven Development (BDD) tests using Gherkin and the Python behave framework, ensuring your tests accurately reflect specifications and highlight implementation deviations.

Core Features & Use Cases

  • Specification-Driven Testing: Write tests that directly map to Gherkin feature files and behave step definitions.
  • Automated Scaffold Generation: Use spec-weaver scaffold to generate boilerplate step definitions, reducing manual setup.
  • Traceability: Link tests to requirements (REQ) and specifications (SPEC) using spec-weaver trace and Doorstop tags.
  • Use Case: When developing a new feature, use this Skill to automatically generate behave step definitions from your Gherkin scenarios, ensuring your tests are always aligned with the latest specifications and immediately flag any implementation bugs.

Quick Start

Use the bdd-behave-expert skill to generate step definitions for your feature files.

Frequently Asked Questions about bdd-behave-expert

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

FAQPage Schema
How do I generate behave step definitions from Gherkin feature files?

To generate behave step definitions from Gherkin feature files, use the `spec-weaver scaffold` command to automatically create boilerplate step definitions, ensuring your tests map directly to your Gherkin scenarios.

What is the best way to trace requirements in Python behave tests?

The best way to trace requirements in Python behave tests is using `spec-weaver trace` and Doorstop tags to link tests to requirements and specifications, ensuring specification adherence and highlighting implementation deviations.

Does bdd-behave-expert separate Gherkin scenarios from business logic?

Yes, bdd-behave-expert enforces a strict separation of concerns between Gherkin feature files, behave step definitions, and business logic, prioritizing specification adherence over implementation convenience.

How do I maintain BDD tests when specifications change?

To maintain BDD tests when specifications change, this approach automatically generates behave step definitions from your updated Gherkin scenarios, ensuring tests accurately reflect specifications and immediately flag implementation bugs.

Do I need spec-weaver to use behave for BDD testing?

While you can use behave independently, spec-weaver is required for automated scaffold generation and traceability, linking behave tests to requirements and specifications to highlight implementation deviations.