skills/workflow/sdd-lifecycle/SKILL.md
Use when following the Specification-Driven Development lifecycle from plan through ship.
npx skillsauth add faysilalshareef/dotnet-ai-kit sdd-lifecycleInstall 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.
.dotnet-ai-kit/features/{NNN}/Phase 1: PLAN
Input: User requirement or feature request
Output: Feature brief with scope, affected services, acceptance criteria
Status: planned
Phase 2: SPEC
Input: Feature brief
Output: Technical specification with:
- Event data types and aggregate changes
- Query entity projections
- API endpoint definitions
- UI wireframe descriptions
Status: specified
Phase 3: IMPLEMENT
Input: Technical specification
Output: Working code across affected services
Status: implementing -> implemented
Phase 4: REVIEW
Input: Implemented code
Output: Review feedback, CodeRabbit analysis
Status: reviewing -> approved
Phase 5: SHIP
Input: Approved code
Output: Deployed to target environment
Status: shipped
.dotnet-ai-kit/
features/
001-order-creation/
brief.md # Phase 1: scope and requirements
spec.md # Phase 2: technical specification
status.json # Current phase and metadata
implementation-log.md # Phase 3: what was done
review-notes.md # Phase 4: review feedback
002-order-export/
brief.md
spec.md
status.json
{
"featureId": "001",
"name": "order-creation",
"phase": "implementing",
"createdAt": "2025-03-15T10:00:00Z",
"updatedAt": "2025-03-16T14:30:00Z",
"affectedServices": [
"{domain}-command",
"{domain}-query",
"{domain}-gateway"
],
"dependencies": [],
"assignedAgent": "command-architect"
}
1. Plan: Identify affected services (command, query, processor, gateway, CP)
2. Spec: Define events, queries, endpoints per service
3. Implement: Start with command side (events), then query, then gateway
4. Review: Review each service, verify cross-service integration
5. Ship: Deploy in dependency order (command first, then query, then gateway)
1. Plan: Identify affected layers (domain, application, infrastructure, API)
2. Spec: Define entities, commands/queries, endpoints
3. Implement: Start with domain, then application, then infrastructure
4. Review: Review full vertical slice
5. Ship: Single deployment
| Anti-Pattern | Correct Approach | |---|---| | Implementing without spec | Always write spec before code | | Skipping review phase | Every feature gets reviewed | | Not tracking status | Update status.json at each transition | | Single massive feature | Break into small, deployable increments |
# Find feature directory
find . -path "*/.dotnet-ai-kit/features/*" -name "status.json"
# Check current feature status
cat .dotnet-ai-kit/features/*/status.json 2>/dev/null
# Find existing specs
find . -path "*/.dotnet-ai-kit/features/*/spec.md"
.dotnet-ai-kit/features/ directory structurestatus.json when transitioning phasesThis skill depends on the always-on tool-calls convention rule:
The rule is loaded into context whenever this skill is active (FR-011 universal whitelist).
data-ai
Use when about to claim work is complete, fixed, passing, or ready — before committing, creating PRs, or moving to the next task. Requires running verification commands and confirming output before making any success claims.
development
Use when encountering any bug, test failure, build error, or unexpected behavior — before proposing fixes or making changes.
development
Use when checkpointing, wrapping up, or handing off an AI-assisted development session.
development
Use when receiving code review feedback from CodeRabbit, PR reviewers, or human reviewers — before implementing any suggested changes.