Workspace Plan Review
Orchestrate a two-agent review workflow on an existing workitem plan. A reviewer agent evaluates the plan against type-specific criteria, and a planner agent addresses the feedback. The cycle repeats until the reviewer approves or max rounds are reached.
Prerequisites
- •An existing plan at
.claude/workitems/{type}/{name}/plan.md - •Claude CLI (
claude) available in PATH
Usage
# By workitem path (type/name) bash <skill-path>/scripts/plan_review.sh feature/auth-middleware [max-rounds] # By full path bash <skill-path>/scripts/plan_review.sh path/to/plan.md [max-rounds] # Interactive selection (no argument) bash <skill-path>/scripts/plan_review.sh
- •
max-rounds: Maximum review rounds (default: 3)
How It Works
- •Detects the workitem type from the path (feature, bugfix, refactor, hotfix, chore)
- •Copies the type-specific criteria template to
.claude/workitems/{type}/{name}/review-criteria.mdif it doesn't exist yet - •Injects a Review Status header into the plan file if not present
- •Reviewer reads the plan and evaluates against the criteria, marking checkboxes in the local
review-criteria.md - •Planner reads reviewer notes and adjusts the plan to address feedback
- •Cycle repeats until reviewer marks
[x] Reviewedor max rounds exhausted - •Exit code 0 on approval, 1 if max rounds reached
Review Criteria
Type-specific criteria templates are in criteria/:
- •
feature.md— scope, requirements, dependencies, implementation - •
bugfix.md— diagnosis, solution, prevention, safety - •
refactor.md— justification, behavior preservation, incremental tasks - •
hotfix.md— urgency, minimal scope, safety, rollback - •
chore.md— justification, impact, verification
Each workitem gets its own copy at .claude/workitems/{type}/{name}/review-criteria.md. The reviewer marks criteria in this local copy, so each workitem tracks its own review progress independently.
To override with custom criteria:
export REVIEW_CRITERIA_FILE="/path/to/custom-criteria.md" bash <skill-path>/scripts/plan_review.sh feature/auth-middleware