Complete Behavior-Driven Development workflow coordinating SCENARIO → STEP DEFINITIONS → IMPLEMENT → REFACTOR cycle with Given/When/Then scenarios. Use when writing BDD tests or implementing features from user stories.
/plugin marketplace add foolishimp/ai_sdlc_method/plugin install aisdlc-methodology@aisdlcThis skill is limited to using the following tools:
Skill Type: Orchestrator (BDD Workflow) Purpose: Coordinate complete BDD cycle with Given/When/Then scenarios Prerequisites:
You are orchestrating the complete Behavior-Driven Development (BDD) workflow.
Your goal is to implement a requirement using Given/When/Then scenarios in pure business language while maintaining requirement traceability.
Before starting BDD, verify:
If prerequisites missing:
requirement-extraction skillInvoke: write-scenario skill
Purpose: Write behavior scenarios in business language
What write-scenario does:
features/authentication.feature)Success Criteria: Scenarios written in business language
Invoke: implement-step-definitions skill
Purpose: Translate Given/When/Then into executable test code
What implement-step-definitions does:
steps/authentication_steps.py)Success Criteria: Step definitions exist, scenarios fail
Invoke: implement-feature skill
Purpose: Implement feature to make scenarios pass
What implement-feature does:
src/auth/authentication.py)Success Criteria: Scenarios PASS
Invoke: refactor-bdd skill
Purpose: Improve code quality and eliminate technical debt
What refactor-bdd does:
Success Criteria: Scenarios still PASS, tech debt = 0
When you complete the BDD workflow, show:
[BDD Workflow: <REQ-ID>]
✅ Phase 0: Prerequisites
✓ Requirement: <REQ-ID> (User login)
✓ BDD Framework: behave (Python)
✓ Git repository: initialized
✓ Working tree: clean
✅ Phase 1: SCENARIO (Write Given/When/Then)
✓ Created: features/authentication.feature (3 scenarios)
✓ Business language ✓ (no technical jargon)
✓ Commit: SCENARIO: Add scenarios for <REQ-ID>
✅ Phase 2: STEP DEFINITIONS (Implement Test Code)
✓ Created: steps/authentication_steps.py (12 step definitions)
✓ Scenarios running... FAILED ✓ (expected - no implementation)
✓ Commit: STEP DEF: Add step definitions for <REQ-ID>
✅ Phase 3: IMPLEMENT (Make Scenarios Pass)
✓ Created: src/auth/authentication.py
✓ Implemented: login() function
✓ Scenarios running... PASSED ✓
✓ Commit: IMPLEMENT: Implement <REQ-ID>
✅ Phase 4: REFACTOR (Improve Quality)
Code Quality Improvements:
✓ Added type hints
✓ Improved step definition reusability
Tech Debt Pruning:
✓ Deleted 1 unused import
✓ Simplified step definition logic
✓ Scenarios still PASSING ✓
✓ Commit: REFACTOR: Clean up <REQ-ID>
🎉 BDD Workflow Complete!
Files: 3 files (authentication.feature, authentication_steps.py, authentication.py)
Scenarios: 3 scenarios, all passing
Step Definitions: 12 steps
Traceability: <REQ-ID> → commit xyz789
If prerequisites not met:
requirement-extraction skillIf scenarios fail in IMPLEMENT phase:
If tech debt detected in REFACTOR phase:
prune-unused-code, simplify-complex-codeBefore invoking this skill, ensure:
If prerequisites not met:
requirement-extraction skillThis orchestrator skill invokes:
write-scenario - Write Given/When/Then scenariosimplement-step-definitions - Implement step definitionsimplement-feature - Implement feature coderefactor-bdd - Refactor and eliminate tech debtdetect-unused-code - (via refactor-bdd) Detect tech debtprune-unused-code - (via refactor-bdd) Eliminate tech debtThis skill respects configuration in .claude/plugins.yml:
plugins:
- name: "@aisdlc/code-skills"
config:
bdd:
gherkin_style: "cucumber" # cucumber | behave
require_scenarios_for_requirements: true
scenario_language: "en" # Gherkin language
include_backgrounds: true # Use Background sections
When to use BDD:
When to use TDD:
Both can coexist: Use BDD for acceptance tests, TDD for unit tests.
After BDD workflow completes:
bdd-workflow for next REQ-*)Why BDD workflow?
BDD complements TDD:
BDD: High-level behavior (user perspective)
↓ validates
TDD: Low-level implementation (developer perspective)
Homeostasis Goal:
desired_state:
scenarios_in_business_language: true
scenarios_passing: true
tech_debt: 0
requirement_traceability: complete
"Excellence or nothing" 🔥
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.