بنقرة واحدة
rdm-plan-review
Review the plan for an rdm roadmap, phase, or task before implementation begins
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Review the plan for an rdm roadmap, phase, or task before implementation begins
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Rate each phase's difficulty and assign a model tier from its body
Act on document reviews requesting changes — work each comment and drive the review to addressed
Implement an rdm roadmap phase or work on an rdm task — plan, execute, then finalize into needs-review for rdm-review
Create an rdm roadmap with phases for a topic
Run a batched backlog grooming pass over rdm's stale/duplicate/tag-cluster/archivable signals and emit a reviewable, propose-only plan of exact rdm commands — no mutations
Drive one named rdm roadmap from not-started to reviewed autonomously — pick the next actionable phase, estimate it, dispatch it on its model tier, interpret the outcome, and advance — batching decisions and blockers instead of interrupting
| name | rdm-plan-review |
| description | Review the plan for an rdm roadmap, phase, or task before implementation begins |
| allowed-tools | ["Read","Bash","Glob","Grep","Agent"] |
Review the plan of an rdm roadmap, phase, or task — not its implementation. $ARGUMENTS should be <roadmap-slug> [phase-number] for a phase, --task <slug> for a task, --roadmap <slug> for a whole roadmap, or --implementation-plan for reviewing an in-progress rdm-do implementation plan directly.
IMPORTANT: This is the rdm source repo. Always run cargo build first, then use ./target/debug/rdm — never bare rdm.
The review runs as a pipeline: find → consolidate → categorize & act → gate. Three read-only sub-agents review the plan in parallel, one per dimension; the orchestrator (this skill) — never a sub-agent — consolidates their reports into a single verdict and applies any fixes.
cargo build to ensure the binary is up to date.$ARGUMENTS:
--task <slug> — review a task's plan.--roadmap <slug> — review the whole roadmap: its own body plus every phase, gated individually.<roadmap-slug> [phase-number] — review a single phase. If phase-number is omitted, review the roadmap the same as --roadmap <slug>.--implementation-plan — review an rdm-do plan document handed to you directly in context, ahead of implementation. There is no persisted rdm item backing this mode, so it produces a verdict and findings report only — no tag-gate step (skip step 5 entirely for this mode), and skips step 4's fix-application half the same way (see the carve-out there)../target/debug/rdm phase show <phase-number> --roadmap <slug> --project rdm for the body, and ./target/debug/rdm phase show <phase-number> --roadmap <slug> --format json --project rdm for its tags../target/debug/rdm task show <slug> --project rdm for the body, and ./target/debug/rdm task show <slug> --format json --project rdm for its tags../target/debug/rdm roadmap show <slug> --format json --project rdm returns the roadmap body plus every phase's summary (body, tags) in one call; also fetch each phase's full body with ./target/debug/rdm phase show <n> --roadmap <slug> --project rdm for the unit-of-work reviewer.--implementation-plan: read the plan text already provided in context; no rdm command is needed.Dispatch the applicable reviewers in parallel. Each is read-only — it reviews and reports, it never edits.
--principles-file was never configured — falls back to reading CLAUDE.md or AGENTS.md directly in the project root when no principles note is present. Flags any plan step that would violate a stated convention.--task, --implementation-plan, and for a standalone roadmap-body review; run once per phase when reviewing --roadmap <slug> (this can fan out to many parallel agents on a large roadmap — no hard cap is required, but be mindful of the cost). Judges whether the phase is independently deliverable and testable — neither too large to land safely nor too trivial to warrant its own phase.Each dispatched agent returns one finding block per issue:
- id: <short-slug>
concern: <coherence|architecture|unit-of-work>
location: <section/heading or phase stem>
severity: blocking | concern | suggestion
confidence: 0-100
what-fails: <the specific problem>
why: <root cause / which rule, AC, or principle it violates>
impact: <what breaks or degrades if this ships unaddressed>
recommendation: <concrete fix>
The orchestrator (this skill itself, not a sub-agent) merges the dimension reports into exactly one verdict. Determine it in this strict order — the first matching rule wins:
blocking finding.concern or suggestion finding.For a --roadmap <slug> review, consolidate per phase as well as for the roadmap body as a whole — a single phase's blocking finding produces a REWORK verdict for that phase without necessarily failing phases that passed independently (see the Gate step's per-phase handling).
Report first, then act. The dispatched reviewers never apply fixes; only the orchestrator does, and only after consolidation.
--implementation-plan mode: findings are still reported using the finding-block format from step 2, but the act half below is skipped entirely — there is no persisted rdm item to write to or file against in this mode. Resolving or folding surviving findings back into the plan text is left to the caller (e.g. rdm-do's own --auto-mode step).
For each surviving finding, classify it:
--body is whole-document-authoritative, so there is no patch/diff mechanism to rely on:
./target/debug/rdm phase update <phase-number> --roadmap <slug> --body "<full updated body>" --no-edit --project rdm
# or: ./target/debug/rdm task update <slug> --body "<full updated body>" --no-edit --project rdm
# or: ./target/debug/rdm roadmap update <slug> --body "<full updated body>" --no-edit --project rdm
./target/debug/rdm commit -m "chore(plan): address plan review finding on <target>"
./target/debug/rdm task create <slug> --title "Plan review finding: description" --body "Details." --tags plan-review --no-edit --project rdm
./target/debug/rdm commit -m "chore(plan): file plan review finding as task"
needs-plan-review by verdictSkip this step entirely in --implementation-plan mode — there is no persisted rdm item to gate; report the verdict and findings only.
rdm-review uses for its own pass/pass-with-concerns gate):
./target/debug/rdm phase show <n> --roadmap <slug> --format json --project rdm / ./target/debug/rdm task show <slug> --format json --project rdm / ./target/debug/rdm roadmap show <slug> --format json --project rdm — the tags array is present in every JSON summary.needs-plan-review from that array by exact string match. This is the CLI-porcelain equivalent of rdm_core::tags::clear_plan_review_tag — there is no rdm tags clear command, so replicate its effect here: idempotent (a target that already lacks the tag is a safe no-op) and collapsing to no tags when it was the only one present.--tags replaces the whole list, it never removes one tag in place, so always read-then-filter-then-set the complete remaining list:
./target/debug/rdm phase update <phase-number> --roadmap <slug> --tags <comma-joined-remaining-tags> --no-edit --project rdm
# or, when needs-plan-review was the only tag present:
./target/debug/rdm phase update <phase-number> --roadmap <slug> --tags "" --no-edit --project rdm
./target/debug/rdm commit -m "chore(plan): clear needs-plan-review on <target>".--roadmap <slug> mode: gate each phase individually — a phase whose own consolidated verdict is REWORK keeps its needs-plan-review tag even when every other phase in the roadmap passes.update --tags. needs-plan-review is left unchanged in place. State explicitly in the report that the tag was left and enumerate exactly what must change before the next review pass.--body is whole-document-authoritative: always read-modify-write the entire body, never assume a patch/diff mechanism exists.--tags replaces the whole list: always read the current tags, filter out needs-plan-review, and set the complete remaining list (or --tags "" when it was the only tag).blocking finding forces REWORK.