From claude-skills
Triage and act on AI-generated code review flags. Use this skill whenever the user pastes a list of review flags, code review findings, AI reviewer output, or automated code analysis results that need to be investigated and resolved. Also trigger when the user asks to "review flags", "triage findings", "check these issues", or shares a batch of code concerns with file paths and descriptions — even if they don't call them "flags" explicitly.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-skills:flag-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You've been given a set of flags from an AI code reviewer. Your job is to efficiently triage them — separating signal from noise — and auto-fix what you can.
You've been given a set of flags from an AI code reviewer. Your job is to efficiently triage them — separating signal from noise — and auto-fix what you can.
Each flag typically contains:
Flags vary widely in quality. Some are genuinely important (real bugs, security issues, correctness problems). Many are informational observations dressed up as concerns, or things the codebase already handles. Your job is to figure out which is which by actually reading the code.
Read through all the flags and extract each one as a discrete item. Then spawn one subagent per flag, all in parallel. Each subagent investigates a single flag independently.
The subagent prompt should follow this structure:
You are investigating a code review flag to determine if it's actionable.
**Flag title:** <title>
**File:** <file path>
**Flag description:**
<full description>
Instructions:
1. Read the file(s) mentioned in the flag. Read surrounding context too — enough to understand the full picture (related functions, callers, tests, config).
2. Determine a verdict:
- **actionable-fix**: There's a real issue and a clear fix. Apply the fix and describe what you changed.
- **actionable-design**: There's a real issue but fixing it involves a design decision the user should weigh in on. Describe the issue and the options.
- **trivial**: The flag is technically correct but the concern is negligible in practice. Explain briefly why.
- **already-addressed**: The codebase already handles this concern. Point to the specific code that addresses it.
- **invalid**: The flag is wrong — it misunderstands the code or makes an incorrect claim. Explain what it got wrong.
3. Return your verdict as structured output:
- verdict: one of the five categories above
- confidence: high / medium / low
- summary: 1-2 sentence explanation of your conclusion
- details: fuller explanation with code references
- changes_made: list of files modified (empty if none)
Give each subagent the general-purpose type so it has full tool access to read code, search the codebase, and make edits.
Once all subagents return, organize the results into a clear summary for the user. Group by verdict category:
For each actionable-fix flag: show the flag title, a one-line summary of what was changed, and the files modified. Keep it brief — the user can review the diff.
For each actionable-design flag: show the flag title, explain the issue, and present the options clearly. These are the ones where you need the user's input before proceeding.
For trivial, already-addressed, and invalid flags: list them in a compact table with the title and a short reason for dismissal. Don't belabor these — the user can ask for details on any specific one if they're curious.
npx claudepluginhub phytal/skills --plugin claude-skillsHandles code review feedback rigorously: verifies suggestions, resolves unclear items, implements fixes in priority order. Useful when addressing review comments.
Verifies validity of code review comments, then proposes multiple architectural solutions (not naive fixes) for confirmed issues. Use when addressing review feedback or analyzing comment validity.
Reviews a diff, PR, branch, or path across ten quality dimensions and emits a severity-grouped findings report, then auto-applies fixes via `/cure`.