Skip to content
SDD Orchestrator logo

SDD Orchestrator

Orchestrate Specification-Driven Development (SDD) workflow. Use when user wants to create features, implement specs, check workflow status, or follow the SDD process. Triggers on: "create feature", "implement", "what's the SDD status", "follow SDD", "spec-driven", "specification", "run /feature"...

mattnigh/skills_collection0installs24stars

SKILL.md

Full skill instructions

@.claude/​shared-imports/​constitution.md @.claude/​shared-imports/​CoD_Σ.md @.claude/​shared-imports/​master-todo-utils.md

SDD Orchestrator Skill

Purpose

This skill orchestrates the entire Specification-Driven Development workflow by:

  1. Auto-triggering on SDD-related user intents
  2. Invoking sdd-coordinator agent for prerequisite validation
  3. Routing to the correct phase command/​skill
  4. Updating plans/​todos after phase completion
  5. Integrating supporting skills based on feature type

Announce at start: "I'm using the SDD orchestrator skill to manage your development workflow."


Quick Reference

PhaseCommand/​SkillPrerequisitesOutput
1/​define-productRepositorymemory/​product.md
2/​generate-constitutionproduct.mdmemory/​constitution.md
3/​feature(optional) product.md, constitution.mdspecs/​$FEATURE/​spec.md
4/​clarifyspec.md with [NEEDS CLARIFICATION]Updated spec.md
5/​planspec.md (clarified)plan.md, research.md, data-model.md
6(auto)plan.mdtasks.md
7/​auditspec.md, plan.md, tasks.mdaudit-report.md
8/​implementtasks.md, audit PASSCode + tests

Workflow Files

  • @.claude/​skills/​sdd-orchestrator/​workflows/​detection.md - Intent pattern matching
  • @.claude/​skills/​sdd-orchestrator/​workflows/​prerequisite-check.md - Task tool invocation
  • @.claude/​skills/​sdd-orchestrator/​workflows/​phase-routing.md - Route to correct phase
  • @.claude/​skills/​sdd-orchestrator/​workflows/​post-phase-sync.md - Update plans/​todos

Step 1: Detect SDD Intent

See: @.claude/​skills/​sdd-orchestrator/​workflows/​detection.md

Pattern Matching:

Intent_Patterns := {
  feature_creation: ["create feature", "new feature", "build", "I want to", "/​feature"],
  implementation: ["implement", "code", "develop", "/​implement", "start coding"],
  audit: ["audit", "verify", "check", "/​audit", "validate"],
  planning: ["plan", "design", "/​plan", "architecture"],
  status: ["status", "progress", "what's next", "SDD status", "where am I"],
  foundation: ["define product", "/​define-product", "generate constitution", "/​generate-constitution"]
}

Detection Logic:

IF user_message ∩ Intent_Patterns ≠ ∅:
  intent := matched_category
  PROCEED to Step 2
ELSE:
  SKIP orchestration (not an SDD action)

Step 2: Invoke SDD Coordinator

See: @.claude/​skills/​sdd-orchestrator/​workflows/​prerequisite-check.md

Task Tool Invocation:

Task(
  subagent_type="sdd-coordinator",
  description="SDD prerequisite validation",
  prompt="""
    Check current SDD workflow status for this project.

    User intent: {detected_intent}
    Working directory: {cwd}

    Return JSON:
    {
      "current_phase": <1-8>,
      "prerequisites_met": <true|false>,
      "missing_artifacts": ["list of missing files"],
      "blocking_issues": ["list of blockers"],
      "recommended_action": "specific command or action",
      "reason": "explanation"
    }
  """
)

Response Handling:

IF prerequisites_met = true:
  PROCEED to Step 3 (routing)
ELIF missing_artifacts ≠ []:
  REPORT missing artifacts to user
  SUGGEST prerequisite steps
ELIF blocking_issues ≠ []:
  EXPLAIN blockers
  OFFER remediation options

Step 3: Route to Correct Phase

See: @.claude/​skills/​sdd-orchestrator/​workflows/​phase-routing.md

Routing Matrix:

IntentPrerequisites MetAction
feature_creationYesInvoke /​feature command
feature_creationNo (no product.md)Suggest /​define-product first
implementationYes (audit PASS)Invoke /​implement plan.md
implementationNo (audit FAIL)Show audit failures, suggest fixes
implementationNo (no tasks.md)Invoke /​tasks first
auditYesInvoke /​audit command
planningYesInvoke /​plan spec.md
statusN/​AReport current phase and next steps
foundationN/​AInvoke /​define-product or /​generate-constitution

Invocation Method:

SlashCommand(command="/​{phase_command} {args}")

Step 4: Post-Phase Sync

See: @.claude/​skills/​sdd-orchestrator/​workflows/​post-phase-sync.md

After EVERY phase completion:

4.1 Update plans/​master-plan.md

IF phase ∈ {feature_creation, planning}:
  Add spec reference to master plan
  Update phase status in YAML frontmatter

4.2 Update todos/​master-todo.md

IF phase = feature_creation:
  Add new feature entry to master todo
IF phase = implementation:
  Mark completed tasks with [x]
  Update progress summary

4.3 Log to event-stream.md

Append: "[{timestamp}] SDD: Phase {N} ({phase_name}) complete - {artifact_created}"

Step 5: Integrate Supporting Skills

Based on feature type detection:

Feature TypeSupporting SkillsWhen Invoked
Frontend/​UIshadcn, frontend-designDuring spec creation, implementation
Backend/​APIanalyze-codePre-implementation research
Testingtest-driven-developmentDuring implementation
Complex/​Uncleardiscovery-driven-planningBefore /​feature

Integration Method:

IF frontend_keywords ∈ spec.md:
  Load @.claude/​skills/​shadcn/​SKILL.md context
  Load @.claude/​skills/​frontend-design/​SKILL.md context

IF implementation_phase AND tests_required:
  Load test-driven-development patterns
  Ensure tests written before code

Error Handling

Common Errors and Recovery

ErrorDetectionRecovery
Missing spec.mdFile not found"Create specification first: /​feature"
Audit FAILaudit-report.md has CRITICAL"Fix issues before implementation"
[NEEDS CLARIFICATION]Marker in spec.md"Run /​clarify to resolve ambiguities"
No product.mdFile not found"Optional: /​define-product for aligned features"
Prerequisite cycleCoordinator returns BLOCKED"Manual intervention required"

Example Execution

User: "I want to create a new authentication feature"

Orchestrator Response:

I'm using the SDD orchestrator skill to manage your development workflow.

1. [DETECT] Intent: feature_creation (authentication)

2. [VALIDATE] Invoking sdd-coordinator...
   Result: {
     "current_phase": 3,
     "prerequisites_met": true,
     "recommended_action": "/​feature 'authentication with OAuth'"
   }

3. [ROUTE] Prerequisites met. Invoking /​feature command...

4. [POST-SYNC] After spec creation:
   - Added specs/​015-authentication/​spec.md reference to plans/​master-plan.md
   - Added feature entry to todos/​master-todo.md
   - Logged to event-stream.md

5. [INTEGRATE] Frontend keywords detected. Loading shadcn patterns...

Ready for next phase. Run /​implement when audit passes.

Dependencies

Agents:

  • sdd-coordinator - Prerequisite validation and workflow status

Skills:

  • define-product, generate-constitution, specify-feature
  • clarify-specification, create-implementation-plan, generate-tasks
  • implement-and-verify, analyze-code, debug-issues
  • shadcn, frontend-design, test-driven-development (supporting)

Commands:

  • /​feature, /​plan, /​tasks, /​audit, /​implement, /​verify

Configuration

Activation Patterns (for skill description tuning):

  • "create feature", "new feature", "build feature"
  • "implement", "start coding", "develop"
  • "SDD status", "workflow status", "what's next"
  • "follow SDD", "spec-driven", "specification"
  • "/​feature", "/​implement", "/​plan", "/​audit"

Reliability Target: 80%+ auto-activation on SDD-related messages


Skill Version: 1.1.0 Last Updated: 2025-12-12 Changelog:

  • v1.1.0 (2025-12-12): Added Glob to allowed-tools, foundation phases detection, auto-chain docs, status fallback
  • v1.0.0 (2025-12-11): Initial version - SDD workflow orchestration

More skills from mattnigh

spring-framework-patterns logo
mattnigh/skills_collection

spring-framework-patterns

Comprehensive Spring Framework and Spring Boot best practices including dependency injection patterns, bean lifecycle and scopes, REST API development, Spring Data JPA, service layer design, Spring Security, testing strategies, caching, AOP, async processing, error handling, and common anti-patte...

24 0
View

TypeScript厳格モードによる型安全性設計を専門とするスキル。 📖 参照書籍: - 『Effective TypeScript』(Dan Vanderkam): 型設計 📚 リソース参照: - `resources/Level1_basics.md`: レベル1の基礎ガイド - `resources/Level2_intermediate.md`: レベル2の実務ガイド - `resources/Level3_advanced.md`: レベル3の応用ガイド - `resources/Level4_expert.md`: レベル4の専門ガイド - `resources/di...

24 0
View
deploying-cloud-k8s logo
mattnigh/skills_collection

deploying-cloud-k8s

Deploys applications to cloud Kubernetes (AKS/GKE/DOKS) with CI/CD pipelines. Use when deploying to production, setting up GitHub Actions, troubleshooting deployments. Covers build-time vs runtime vars, architecture matching, and battle-tested debugging.

24 0
View
moai-alfred-agent-guide logo
mattnigh/skills_collection

moai-alfred-agent-guide

19-agent team structure, decision trees for agent selection, Haiku vs Sonnet model selection, and agent collaboration principles. Use when deciding which sub-agent to invoke, understanding team responsibilities, or learning multi-agent orchestration.

24 0
View
mermaid-diagram-generator logo
mattnigh/skills_collection

mermaid-diagram-generator

Converts architecture descriptions, module specs, or workflow docs into Mermaid diagrams. Use when visualizing brick module relationships, workflows (DDD, investigation), or system architecture. Supports: flowcharts, sequence diagrams, class diagrams, state machines, entity relationship diagrams,...

24 0
View
pre-flight-check logo
mattnigh/skills_collection

pre-flight-check

INVOKE FIRST before any code work. Validates git workflow (branch, issue, worklog) and checks approach. Use at START of every task and END before completing. Prevents skipped steps.

24 0
View
browser-dev-tools logo
mattnigh/skills_collection

browser-dev-tools

This skill should be used when working with browser-rendered artifacts (i.e. Bun, React/React Native) to proactively validate that development work on localhost is being built appropriately and to support debugging browser-rendered content. Use this skill after making frontend changes to verify t...

24 0
View
lead-dev logo
mattnigh/skills_collection

lead-dev

Lead Développeur - Coordination technique opérationnelle, code review, mentoring et livraison. Pair de web-dev-process au niveau OPÉRATIONS.

24 0
View
worker-monitor logo
mattnigh/skills_collection

worker-monitor

Monitor Docker workers, RQ queue health, and auto-scale workers (max 4). Use when: checking job progress, monitoring queue depth, scaling workers up/down, diagnosing slow processing, or waiting for jobs to complete. Referenced by data-quality skill during reprocessing.

24 0
View
quality-advisor logo
mattnigh/skills_collection

quality-advisor

Proactive quality guidance system that monitors artifact creation and provides real-time feedback on documentation quality

24 0
View
bump-version logo
mattnigh/skills_collection

bump-version

This skill should be used when the user wants to bump the version number in the workspace. It updates versions across all pyproject.toml files (root, tde, and tda packages) and the CHANGELOG.md to keep them synchronized.

24 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View