sdd-implement
Use when executing an SDD plan via batch-based task implementation, tracking progress with [ ]/[X] markers and quality gates.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when executing an SDD plan via batch-based task implementation, tracking progress with [ ]/[X] markers and quality gates.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | sdd-implement |
| description | Use when executing an SDD plan via batch-based task implementation, tracking progress with [ ]/[X] markers and quality gates. |
| argument-hint | [change_name] [instructions] |
| disable-model-invocation | false |
| allowed-tools | Bash, Bash(tree:*), Read, Glob, Grep, Write, Edit, Task, mcp__atlassian__jira_get_issue |
Execute the implementation plan in small, certain steps. Make confident decisions and use tools without asking permission.
Two files contain the context for implementation:
.sdd/{change-name}/exploration.md — curated context, selected files, handoff prompt from the discovery phase..sdd/{change-name}/plan.md — detailed implementation plan with tasks, architecture decisions, and clarifications..sdd/{change-name}/exploration.md for selected files, relationships, and architecture context..sdd/{change-name}/plan.md if present for detailed tasks, file targets, and clarifications.**Details for TXXX**: blocks, Section 2 is missing Contract Specifications when new types exist, or Before/After is absent for modification tasks — note it in your implementation log but do not block. Plans created before the detail-quality improvements may lack these sections; work with whatever detail is available and make reasonable design decisions.exploration.md or plan.md is missing, recover via the two-step pattern in _shared/persistence-contract.md. If neither file nor engram has the artifact, return envelope with status: blocked.The orchestrator's launch prompt specifies which batches you own. Honor that scope.
The prompt contains one of:
Batches: A, B — parallel batches in this wave; you own ALL listedBatch: C — single sequential batchPreviously completed batches: X, Y — do not re-execute theseRules:
Task()/Agent() to implement them — the orchestrator owns wave progression.[X] in plan.md IMMEDIATELY as each task completes (not in bulk at the end).plan.md for that batch's phase. If any Checkpoint bullet fails: STOP, return envelope with status: failed.If the prompt has no Batch: / Batches: directive:
plan.md.Parallel=Yes — no Task() self-orchestration here).[X] per task.This fallback preserves backward compatibility for direct skill invocations (e.g. /sdd-implement {change}).
Read, Glob, Grep. Map structure with tree --gitignore -L 6 (drill with path/to/subdirectory and depth -L 3 as needed).plan.md. Do not explore or modify files outside the planned boundaries.Grep/Read first, prefer 80–150+ line self-contained sections, always include surrounding context (imports, class declaration). Omitting critical context fails the task.*-advisor skill as a sub-agent with the relevant file selection. Do not invoke other SDD phase skills.After the LAST task of each batch:
**Checkpoint**: block in plan.md for the batch's phase.status: failed.plan.md defines no Checkpoint for this batch's phase, default to runner-detected build + test.The gate is per-batch, not per-task.
When creating NEW files that will exceed ~150 lines:
Write the file with scaffolding + first logical section only (~100–150 lines max).Edit to append each remaining section incrementally.Write — large payloads cause permission hook timeouts.When a Write or Edit call fails (timeout, rejected, permission error):
status: failed and include the blocked file path in risks.plan.md is your source of truth: update its [ ] markers to [X] for every task you complete in this batch. The envelope is the per-call deliverable. Do NOT create or modify any other artifact under .sdd/{change}/ — no batch logs, no progress files, no auxiliary notes. Anything worth persisting either belongs in the envelope (per call) or in engram (across calls).
If engram is available, save the implement-progress summary and any general-knowledge discoveries (bug fixes, gotchas, conventions) per _shared/persistence-contract.md (Phase Artifact Save Convention + General Knowledge Persistence Mandate). For this phase, title/topic_key is sdd/{change}/implement-progress — one upserted observation across all waves, not one per batch.
Return the SDD Envelope as your last output (format: _shared/envelope-contract.md). Nothing may follow it.
| Field | Value |
|---|---|
| Status | ok (all wave tasks pass + Phase Checkpoint succeeds) · failed (any task or Checkpoint fails) |
| Phase | implement |
| Change | {change-name} |
| Artifacts | .sdd/{change-name}/plan.md (with [X] markers showing this wave's completed tasks) |
| Next Recommended | /sdd-review {change-name} |
| Risks | Flaky tests, deprecation notices, partial coverage; or "None" |
| Engram Ref | Observation ID from the persistence step, or omit if engram unavailable |
Do NOT invoke commit/review/any other SDD skill — return the envelope; the orchestrator decides next steps.
exploration.md and plan.md were read.[X] in plan.md (uppercase X — lowercase [x] is treated as incomplete by the parser).status: failed and stopped further work.Write first, sections appended via Edit. No Write payload exceeded ~200 lines.Write/Edit calls were split in half, not retried identically.plan.md's scope..sdd/{change}/ other than the [X] updates to plan.md. The envelope is the deliverable.Specialist skills: any installed *-advisor. Shared contracts: persistence-contract, envelope-contract.
<user_instructions>
$ARGUMENTS
change_name: $1
instructions: $2 </user_instructions>
Use when creating an SDD implementation plan from exploration.md, with deep interview, task breakdown, and batch assignments.
Generate a Product Requirements Document via interactive interview. Writes a markdown PRD that captures intent, user stories, and out-of-scope. Use when the brief is vague, when no ticket is bound, or when SDD invokes it from its PRD gate.
Use when starting an SDD workflow to discover codebase context, curate relevant files, and prepare exploration.md for planning.
SDD Orchestrator coordinates SDD (Spec-Driven Development) workflow via sub-agents
Use when reviewing code changes before commit, comparing implementation against SDD plan, or doing standalone code review with advisor consultation.
API-first design patterns — OpenAPI, REST conventions, error models, versioning