refactor-bdd
CommunityRefine BDD artifacts, eliminate tech debt.
Software Engineering#code quality#automation#refactoring#technical debt#SDLC#BDD#gherkin#step definitions
Authorfoolishimp
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Over time, BDD scenarios, step definitions, and feature code can accumulate technical debt, reducing clarity and maintainability, even if scenarios still pass.
Core Features & Use Cases
- Multi-Layer Refactoring: Improves quality across Gherkin scenarios, step definitions, and the underlying feature implementation.
- Tech Debt Pruning: Actively removes unused steps, simplifies complex logic, and eliminates duplication, enforcing "No Legacy Baggage."
- Scenario Integrity: Ensures all BDD scenarios continue to pass after refactoring, maintaining behavioral correctness.
- Use Case: After implementing a feature and making all BDD scenarios pass, invoke this skill to refactor the Gherkin files (e.g., using Backgrounds), optimize step definitions for reusability, and clean up the feature code, all while verifying scenarios remain green.
Quick Start
Refactor the BDD implementation for REQ-ID 'UserLogin', including scenarios in 'authentication.feature' and step definitions, ensuring all scenarios still pass.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: refactor-bdd Download link: https://github.com/foolishimp/ai_sdlc_method/archive/main.zip#refactor-bdd Please download this .zip file, extract it, and install it in the .claude/skills/ directory.