Review plan

From SDiamante13/dotfiles · View interactive version

Review plan is an AI agent skill from the GitHub repository SDiamante13/dotfiles. XP-style plan review that identifies gaps, hidden assumptions, and critical misses. Triggers on 'review the plan', 'check the plan', 'audit the plan'. Reviews plans for YAGNI violations, missing feedback loops, and over-engineering.

How to use this skill

Skill file

XP Plan Review

STARTER_CHARACTER = 👁️

Activation Triggers

Process

1. Find the Plan

Search for plan files:

If multiple found, ask which one.

2. Run the Review Workflow

The multi-agent review — one independent reviewer per lens (Gaps, Hidden

Assumptions, Critical Misses, plus the five XP Violations: YAGNI, Simplicity,

Step Size, Feedback Loops, Tech Debt), dedup, and an adversarial-verify pass

where skeptics vote to kill unconvincing findings — is encoded as a

deterministic Workflow so the fan-out, dedup, and verification run reliably

instead of relying on prose. The reviewers are Plan agents, exactly as before.

Invoke the Workflow tool with the bundled script, passing whichever plan

reference you resolved in step 1 (path for a file, or plan for raw text):

Workflow({
  scriptPath: "${CLAUDE_PLUGIN_ROOT}/skills/review-plan/workflow.js",
  args: { path: "[PATH]" }   // or { plan: "[plan text]" }
})

The workflow runs two phases (both autonomous — no human gate):

Knowledge · Hidden Assumptions · Critical Misses · YAGNI · Simplicity · Step

Size · Feedback Loops · Tech Debt. Each returns findings with issue, impact,

recommendation, and priority (critical > important > nice-to-have). Empty /

issue-less findings are dropped; near-duplicate findings across lenses are merged.

tries to KILL the finding — assumes false positive until the plan's content

proves otherwise. Findings the skeptic votes down or scores below 50 confidence

are dropped.

It returns { findings } — the merged, ranked list (priority then confidence),

where each kept finding carries { issue, impact, recommendation, priority, lenses, confidence, justification }.

3. Present and Confirm

After the workflow returns, present the kept findings to the user (group by

priority: critical > important > nice-to-have). If findings is empty, tell the

user the plan passed review and stop.

Use AskUserQuestion:

Question: "Based on these [N] issues, how would you like to proceed?"
Header: "Update Plan"
Options:
  - "Fix all" - Update plan to address all issues
  - "Select items" - Choose specific issues to address
  - "Skip" - Keep plan as-is

4. Update Plan (Only After Confirmation)

If user confirms:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.