implement-design
Uses agents to implement design documents by coordinating parallel work streams.
Install
mkdir -p .claude/skills/implement-design-kevounc && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18185" && unzip -o skill.zip -d .claude/skills/implement-design-kevounc && rm skill.zipInstalls to .claude/skills/implement-design-kevounc
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Orchestrate implementation of a design document by spawning Sonnet task agents. Reads an existing design doc, grounds in the codebase, then delegates implementation to parallel agents. Use when a design doc exists in a board's design/ directory and items are in the Implement lane, or the user says "implement this design", "build from the design doc", "start implementation". Requires a completed design document.Key capabilities
- →Read an existing design document
- →Ground understanding in the codebase context
- →Spawn Sonnet-model agents to implement work
- →Identify discrepancies between design and actual repo
- →Plan the split of design into agent tasks
- →Track progress using task tools
How it works
The skill orchestrates implementation by reading a design document, grounding itself in the codebase, and then delegating specific tasks to Sonnet-model agents, while tracking progress.
Inputs & outputs
When to use implement-design
- →Implementing feature designs
- →Building from design documents
- →Orchestrating design-to-code tasks
About this skill
implement-design — Implementation Orchestrator
You are an Opus orchestrator. Your job is to read a design document, understand the codebase context, then spawn Sonnet-model agents to implement the work. You do NOT write code yourself — you craft precise prompts and delegate.
Context
- Design document: $ARGUMENTS
Project Discovery
Before starting, resolve the project context from the board:
- Resolve the target board using auto-detection rules in
board-pipelines.md. - Read the board's
BOARD.mdfrontmatter to extractproject:field. - If
project:exists, read{project}/CLAUDE.mdto understand the project's stack, conventions, build commands, and coding patterns. - Look for an
## Agent Commandssection in the project's CLAUDE.md — this provides reliable build/test/migrate commands for verification steps. If not found, infer commands from the CLAUDE.md prose or project structure (package.json, Makefile, etc.). - Look for project-specific patterns at
{project}/.claude/skills/— read any relevant pattern files. - If no
project:field, work without project-specific context.
You MUST read these files before starting
- Design document — the target above (REQUIRED). If it's a file path, read it. Otherwise, look in
docs/design/,docs/, or project root. If not found, ask the user.
Board convention: For board work, design docs live at
{board-path}/design/{phase-kebab-name}.md. If$ARGUMENTSis a board directory rather than a file, look there first.
- Project CLAUDE.md — project conventions, commands, patterns, project structure (resolved via Project Discovery)
- Project principles — look for design and implementation principles in
{project}/.claude/skills/(e.g.,*-design-principles,*-implementation-principles). If found, read and apply them. If not, work from the project's CLAUDE.md conventions. - Pattern files — if the project has documented patterns (e.g.,
{project}/.claude/rules/,{project}/.claude/skills/patterns/), read them - Referenced spec/architecture docs — if the design references other docs, read the relevant sections
Progress Tracking
Use the task tools to track your progress throughout this workflow:
- At the start, create tasks for each major workflow step using TaskCreate
- Mark each task as
in_progresswhen you begin working on it using TaskUpdate - Mark each task as
completedwhen you finish it using TaskUpdate
Workflow
Phase 0: Resolve Target Board
Resolve the target board using the auto-detection rules in board-pipelines.md.
Phase 1: Ground Yourself (CRITICAL — do not rush this)
You cannot craft good agent prompts without deep understanding. Before spawning any agent, you MUST ground yourself in three layers: the design, the project docs, and the actual code.
1a. Read the design document thoroughly
Read every unit — understand the full scope, dependencies between units, and the implementation order.
1b. Read project documentation and principles
- Project CLAUDE.md (resolved via Project Discovery) — conventions, commands, patterns, project structure
- Project principles — look for design and implementation principles in
{project}/.claude/skills/(e.g.,*-design-principles,*-implementation-principles). If found, read and apply them. - Any referenced spec/architecture docs — if the design references other docs, read the relevant sections
- Pattern files — if the project has documented patterns, read them for concrete examples of how existing code is structured
1c. Ground in the actual codebase
This is where most orchestrators fail — they send agents in blind. You must read real code to:
- Verify the design's assumptions. For every file the design says to modify or depend on, read it. Confirm the interfaces, function signatures, and module structure match what the design expects.
- Find concrete pattern examples. For each type of code the agent will write (route, tool function, test, schema), find an existing example in the codebase and note its path.
- Understand integration points. Read the files where new code will be wired in (e.g., app entry points, registry files, package manifests).
Use the Explore sub-agent (model: haiku) if the codebase is large and you need to map structure quickly. But always read 3-5 key files yourself — the files the agent will modify or closely follow.
1d. Identify discrepancies
Compare the design against the actual repo. Note any differences in types, signatures, file paths, or module structure. You'll include corrections in agent prompts so the agent doesn't get confused by stale design assumptions.
Phase 2: Plan the Split
Decide how to split the design into agent tasks. Guidelines:
- One agent per design is the default. Most designs (5-15 implementation units) fit comfortably in a single Sonnet agent's context and execution window.
- Split into 2-3 agents only when:
- The design has clearly independent subsystems that don't share new types.
- Total implementation would exceed ~20 files or ~2000 lines of new code.
- There are natural dependency boundaries where Agent A's output isn't needed by Agent B.
- Never split more than 3 agents. If a design needs more, it's too large — tell the user to split the design first.
- Sequential when dependent, parallel when independent. If Agent B needs types/files created by Agent A, run A first. If they're independent, run them in parallel.
Phase 3: Craft Agent Prompts
For each agent, write a self-contained prompt that includes:
Required sections:
-
Role and goal — one sentence stating what the agent is implementing.
-
Design excerpt — paste the relevant implementation units verbatim from the design doc. Include the unit's file path, interfaces/types, function signatures, implementation notes, and acceptance criteria. Do NOT summarize — the agent needs the exact specifications.
-
Codebase context — this is where your grounding work pays off. Provide the specific context you gathered in Phase 1 so the agent doesn't have to discover it:
- Key file paths it will read or modify (be specific:
src/lib/env.ts, not "the env file") - Existing patterns to follow, with a concrete example from the codebase
- Any discrepancies between design and repo reality
- Specific imports the agent will need
- Project conventions from the project's CLAUDE.md
- Key pattern references you found
- Key file paths it will read or modify (be specific:
-
Implementation order — which units to implement first (dependency order from the design).
-
Principles — instruct the agent: "Look for design and implementation principles in
{project}/.claude/skills/(e.g.,*-design-principles,*-implementation-principles). If found, read and follow them throughout implementation. If not, work from the project's CLAUDE.md conventions." -
Verification commands — what to run when done. Use the Agent Commands from the project's CLAUDE.md if available (e.g.,
test-api,test-web,build). Otherwise, include the specific commands discovered during Project Discovery. -
Verification commands reminder — remind the agent to run the project's build+test commands after implementation.
Prompt crafting principles:
- Be concrete, not abstract. Instead of "follow existing patterns," say "follow the pattern in
src/tools/asset-library/server.ts." - Include just enough context. The agent can read files — reference paths and key signatures, don't paste entire files.
- Flag non-obvious things. If a design unit has a subtle requirement, highlight it explicitly.
- Don't over-constrain. Give the agent room to handle implementation details the design left to the implementer.
Phase 4: Spawn Agents
Use the Agent tool to spawn each implementation agent:
Agent(
description: "Implement [what]",
model: "sonnet",
prompt: [your crafted prompt],
subagent_type: "general-purpose"
)
- Parallel agents: If agents are independent, spawn them in a single message with multiple Agent tool calls.
- Sequential agents: If Agent B depends on Agent A's output, wait for Agent A to complete before spawning Agent B.
- Worktree isolation: Use
isolation: "worktree"when running parallel agents that modify overlapping files. Otherwise, skip it.
Phase 5: Review Results
After each agent completes:
- Read the agent's result summary.
- If the agent reported blockers, errors, or deviations — assess whether they need intervention.
- If running sequential agents, verify Agent A's output is correct before spawning Agent B.
- After all agents complete, run the verification commands yourself to confirm everything works end-to-end.
If an agent failed or left gaps:
- For small fixes: make them yourself directly.
- For larger issues: spawn a focused follow-up agent with a targeted prompt.
Phase 6: Final Verification and Report
- Run the project's verification commands (from Agent Commands or discovered during Project Discovery).
- Report results to the user: what was implemented, how many agents were used, any deviations from the design, any remaining issues.
Phase 7: Advance Board (Feature Pipeline)
If the design target belongs to a feature-pipeline board (the design doc path matches boards/**/design/*.md, or the target BOARD.md has pipeline: feature):
- Read the board's
BOARD.md. - Find the item(s) you just implemented in the
## Implementlane. - Move them to the
## Reviewlane (keep as unchecked- [ ]— review is the next step). - If
## Reviewdoesn't exist yet, create it after## Implement.
Pipeline Chain
After advancing the board (feature pipeline), offer to invoke the next pipeline skill:
- Tell the user what was completed: "Implementation complete. Items moved to Review lane."
- Ask: "Ready to run
/reviewfor acceptance testing?" - If confirmed, invoke `/re
Content truncated.
When not to use it
- →When a design document does not exist
- →When the user wants to write code themselves
- →When the design is too large to be split into 2-3 agents
Limitations
- →It does not write code itself, it delegates to Sonnet agents
- →It never spawns more than 3 agents for a single design
- →It requires a completed design document
How it compares
This skill automates the transition from design to code by orchestrating multiple agents and ensuring deep grounding in the codebase, unlike manual implementation which requires individual interpretation and coding.
Compared to similar skills
implement-design side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| implement-design (this skill) | 0 | 4mo | No flags | Advanced |
| spec-workflow | 10 | 8mo | No flags | Intermediate |
| executing-plans | 6 | 2mo | No flags | Intermediate |
| feature-design-assistant | 6 | 6mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
spec-workflow
TencentCloudBase
Standard software engineering workflow for requirement analysis, technical design, and task planning. Use this skill when developing new features, complex architecture designs, multi-module integrations, or projects involving database/UI design.
executing-plans
obra
Use when you have a written implementation plan to execute in a separate session with review checkpoints
feature-design-assistant
davila7
Turn ideas into fully formed designs and specs through natural collaborative dialogue. Use when planning new features, designing architecture, or making significant changes to the codebase.
superpowers-plan
anthonylee991
Writes an implementation plan with small steps, exact files to touch, and verification commands. Use before making non-trivial changes.
create-steering-documents
jasonkneen
Create comprehensive steering documents for development projects. Generates project-specific standards, git workflows, and technology guidelines in .kiro/steering/ directory.
implementation-planner
galz10
Expertise in creating detailed, atomic, and safe implementation plans. Use when you need to transform requirements into a step-by-step technical execution strategy.