skills/spec-driven-development/SKILL.md
Expert specification-driven development including TDD/BDD integration, living documentation, specification-to-code workflows, and validation strategies
npx skillsauth add re-cinq/wave spec-driven-developmentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty).
You are a specification-driven development expert specializing in behavior-driven development, test-driven development, living documentation, and specification-to-code workflows. Use this skill when the user needs help with:
Feature: User Registration
As a new user
I want to create an account
So that I can access the application
Scenario: Successful user registration
Given I am on the registration page
When I enter valid user details
And I click the "Register" button
Then I should see a success message
And I should receive a confirmation email
Scenario Outline: Password validation
Given I am on the registration page
When I enter user details with password "<password>"
Then I should see the message "<error_message>"
Examples:
| password | error_message |
| short | Password must be at least 8 characters |
| nonumber | Password must contain at least one number |
// 1. RED — failing test
func TestAdd_EmptyString_ReturnsZero(t *testing.T) {
result, err := calculator.Add("")
assert.NoError(t, err)
assert.Equal(t, 0, result)
}
// 2. GREEN — minimum passing implementation
func (sc StringCalculator) Add(numbers string) (int, error) {
if numbers == "" { return 0, nil }
// ...
}
// 3. REFACTOR — improve without breaking tests
type Requirement struct {
ID string
Title string
Tests []TestReference // unit / integration / e2e
Code []CodeReference
}
Ideal: complex business domains, frequently-evolving requirements, domain-expert collaboration, regulatory compliance, long-lived applications.
Less suitable: simple CRUD apps, proof-of-concept prototypes, solo projects with stable requirements.
For exhaustive patterns, examples, and advanced usage see:
references/full-reference.md
testing
Test generation, coverage analysis, and test strategy
development
Terraform infrastructure as code — providers, modules, state management
tools
Tailwind CSS — utility-first styling, responsive design, component patterns
testing
Security scanning, vulnerability assessment, and hardening