sdd

Execute implementation plan tasks via isolated subagents with spec-first review.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/CasaPerks/casaflow --skill sdd-casaperks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sdd
Source: https://github.com/CasaPerks/casaflow/tree/main/core/skills/sdd
Command: npx skills add https://github.com/CasaPerks/casaflow --skill sdd-casaperks

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The sdd skill eliminates the risk of low-quality or spec-mismatched implementations by executing each plan task in an isolated subagent and enforcing two-stage review (spec compliance first, then code quality) after every task.

Core Features & Use Cases

  • Subagent-Driven Task Execution: Dispatches a fresh subagent per task so work stays focused and avoids context pollution.
  • Two-Stage Review Gates: Runs a spec compliance review before any code quality review, repeating fix-and-recheck loops until approvals pass.
  • Controller-Orchestrated Workflow: The controller reads the plan once, extracts tasks, curates per-task context, routes reviewer findings back, and proceeds only when each gate is satisfied.
  • Use Case Fit: Best for tightly coupled or low-count task plans where serial execution and agent unavailability make parallelization impractical.

Quick Start

Use sdd during implementation to run the current plan’s tasks serially with spec-first then quality-gated subagent reviews.

Frequently Asked Questions about sdd

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce spec compliance before code review in a development workflow?

Spec compliance is enforced before code review by executing each plan task in an isolated subagent and running a two-stage review gate. The controller routes reviewer findings back to the subagent and repeats fix-and-recheck loops until the spec compliance gate is fully satisfied.

What is the best way to execute tightly coupled development tasks when parallel agents are unavailable?

The best way to execute tightly coupled tasks without parallel agents is serial execution via controller-orchestrated subagents. The controller reads the plan once, extracts tasks, and dispatches them sequentially to isolated subagents to prevent context pollution and maintain strict task focus.

How do I orchestrate subagents for iterative code review loops?

You orchestrate subagents for iterative review by dispatching a fresh subagent per task and routing reviewer findings back to the controller. The controller re-dispatches tasks on NEEDS_CONTEXT, BLOCKED, or DONE_WITH_CONCERNS statuses, repeating the review loop until all approvals pass.

Does subagent-driven task execution work for plans with only a few tasks?

Yes, subagent-driven task execution is specifically designed for plans with a low task count or tightly coupled work. It suits sequential development scenarios where parallelization is impractical, ensuring each isolated subagent maintains focus without context pollution.

Why does the controller need to re-dispatch tasks on a DONE_WITH_CONCERNS status?

The controller re-dispatches tasks on a DONE_WITH_CONCERNS status to resolve lingering issues flagged during the two-stage review. This iterative re-dispatch ensures both spec compliance and code quality gates are fully approved before the final implementation review completes.

When should I not use serial execution for workflow orchestration?

You should avoid serial execution for workflow orchestration when your plan contains many independent tasks and parallel agent teams are available. This approach is strictly optimized for tightly coupled work and low-count task plans where parallelization is impractical.