ワンクリックで
sdd-tasks
Break an SDD change into implementation tasks. Trigger: orchestrator launches task planning for a change.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Break an SDD change into implementation tasks. Trigger: orchestrator launches task planning for a change.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Generate repository wiki pages mapping architecture, specs, and status. Trigger: orchestrator launches sdd-document.
Shared SDD references for installed skills. Not invokable.
Read-only generalist screening contract for selective 4R review.
Read-only targeted correction validator for a bounded review lineage.
Write SDD delta specs with requirements and scenarios. Trigger: orchestrator launches spec work for a change.
Create pull requests with branch, validation, and publication checks. Trigger: creating, opening, or preparing PRs for review.
| name | sdd-tasks |
| description | Break an SDD change into implementation tasks. Trigger: orchestrator launches task planning for a change. |
| disable-model-invocation | true |
| user-invocable | false |
| license | MIT |
| metadata | {"author":"manuel-retamozo-garcia","version":"2.0","delegate_only":true} |
| runtime_capabilities | {"execute":false,"mcp":false,"write":true} |
ORCHESTRATOR GATE: If you loaded this skill via the
skill()tool, you are the ORCHESTRATOR — STOP. Do NOT execute these instructions inline. Delegate to the dedicatedsdd-taskssub-agent using your platform's delegation primitive (e.g.,task(...), sub-agent invocation, etc.). This skill is for EXECUTORS only.
You are a sub-agent responsible for creating the TASK BREAKDOWN. You take the accepted behavior contract for the change (proposal.md + specs/design in full mode, or proposal-lite.md in lite mode), then produce a tasks.md with concrete, actionable implementation steps organized by phase.
From the orchestrator:
openspec | none)ask-on-risk | auto-chain | single-pr | exception-ok)full | lite)Follow Section B (retrieval) and Section C (persistence) from
skills/_shared/sdd-phase-common.md.
skills/_shared/openspec-convention.md.openspec mode, treat openspec/changes/{change-name}/state.yaml plus phase artifacts as canonical workflow state for continuation and recovery; never rely on conversation history.Follow Section A from skills/_shared/sdd-phase-common.md.
If planning mode is lite:
openspec/changes/{change-name}/proposal-lite.md as the behavioral contract.trivial or small and does not need dedicated spec/design artifacts.## Lite Change Contract instead of ## Spec/Design Reconciliation.blocked with risk escalate-to-standard-sdd.If planning mode is full, follow the reconciliation rules below.
Before writing tasks, build a mental matrix mapping every spec requirement/scenario to the design elements that implement it.
Classify each scenario as:
covered-by-design: clear implementation path existsmissing-design: behavior is specified but no architectural allocation existsambiguous: contradiction or insufficient clarity between WHAT and HOWReconciliation enforcement:
missing-design, STOP and return status: blocked.missing-design, record a WARNING in the detailed summary and continue only if the core logic remains implementable.ambiguous, call out the ambiguity in the reconciliation section and only continue when the intended behavior can still be decomposed into verifiable work.From the design document, identify:
IF mode is openspec: Create the task file:
openspec/changes/{change-name}/
├── proposal.md
├── specs/
├── design.md
└── tasks.md ← You create this
IF mode is none: Do NOT create any openspec/ directories or files. Compose the tasks content in memory and return it inline in Step 5.
# Tasks: {Change Title}
## Lite Change Contract
- Change class: {trivial | small}
- Behavioral contract: {one-line summary from `proposal-lite.md`}
- Acceptance checks: {brief list}
- Escalation trigger: {what would force full SDD}
## Spec/Design Reconciliation
| Requirement / Scenario | Priority | Design Allocation | Status | Notes |
|------------------------|----------|-------------------|--------|-------|
| {REQ-01 / Scenario A} | MUST | `path/to/file.ext`, {interface or flow} | covered-by-design | {brief note} |
| {REQ-02 / Scenario B} | SHOULD | (none) | missing-design | {warning or blocker} |
### Reconciliation Verdict
- MUST coverage: {complete | blocked}
- SHOULD/MAY gaps: {none | summary}
- Ambiguities to track: {none | summary}
## Review Workload Forecast
| Field | Value |
|-------|-------|
| Estimated changed lines | <rough estimate or range> |
| 400-line budget risk | Low / Medium / High |
| Chained PRs recommended | Yes / No |
| Suggested split | <single PR or PR 1 → PR 2 → PR 3> |
| Delivery strategy | <ask-on-risk / auto-chain / single-pr / exception-ok> |
| Chain strategy | <stacked-to-main / feature-branch-chain / size-exception / pending> |
Decision needed before apply: <Yes|No>
Chained PRs recommended: <Yes|No>
Chain strategy: <stacked-to-main|feature-branch-chain|size-exception|pending>
400-line budget risk: <Low|Medium|High>
### Suggested Work Units
| Unit | Goal | Likely PR | Notes |
|------|------|-----------|-------|
| 1 | <standalone deliverable> | PR 1 | <base branch; tests/docs included> |
| 2 | <standalone deliverable> | PR 2 | <immediate parent/base branch boundary; depends on PR 1 or independent> |
### Checklist Status Legend
- `[ ]` Not implemented yet
- `[~]` Implemented but not yet verified locally
- `[x]` Implemented and verified locally
## Phase 1: {Phase Name} (e.g., Infrastructure / Foundation)
- [ ] 1.1 {Concrete action — what file, what change} [REQ-{domain}-{NNN}]
- [ ] 1.2 {Concrete action} [REQ-{domain}-{NNN}, REQ-{domain}-{MMM}]
- [ ] 1.3 {Concrete action}
## Phase 2: {Phase Name} (e.g., Core Implementation)
- [ ] 2.1 {Concrete action}
- [ ] 2.2 {Concrete action}
- [ ] 2.3 {Concrete action}
- [ ] 2.4 {Concrete action}
## Phase 3: {Phase Name} (e.g., Testing / Verification)
- [ ] 3.1 {Write tests for ...}
- [ ] 3.2 {Write tests for ...}
- [ ] 3.3 {Verify integration between ...}
## Phase 4: {Phase Name} (e.g., Cleanup / Documentation)
- [ ] 4.1 {Update docs/comments}
- [ ] 4.2 {Remove temporary code}
Each task MUST be:
| Criteria | Example ✅ | Anti-example ❌ |
|---|---|---|
| Specific | "Create internal/auth/middleware.go with JWT validation" | "Add auth" |
| Actionable | "Add ValidateToken() method to AuthService" | "Handle tokens" |
| Verifiable | "Test: POST /login returns 401 without token" | "Make sure it works" |
| Small | One file or one logical unit of work | "Implement the feature" |
Checklist semantics:
[ ] for untouched work.[~] only when implementation exists but local verification is still pending.[x] only after the task is completed and verified locally.Before finalizing tasks, estimate whether implementation is likely to exceed the 400 changed-line review budget (additions + deletions). This is a planning guard, not an exact diff count.
Use available signals: number of files, phases, integration points, tests, docs, generated artifacts, migrations, and how many concerns the change crosses.
If the estimate is High or likely above 400 lines:
Chained PRs recommended as Yes.Decision needed before apply from delivery strategy:
ask-on-risk: Yes — orchestrator asks before apply.auto-chain: No — orchestrator proceeds with the first slice using the chosen chain strategy.single-pr: Yes — orchestrator must require size:exception before apply.exception-ok: No — maintainer has accepted size:exception.Do not bury this in prose. Put the forecast near the top of the tasks artifact so the user sees it before implementation starts.
The forecast MUST include these exact plain-text lines so downstream guards can match them literally:
Decision needed before apply: Yes|No
Chained PRs recommended: Yes|No
Chain strategy: stacked-to-main|feature-branch-chain|size-exception|pending
400-line budget risk: Low|Medium|High
You may keep the table for readability, but the plain-text lines are the guard contract.
For feature-branch-chain, suggested work units SHOULD name the intended base boundary: PR #1 base = feature/tracker branch; PR #2 base = PR #1 branch; PR #3 base = PR #2 branch. If a child PR would show previous PR changes, the base is wrong and must be retargeted/rebased before review.
Phase 1: Foundation / Infrastructure
└─ New types, interfaces, database changes, config
└─ Things other tasks depend on
Phase 2: Core Implementation
└─ Main logic, business rules, core behavior
└─ The meat of the change
Phase 3: Integration / Wiring
└─ Connect components, routes, UI wiring
└─ Make everything work together
Phase 4: Testing
└─ Unit tests, integration tests, e2e tests
└─ Verify against spec scenarios
Phase 5: Cleanup (if needed)
└─ Documentation, remove dead code, polish
This step is MANDATORY — do NOT skip it.
Follow Section C from skills/_shared/sdd-phase-common.md.
tasksopenspec/changes/{change-name}/tasks.mdReturn to the orchestrator:
## Tasks Created
**Change**: {change-name}
**Location**: `openspec/changes/{change-name}/tasks.md` (openspec) | inline (none)
### Breakdown
| Phase | Tasks | Focus |
|-------|-------|-------|
| Phase 1 | {N} | {Phase name} |
| Phase 2 | {N} | {Phase name} |
| Phase 3 | {N} | {Phase name} |
| Total | {N} | |
### Reconciliation
- MUST scenarios blocked: {0 or list}
- SHOULD/MAY gaps: {none or summary}
- Ambiguous scenarios: {none or summary}
### Implementation Order
{Brief description of the recommended order and why}
### Review Workload Forecast
- Estimated changed lines: {estimate or range}
- 400-line budget risk: {Low | Medium | High}
- Chained PRs recommended: {Yes | No}
- Delivery strategy: {ask-on-risk | auto-chain | single-pr | exception-ok}
- Decision needed before apply: {Yes | No}
- Suggested work-unit PR split: {brief list or "Not needed"}
### Next Step
{Ready for implementation (sdd-apply) OR ask the user whether to use chained PRs before sdd-apply.}
proposal-lite.md acceptance checks in lite mode{#REQ-domain-NNN} headings), each implementation task lists the REQ ids it covers as a trailing [REQ-...] tag, and every MUST requirement appears in at least one task. sdd-verify validates this mapping in the traceability matrix.## Spec/Design Reconciliation before the backlog. If any MUST scenario is missing-design, return blocked instead of writing tasks.md.## Lite Change Contract instead of the reconciliation matrix and use proposal-lite.md as the contract.blocked with escalate-to-standard-sdd.rules.tasks from openspec/config.yamlskills/_shared/sdd-phase-common.md.