بنقرة واحدة
tasks
Manage tasks and plans using the .tasks/ directory.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Manage tasks and plans using the .tasks/ directory.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Orchestrates SDD project initialization — version detection, environment verification, scaffolding, and git setup.
Manage project settings in sdd/sdd-settings.yaml including component settings that drive scaffolding.
Single gateway for all core↔tech-pack interactions. Reads manifests, resolves paths, loads skills/agents, routes commands.
Standards for authoring SDD plugin agents — frontmatter, self-containment, skill references, and no-user-interaction rules.
Standards for authoring SDD plugin commands — frontmatter, user interaction, skill/agent invocation, CLI integration, and output formatting.
Create a commit following repository guidelines with proper versioning and changelog updates.
| name | tasks |
| description | Manage tasks and plans using the .tasks/ directory. |
| model | opus |
Manage the project backlog, track progress, and organize implementation plans.
.tasks/
├── INDEX.md # Index file - task numbers, titles, links
├── 0-inbox/ # Open tasks (not yet started)
├── 1-speccing/ # Spec being refined (interactive solicitation)
├── 2-planning/ # Plan being created
├── 3-plan-review/ # Plan review checkpoint
├── 4-implementing/ # Currently being worked on
├── 5-reviewing/ # Implementation complete, under review
├── 6-complete/ # Done
├── 7-rejected/ # Rejected or irrelevant
└── 8-consolidated/ # Consolidated into other tasks
Note: .gitkeep files ensure empty directories are tracked in git. Do not delete these files.
Each task is a folder named by its ID containing:
task.md - the task description and metadataplan.md - the execution plan — implementation order, sequencing, and test plan (created during planning phase)changes.md - file changes summary (generated during review or before completion)Note: Priority (high/medium/low) is a frontmatter field, not a directory. Tasks are organized by status in directories. In INDEX.md, priority sub-sections appear under the Inbox heading.
Reference: See schemas.md for full task/plan schemas and templates.
/tasks
/tasks list
Read .tasks/INDEX.md and display all non-archival tasks in a single markdown table. Omit Complete, Rejected, and Consolidated sections (archival). Never truncate, summarize, or collapse rows.
Render task references as clickable markdown links:
[#67](.tasks/2-planning/67/plan.md)[#67](.tasks/0-inbox/67/task.md)Table format — one table, four columns: Status, Priority, #, Task:
| Status | Priority | # | Task |
|--------|----------|---|------|
Status column values:
📝 Speccing📐 Planning✅ Plan Review🔨 Implementing🔍 Reviewing📥 Inbox (for tasks in 0-inbox/)Priority column values:
🔴 High🟡 Med🔵 Low⚪ — (unprioritized or null)Read the priority field from each task's task.md frontmatter to populate the Priority column for all tasks, including active ones.
Sort order: Active statuses first (in the order listed above), then inbox tasks by priority (high, med, low, unprioritized). Within each group, sort by task ID descending.
End with a summary line:
**N open** — X high, Y med, Z low, W unprioritized
/tasks 19
Find and read the task file at <status-dir>/19/task.md.
/tasks add <description>
0-inbox/<N>/task.mdSkill(commit, args: '-m "Tasks: Add #<N>"')/tasks prioritize <id> <high|medium|low>
task.md frontmatter priority fieldSkill(commit, args: '-m "Tasks: Prioritize #<id> as <priority>"')/tasks spec <id>
Moves a task from inbox (or back from planning) to speccing, then interactively solicits the task spec from the user.
From inbox: Move folder to 1-speccing/, update status to speccing, update INDEX.md, commit. Then begin interactive solicitation.
From planning (back-transition for substantial rework): Move folder back to 1-speccing/, update status to speccing, update INDEX.md, commit. Then resume solicitation.
Solicitation: Ask guiding questions to fill in the 6 required sections (Description, Motivation, Scope, Constraints, Changes, Acceptance Criteria). Iterate as many times as needed — never rush the user toward planning. Only the user decides when the spec is complete.
All decisions in the spec: Every change must be fully defined during speccing — exact files, exact changes, no ambiguity. Never defer decisions to planning or label anything a "planning detail." Planning builds an execution plan for changes already decided here.
Self-sufficiency check: After each round of user input, re-read the spec and actively check for:
Never suggest planning prematurely. Do not prompt the user to move to planning. When the user signals the spec is ready, run the validation gate. If it fails, explain what's missing and continue iterating.
Use commit skill: Skill(commit, args: '-m "Tasks: Move #<id> to speccing"')
/tasks plan <id>
Precondition: Task must be in speccing status. If not, refuse with: "Task # must be specced before planning. Use /tasks spec <id> first."
Speccing validation gate: Before transitioning, verify:
Critic exit gate: Invoke /critic to validate spec quality before transitioning.
Phase 1 — Transition (do this first, before any planning work):
2-planning/task.md: status: planningplan.md skeleton (frontmatter + headings only, no content)Skill(commit, args: '-m "Tasks: Move #<id> to planning"')Phase 2 — Build execution plan (only after commit completes):
6. Research the codebase and write the execution plan in plan.md — sequencing, step-by-step implementation order, and test plan for the changes already defined in the spec. Do not redefine what changes to make; that belongs in the spec.
7. If planning reveals spec gaps (missing files, unclear changes), update task.md directly (never plan.md) and commit as a planning-phase spec update. This should be rare — a well-specced task needs no planning-phase amendments.
Critic check: After writing the plan, invoke /critic for self-review before presenting the plan to the user.
Output clickable link: [plan.md](.tasks/2-planning/<id>/plan.md)
/tasks plan-review <id>
Critic check: Before moving, invoke /critic for plan review self-check.
3-plan-review//tasks implement <id>
4-implementing/Skill(commit, args: '-m "Tasks: Move #<id> to implementing"')feature/task-<id>-<slug>.worktrees/task-<id>/Critic check: After creating the feature branch, invoke /critic for implementation readiness self-check.
IMPORTANT: Never implement on main. Never merge or delete worktree until /tasks complete.
/tasks review <id>
Critic check: Before generating changes.md, invoke /critic for pre-review self-check.
changes.md in the task folder with frontmatter and file summary table (see workflows.md for format)changes.md with full diffs)5-reviewing/IMPORTANT: Never merge or delete worktree until /tasks complete.
/tasks complete <id>
Critic check: Before finalizing, invoke /critic for completion self-check.
changes.md exists in the task folder. If missing, generate it (frontmatter + file summary table). See workflows.md for format.6-complete/completed datetime (e.g., completed: 2026-02-12 14:30 UTC)/tasks reject <id> [reason]
7-rejected/rejected_reason/tasks consolidate <id> into <target-id>
8-consolidated/consolidated_into/tasks audit
Scan all tasks and INDEX.md for:
Write report to .temp/tasks-audit-<datetime>.md.
Reference: See workflows.md for detailed audit criteria.
CRITICAL: Each /tasks command is a standalone operation. After executing the requested command, STOP and return control to the user. NEVER chain commands or advance a task to the next status without explicit user approval.
/tasks add → add to inbox, commit, stop. Do NOT proceed to spec./tasks spec → move to speccing (or back-transition), run solicitation, stop. Do NOT proceed to plan./tasks plan → move to planning, create plan, commit, stop. Do NOT proceed to plan-review/implement./tasks plan-review → move to plan-review, commit, stop. Do NOT proceed to implement./tasks implement → move to implementing, create branch, commit, stop. Do NOT start coding.The user decides when to advance. Always wait for their instruction.
No phase skipping: The lifecycle is strictly sequential: inbox → speccing → planning → plan-review → implementing → reviewing → complete. Never skip a phase and never suggest skipping one. For example, after /tasks add, do not offer to go "straight to planning" — the next step is always speccing.
Branch isolation: When working inside a feature branch or worktree, only modify the task associated with that branch. Never touch other tasks. Never create new tasks in a feature branch — create and commit them directly on main.
Tasks: prefix/tasks implement, removed by /tasks completeFull documentation: