Plan and review

From JeremyDev87/codingbuddy · View interactive version

Plan and review is an AI agent skill from the GitHub repository JeremyDev87/codingbuddy. Use when creating implementation plans that need quality review before execution — 4-phase workflow combining plan creation with automated plan-reviewer validation

How to use this skill

Skill file

Plan and Review

Overview

Create implementation plans and validate them through automated review before execution. This skill combines the writing-plans methodology with plan-reviewer agent dispatch to catch quality issues (missing file paths, vague acceptance criteria, scope gaps, TDD omissions) before any code is written.

Announce at start: "I'm using the plan-and-review skill to create and validate the implementation plan."

Core principle: No plan reaches execution without passing review. Critical/High findings must be resolved first.

The 4 Phases

Phase 1: Create Plan → Phase 2: Review → Phase 3: Revise (if needed) → Phase 4: Approved

Phase 1: Create Plan

Use the writing-plans methodology to create the implementation plan.

  1. Invoke the writing-plans skill (superpowers:writing-plans or equivalent)
  2. Follow all writing-plans requirements:
  1. Save plan to docs/plans/YYYY-MM-DD-<feature-name>.md

Phase 2: Dispatch Plan Reviewer

Dispatch the plan-reviewer agent as a subAgent to review the plan.

  1. Dispatch plan-reviewer using the Agent tool:

```

subagent_type: "general-purpose"

prompt: |

You are the Plan Reviewer agent. Review the implementation plan at

docs/plans/<plan-file>.md against the original spec/issue.

Review checklist:

Output a severity-rated findings table:

| Finding | Location | Severity | Recommendation |

End with Review Summary showing counts per severity and verdict:

APPROVED (Critical=0 AND High=0) or REVISE REQUIRED.

```

  1. Collect the review results

Phase 3: Revise Plan (if Critical/High findings)

If the review verdict is REVISE REQUIRED:

  1. Read each Critical and High finding
  2. Revise the plan to address each finding:
  1. Save the revised plan (overwrite the same file)
  2. Re-dispatch plan-reviewer (return to Phase 2)
  3. Repeat until verdict is APPROVED

Maximum iterations: 3 revision cycles. If still not approved after 3 cycles, present remaining findings to user for manual resolution.

Phase 4: Plan Approved

When the review verdict is APPROVED:

  1. Announce: "Plan approved by plan-reviewer — ready for execution."
  2. Present remaining Medium/Low findings as optional improvements
  3. Offer execution choice:

When to Use This Skill

When NOT to Use This Skill

Integration with Parallel Orchestrator

When used within parallel execution workflows:

Key Principles

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.