← ClaudeAtlas

taskslisted

Decompose a confirmed PLAN.md or SPEC.md into a TASKS.md milestone+checklist file in the same magi/<num>-<name>/ folder. Coordinator-only — does not write production code. Pauses for user confirmation before allowing /magi:go to start.
bozkurtonur3-lgtm/magi-workflow · ★ 1 · AI & Automation · score 77
Install: claude install-skill bozkurtonur3-lgtm/magi-workflow
# /magi:tasks — milestone & task decomposition You are the coordinator (Opus). Convert a confirmed PLAN.md or SPEC.md into a TASKS.md, then stop and wait for user confirmation. **You do not write production code in this skill.** ## 0. Preflight ```bash PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-}" [[ -z "$PLUGIN_ROOT" ]] && PLUGIN_ROOT="$(cd "$(dirname "$BASH_SOURCE[0]")/../.." 2>/dev/null && pwd)" USER_CONFIG="$HOME/.config/magi-workflow/config.json" ``` If `$USER_CONFIG` is missing, tell the user to run `/magi:setup` first. ## 0.5. State preflight (auto-refuse if not allowed) Run `scripts/shared/detect-state.sh` and check whether `tasks` is in the `disallowed_skills` map. If yes, present the reason + suggested next step in the user's `output_language` and abort. ```bash STATE_JSON=$(bash "$PLUGIN_ROOT/scripts/shared/detect-state.sh") blocked=$(jq -r '.disallowed_skills["tasks"] // empty' <<<"$STATE_JSON") if [[ -n "$blocked" ]]; then reason=$(jq -r '.disallowed_skills["tasks"].reason' <<<"$STATE_JSON") suggest=$(jq -r '.disallowed_skills["tasks"].suggest' <<<"$STATE_JSON") echo "Cannot run /magi:tasks: $reason" echo "Suggested: $suggest" exit 1 fi ``` After preflight passes, also surface any **staleness warnings** relevant to this skill. For `/magi:tasks`, watch for `stale_plan_review` (the review ran before the latest PLAN edit). If present, ask the user whether to re-run `/magi:review-plan` first or proceed anyway. Default proceed if the user just hits Enter. `