一键导入
magic-task
Workflow for orchestrating tasks and generating the implementation plan.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Workflow for orchestrating tasks and generating the implementation plan.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Workflow for simulating and validating Magic SDD engine logic.
Project Sync & Hygiene — synchronizes versions, documentation, and engine metadata
Session resume briefing — current position, progress, blockers, and the one next command
Workflow for executing tasks from the project plan.
Initialize Magic Spec development environment with junctions and symlinks.
Specification Knowledge Graph — builds, analyzes, and visualizes the SDD artifact graph
| name | magic-task |
| description | Workflow for orchestrating tasks and generating the implementation plan. |
| handoffs | [{"label":"Generate plan","workflow":"magic-task","prompt":"Generate or update the implementation plan and tasks based on ALL registered specifications."},{"label":"Execute tasks","workflow":"magic-run","prompt":"Proceed to task execution without interruption to maintain Zero-Prompt workflows (Rule C9).","condition":"tasks_generated"}] |
Triggers: "Generate tasks", "Create tasks", "Update tasks", "Sync tasks", "Create plan", "Generate plan", "Update plan".
Trigger: /magic-task [arg]. Arguments:
{workspace} — scoped planning for a specific workspace"text" — guided planning with focus or instructions{workspace} "text" — scoped + guided planningExamples: /magic-task, /magic-task engine, /magic-task "decompose phase-2 in more detail", /magic-task docs "only new specs".
Scope:
RULES.md version must be recorded in TASKS.md header.INDEX.md. Orphaned specs are critical blockers.magic-run. Specification authoring by magic-spec. Rule governance by magic-rule.magic-spec → magic-task → magic-run.rules/MAGIC-md §5): when invoked after /magic-run for drift recovery, Pre-Planning Stabilization auto-fixes mechanical drift (Draft→Stable promotion, field normalization, phantom backlog moves); Pre-flight HALTs with a single /magic-spec recommendation only on substantive gaps requiring human design input.node .magic/scripts/executor.js finalize --workflow=task and display output verbatim. Never auto-commit. See .magic/task.md §Finalization Protocol.Full implementation:
.magic/task.md. Read it before proceeding. Executor:node .magic/scripts/executor.js <script>for all automation. Anti-Hallucination Guard: do not invent ad-hoc scripts (.js,.sh, etc.) for internal engine operations. Magic SDD steps are evaluated cognitively unless an executor script is explicitly provided.