address-pr-comments
User request: $ARGUMENTS
If no PR specified: Detect PR from current branch. If detection fails, report and stop.
Default scope: All unresolved comments on the PR.
Goal
Classify all unresolved PR comments against false positive criteria, report triage findings, then fix actionable items with user confirmation per fix.
False Positive Detection
| Type | Detection Signal |
|---|---|
| Outdated | Suggested change already exists in code; commit history shows it was addressed |
| Misread code | Comment's premise contradicts what code actually does |
| Wrong context | Comment references behavior/variables not present in the target code |
| Style preference | No functional or readability improvement—evaluate substance, not reviewer's tone. Naming changes that aid comprehension are actionable, not style preference |
| Resolved in thread | Reply discussion shows issue was already addressed or withdrawn |
Classification:
- Strong false-positive signal →
false-positive - Real issue with clear fix →
actionable - Unclear validity →
uncertain(report, don't fix)
Output
Triage report: Classification, reasoning, and summary counts for each comment. Format flexibly based on volume.
Per-fix flow: For each actionable item, show original comment and proposed change, then ask user to confirm with these options:
- Fix + resolve thread (recommended) — apply fix, resolve the PR comment thread
- Fix only — apply fix, leave thread unresolved
- Skip — don't apply this fix
Completion summary: After all items processed, summarize actions taken (fixes applied, false positives skipped, uncertain items flagged).
Constraints
| Constraint | Enforcement |
|---|---|
| Verify before classifying | Read actual code and reply threads; never classify from comment text alone |
| Conservative on fixes | Uncertain → report only |
| Explain rejections | Every false-positive needs reasoning |
| Per-fix confirmation | User confirms each fix individually |
| Resolve only when chosen | Only resolve threads or reply to comments when user selects "Fix + resolve" |
More from doodledood/claude-code-plugins
scrollytelling
Implements scroll-driven storytelling experiences with pinned sections, progressive reveals, and scroll-linked animations. Use when asked to build scrollytelling, scroll-driven animations, parallax effects, narrative scroll experiences, or story-driven landing pages.
128research-web
Deep web research with parallel investigators, multi-wave exploration, and structured synthesis. Spawns multiple web-researcher agents to explore different facets of a topic simultaneously, launches additional waves when gaps are identified, then synthesizes findings. Use when asked to research, investigate, compare options, find best practices, or gather comprehensive information from the web.\n\nThoroughness: quick for factual lookups | medium for focused topics | thorough for comparisons/evaluations (waves continue while critical gaps remain) | very-thorough for comprehensive research (waves continue until satisficed). Auto-selects if not specified.
21decide
Personal decision advisor for QUALITY over speed. Exhaustive discovery, option finding, sequential elimination, structured analysis. Use for investments, purchases, career, life decisions. Surfaces hidden factors, tracks eliminations with reasons, confident recommendations. Triggers: help me decide, should I, which should I choose, compare options, what should I do, weighing options.
20human-writing
Research-backed principles for writing prose that avoids AI tells. Apply when writing articles, blog posts, emails, marketing copy, social media, or any prose content. Covers vocabulary, structure, tone, rhythm, and craft techniques that make writing feel authentically human. Not for code, commit messages, or technical documentation.
15optimize-prompt-token-efficiency
Iteratively optimizes prompts for token efficiency by maximizing information density - reduces verbosity, removes redundancy, tightens phrasing while preserving semantic content. Use when asked to compress, shorten, reduce tokens, tighten, maximize density, increase information density, or make a prompt more concise.
13prompt-engineering
Craft or update LLM prompts from first principles. Use when creating new prompts, updating existing ones, or reviewing prompt structure. Ensures prompts define WHAT and WHY, not HOW.
13