Skip to content
fix-review-issues logo

Look for plan files

fix-review-issues

Orchestrate fixing issues found by /review. Handles issue discovery, user confirmation, plan creation, and execution via /implement.

SKILL.md

Full skill instructions

User request: $ARGUMENTS

Systematically address issues found from /​review runs. Orchestrates: discover issues → confirm scope → plan → execute → verify.

Flags: --autonomous → skip Phase 2 scope confirmation and Phase 5 next-steps prompt (requires scope args)

Workflow

Phase 0: Parse Arguments

Parse $ARGUMENTS to determine scope:

ArgumentEffect
(none)Fix ALL issues from review
--severity <level>Filter by severity (critical, high, medium, low)
--category <type>Filter by category (use categories found in review output)
File pathsFocus on specific files only

Multiple filters combine: --severity critical,high --category <cat1>,<cat2>

Phase 1: Discover Review Results

Step 1: Check if review results exist in the current conversation context.

Step 2: If NO review results found, ask the user:

header: "No Review Results Found"
question: "I couldn't find recent /​review output in this conversation. What would you like to do?"
options:
  - "Run /​review now - perform a fresh review first"
  - "Paste review output - I'll provide the review results"
  - "Cancel - I'll run /​review myself first"
  • If "Run /​review now": Inform user to run /​review first, then return to /​fix-review-issues
  • If "Paste review output": Wait for user to provide the review results
  • If "Cancel": End the workflow

Step 3: If review results ARE found, extract and categorize all issues:

  1. Parse each issue for: severity, category, file path, line number, description, suggested fix
  2. Group issues by category
  3. Count totals by severity

Phase 1.5: Validate Findings Against Higher-Priority Sources

Before confirming scope, filter findings that conflict with higher-priority sources (CLAUDE.md, Plan, Spec).

Step 1: Check for CLAUDE.md Adherence Conflicts

Review all findings from non-adherence reviewers (simplicity, maintainability, type-safety, docs, coverage) against CLAUDE.md adherence findings:

  1. For each CLAUDE.md adherence finding, identify what rule/​guideline it enforces
  2. Check if other reviewers suggest changes that would violate that rule:
    • Simplicity suggests inlining code → but CLAUDE.md requires helper functions for that pattern → REMOVE simplicity finding
    • Maintainability suggests consolidating files → but CLAUDE.md specifies file structure → REMOVE maintainability finding
    • Type-safety suggests stricter types → but CLAUDE.md allows flexibility for that case → REMOVE type-safety finding
  3. Report filtered findings:
    ## Findings Filtered (Conflict with CLAUDE.md Rules)
    
    The following issues were removed because they conflict with CLAUDE.md project rules:
    - [Simplicity issue]: Filtered—CLAUDE.md rule X specifies this pattern
    - [Maintainability issue]: Filtered—CLAUDE.md requires this structure
    

Why this matters: CLAUDE.md contains user-defined rules specific to this project. Generic reviewer suggestions that contradict explicit user rules should be discarded—the user's decisions take precedence.

Step 2: Check for Plan/​Spec Conflicts

Search for plan and spec files:

# Look for plan files
ls /​tmp/​plan-*.md 2>/​dev/​null | head -5
find . -name "plan-*.md" -o -name "PLAN.md" 2>/​dev/​null | head -5

# Look for spec files
ls /​tmp/​spec-*.md 2>/​dev/​null | head -5
find . -name "spec-*.md" -o -name "SPEC.md" -o -name "requirements*.md" 2>/​dev/​null | head -5

If plan/​spec files exist:

  1. Read the plan/​spec files
  2. For each review finding, check if it contradicts planned/​specified behavior:
    • Simplicity issues: If the plan explicitly requires the pattern (e.g., "use factory pattern for extensibility"), REMOVE the finding
    • Maintainability issues: If the plan specifies the structure (e.g., "separate concerns into X files"), REMOVE findings that critique this
    • Type safety issues: If the spec requires the flexibility (e.g., "must accept arbitrary JSON"), REMOVE strict typing findings
  3. Report filtered findings with explanation:
    ## Findings Filtered (Justified by Plan/​Spec)
    
    The following issues were removed because they're justified by the implementation plan or spec:
    - [Issue]: Filtered because plan specifies "..."
    - [Issue]: Filtered because spec requires "..."
    

Why this matters: Review agents run without plan context. A "premature abstraction" finding may actually be an intentional pattern the plan required for future extensibility. Blindly fixing such issues would undo deliberate architectural decisions.

Phase 2: Confirm Scope with User

If --autonomous OR scope arguments provided → skip Phase 2, proceed to Phase 3

If NO arguments (fix all):

header: "Review Issues Summary"
question: "Found {N} total issues from the review. What would you like to fix?"
[Display: Issue breakdown by category and severity]
options:
  - "Fix all issues (Recommended)"
  - "Only critical and high severity"
  - "Only specific categories - let me choose"
  - "Only specific files - let me specify"

If "Only specific categories":

Present multi-select with categories found in the review output (dynamically generated from Phase 1 parsing).

If "Only specific files":

header: "Specify Files"
question: "Which files or directories should I focus on?"
freeText: true
placeholder: "e.g., src/​auth/ or src/​utils.ts, src/​helpers.ts"

Phase 3: Create Fix Plan

Order issues by priority before creating the plan (see Issue Priority Order section):

  1. Bugs first
  2. CLAUDE.md Adherence issues
  3. Type Safety
  4. Coverage
  5. Maintainability
  6. Simplicity
  7. Docs

Invoke the vibe-workflow:plan skill with: "Fix these review issues in priority order (bugs → CLAUDE.md adherence → type safety → coverage → maintainability → simplicity → docs): [summary of issues within confirmed scope, grouped by priority]"

Once the plan is approved, note the plan file path (typically /​tmp/​plan-*.md) and proceed to execution.

Phase 4: Execute Fixes

Invoke the vibe-workflow:implement skill with: "<plan-file-path>"

The /​implement skill handles dependency-ordered execution, progress tracking, and auto-fixing gate failures.

Phase 5: Next Steps

If --autonomous: Skip prompt, end after implementation completes. Caller handles verification.

Otherwise, ask the user:

header: "Fixes Complete"
question: "Implementation finished. What would you like to do next?"
options:
  - "Run /​review again - verify fixes are complete (Recommended)"
  - "Show diff - see all changes made"
  - "Done - I'll verify manually"

Issue Priority Order

When fixing issues, follow this priority hierarchy:

PriorityCategoryRationale
1BugsCorrectness issues that cause incorrect behavior—always fix first
2CLAUDE.md AdherenceUser-defined project rules take precedence over generic best practices
3Type SafetyPrevents runtime errors and improves reliability
4CoverageTests protect against regressions
5MaintainabilityLong-term code health
6SimplicityNice-to-have improvements
7DocsLowest priority unless blocking other work

Why CLAUDE.md adherence is high priority: The CLAUDE.md file contains user-defined rules specific to this project. When other reviewers (simplicity, maintainability, etc.) suggest changes that conflict with CLAUDE.md guidelines, the user's explicit rules win. Fixing CLAUDE.md adherence issues early prevents wasted effort fixing issues that would later be undone.

Conflict Resolution

When reviewer findings conflict with each other:

  1. CLAUDE.md vs other reviewers: CLAUDE.md adherence wins. If simplicity reviewer says "inline this helper" but CLAUDE.md specifies "use helper functions for X pattern"—keep the helper.
  2. Plan/​Spec vs reviewers: Plan/​Spec wins (handled in Phase 1.5). Intentional architectural decisions aren't mistakes.
  3. Between equal-priority reviewers: Defer to the verification agent's reconciliation from /​review.

Key Principles

  • Respect User Rules: CLAUDE.md adherence issues take precedence—these are explicit user decisions that override generic reviewer suggestions
  • Respect the Plan: Filter out findings that contradict the implementation plan or spec—these are intentional decisions, not mistakes
  • User Control: Confirm scope before making changes
  • Reduce Cognitive Load: Use AskUserQuestion for decisions, recommended option first
  • High Confidence Only: Only fix issues that are clearly unintentional problems, not design decisions

More Productivity & Planning skills

brainstorming logo
Productivity & Planning

brainstorming

Structured design dialogue that validates ideas before implementation begins.

295.4K 385.7K
View
ui-ux-pro-max logo
Productivity & Planning

ui-ux-pro-max

Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.

133.1K 383.9K
View
writing-plans logo
Productivity & Planning

writing-plans

Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.

295.4K 268K
View
using-superpowers logo
Productivity & Planning

using-superpowers

Introduction to the obra skills system with mandatory skill invocation rules and best practices.

295.4K 259.8K
View
executing-plans logo
Productivity & Planning

executing-plans

Execute a written implementation plan with critical review and task checkpoints.

295.4K 229.1K
View
dispatching-parallel-agents logo
Productivity & Planning

dispatching-parallel-agents

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View
using-git-worktrees logo
Productivity & Planning

using-git-worktrees

Isolated git worktrees with smart directory selection and safety verification.

295.4K 205.2K
View
webapp-testing logo
Productivity & Planning

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

179.7K 170.6K
View
content-strategy logo
Productivity & Planning

content-strategy

Plan searchable and shareable content that drives traffic, builds authority, and generates leads.

53.3K 150.9K
View
repo-intake-and-plan logo
Productivity & Planning

repo-intake-and-plan

README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.

497 139.6K
View
marketing-ideas logo
Productivity & Planning

marketing-ideas

Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.

53.3K 137.2K
View
site-architecture logo
Productivity & Planning

site-architecture

Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.

53.3K 112.8K
View

Productivity AI tools

Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View
SaveDay logo
Productivity

SaveDay

Capture, organize, and utilize your knowledge effortlessly.

Free
View
Any Summary logo
Productivity

Any Summary

Instant Summaries of Audio & Video Interviews with AnySummary

Freemium
View
M
Productivity

Map This

Transform PDFs into engaging mind maps.

Freemium
View
ChatPDF logo
Productivity

ChatPDF

Chat with any PDF instantly

Free
View
I
Productivity

intellisay

Create an optimal daily plan using your voice

Paid
View
A
Productivity

Aurora AI

A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.

Paid
View
AskYourPDF logo
Productivity

AskYourPDF

AskYourPDF Pricing Plans: Tailored to Your Needs

Free
View