一键导入
sdd-tasks
Generate phased `tasks.md` checklists from specs and design.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate phased `tasks.md` checklists from specs and design.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Mandatory thoth-mem workflow contract for orchestrator/subagent memory ownership, parent session_id/project dispatch, prompt-save prohibitions, project-scoped read tools, session-summary ownership, and durable observation rules. Use whenever work mentions thoth-mem, persistent memory, orchestrator/subagents, session_id, project, saved prompts, session summaries, or project-level memory context.
Execute SDD task lists with real-time progress tracking, sub-agent dispatch, and verification checkpoints.
Review SDD task plans for execution blockers and return [OKAY] or [REJECT].
Repository understanding and hierarchical codemap generation
Mandatory step-0 requirements discovery for non-trivial work before any implementation or SDD routing decisions.
Execute assigned SDD tasks and return structured implementation results.
| name | sdd-tasks |
| description | Generate phased `tasks.md` checklists from specs and design. |
Translate the approved spec and design into an implementation checklist.
~/.config/opencode/skills/_shared/openspec-convention.md~/.config/opencode/skills/_shared/persistence-contract.md~/.config/opencode/skills/_shared/thoth-mem-convention.mdThe orchestrator passes the artifact store mode (thoth-mem, openspec, or
hybrid). Follow
~/.config/opencode/skills/_shared/persistence-contract.md for read/write
rules per mode.
thoth-mem: persist to thoth-mem only — do NOT create or modify
openspec/ files.openspec: write files only — do NOT call thoth-mem save tools.hybrid: persist to both (default).change-namepipeline-type (accelerated or full)Read the shared conventions.
Recover artifacts via the retrieval protocol in
~/.config/opencode/skills/_shared/persistence-contract.md:
proposalspec and designIf a task plan already exists, recover sdd/{change-name}/tasks with the
same mode-aware retrieval rules before rewriting it.
Validate existing-file references: For every task that modifies an existing file (not creates a new one), verify the file actually exists on disk before including it in the task list. If a referenced "existing" file is not found, flag it as a design defect in an > ⚠️ Warning block at the top of the tasks artifact, and omit the task or add a note.
Codebase discovery (required when design artifact is absent or lacks file paths): Before generating tasks, actively explore the repository to gather the concrete data needed for accurate Verification blocks:
package.json, Makefile, Cargo.toml, .csproj, pyproject.toml) to discover available commands for testing, building, linting, and type-checking. Use the exact commands the project defines in Run: fields — never invent commands that don't exist in the project.*.test.ts, *.spec.ts) to reference in Verification commands.This exploration is mandatory in accelerated pipeline. In full pipeline, prefer paths from the design artifact's File Changes section but still validate commands from package.json.
Build a phased checklist for openspec/changes/{change-name}/tasks.md. In
thoth-mem mode, produce the same canonical checklist content without
creating the file.
Use hierarchical numbering and Markdown checkboxes with per-task verification:
# Tasks: {Change Title}
## Phase 1: Foundation
- [ ] 1.1 Set up project structure — `src/config/`
**Verification**:
- Run: `bun run typecheck`
- Expected: No TypeScript errors in config files
## Phase 2: Core Implementation
- [ ] 2.1 Implement core logic — `src/core/handler.ts`
**Verification**:
- Run: `bun test -t "core handler"`
- Expected: All handler tests pass
## Phase 3: Integration
- [ ] 3.1 Integrate with API — `src/api/client.ts`
**Verification**:
- Run: `bun run lint src/api/`
- Expected: No linting errors in API module
## Phase 4: Integration & Release
- [ ] 4.1 Run full integration test suite and validate release artifacts — all modules
**Verification**:
- Run: `bun test`
- Expected: All tests pass with 100% coverage
Recognized task states:
- [ ] pending- [~] in progress- [x] completed- [-] skipped — always append a reason: - [-] 1.2 Task name — skipped: reason hereReference concrete file paths and specific spec scenarios in the tasks.
If the selected mode includes thoth-mem, persist the full checklist with:
thoth_mem_mem_save(
title: "sdd/{change-name}/tasks",
topic_key: "sdd/{change-name}/tasks",
type: "architecture",
project: "{project}",
scope: "project",
content: "{full tasks markdown}"
)
After tasks.md is generated, the workflow proceeds to an optional oracle
plan review via the plan-reviewer skill. This is managed outside the scope
of this skill.
The artifact governance validator may run after sdd-tasks as a
report-only handoff. It captures placement guidance for the future
pre-sdd-apply entrypoint, but it does not enforce execution or overlap
with plan review.
The orchestrator handles the [OKAY] / [REJECT] review loop and any
necessary fixes before proceeding to execution.
Return:
ChangeArtifact: openspec/changes/{change-name}/tasks.mdTopic Key: sdd/{change-name}/tasksPhase Summary: task counts per phaseExecution Order: one short paragraphNext Step: sdd-applyVerification sub-block with:
Run: — the exact command(s) to verify this task (e.g., bun test, bun run typecheck, bun run lint)Expected: — the specific observable outcome that confirms successVerification block will be rejected by the plan-reviewer.~/.config/opencode/skills/_shared/persistence-contract.md.