بنقرة واحدة
sdd-lifecycle
Use when following the Specification-Driven Development lifecycle from plan through ship.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Use when following the Specification-Driven Development lifecycle from plan through ship.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use when designing gRPC services, proto files, or adding gRPC-Web or JSON transcoding.
Use when writing async code, propagating CancellationTokens, or fixing async/await pitfalls.
Use when applying or enforcing C# coding style — namespaces, sealed classes, var usage, XML docs.
Use when applying modern C# idioms — records, pattern matching, primary constructors, collection expressions.
Use when registering services, choosing lifetimes, or implementing DI patterns like decorator or keyed services.
Use when selecting or implementing design patterns in C# — factory, builder, strategy, decorator, or mediator.
| name | sdd-lifecycle |
| description | Use when following the Specification-Driven Development lifecycle from plan through ship. |
| metadata | {"category":"workflow","agent":"dotnet-architect"} |
| when_to_use | When following Specification-Driven Development lifecycle phases |
.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).