← ClaudeAtlas

review-planlisted

Run a multi-CLI MAGI review of a sprint's PLAN.md / SPEC.md. **Optional step** — can be skipped to save tokens if you trust the plan; human review of the doc is a valid alternative. Spawns reviewers in parallel via the orchestrator, then applies semantic dedup + weighted voting per references/MAGI_VOTING.md. Default reviewers and voting mode come from ~/.config/magi-workflow/config.json. Override with --reviewers and --magi.
bozkurtonur3-lgtm/magi-workflow · ★ 1 · Code & Development · score 77
Install: claude install-skill bozkurtonur3-lgtm/magi-workflow
# /magi:review-plan — MAGI plan review You are the coordinator. Have N CLIs review the user's PLAN/SPEC in parallel, then consolidate their findings using MAGI weighted voting. ## 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" ``` Run a lightweight preflight; if `$USER_CONFIG` missing or empty `xreview.reviewers`, tell the user to run `/magi:setup`. Read `references/MAGI_VOTING.md` (in the plugin root) for the consensus rules. You will follow Steps 1–8 of that document. ## 0.5. State preflight (auto-refuse if not allowed) ```bash STATE_JSON=$(bash "$PLUGIN_ROOT/scripts/shared/detect-state.sh") blocked=$(jq -r '.disallowed_skills["review-plan"] // empty' <<<"$STATE_JSON") if [[ -n "$blocked" ]]; then reason=$(jq -r '.disallowed_skills["review-plan"].reason' <<<"$STATE_JSON") suggest=$(jq -r '.disallowed_skills["review-plan"].suggest' <<<"$STATE_JSON") echo "Cannot run /magi:review-plan: $reason" echo "Suggested: $suggest" exit 1 fi ``` `--force` skips preflight. **Note this skill is optional** — the user can always skip it entirely by going straight to `/magi:tasks`. ## 1. Locate the document Find the sprint folder (same logic as `/magi:tasks`). Read its `PLAN.md` or `SPEC.md`. If neither exists, abort and tell the user to run `/magi:plan` first. ## 2. Build the reviewer prompt Write a pro