Skip to main content

address-pr-comments

Triage and fix PR review comments. Reads comments, filters false positives (outdated, misread, wrong context, style preference), validates relevance against current diff, and fixes valid ones with confirmation. Use when: "fix pr comments", "address review feedback", "handle pr feedback".

来源信息

仓库
doodledood/claude-code-plugins
最近来源活动
2026年2月10日 14:53
检测到的 SKILL.md 语言
英语
星标
20
分支
3

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
address-pr-comments
description
Triage and fix PR review comments. Reads comments, filters false positives (outdated, misread, wrong context, style preference), validates relevance against current diff, and fixes valid ones with confirmation. Use when: "fix pr comments", "address review feedback", "handle pr feedback".
**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: 1. **Fix + resolve thread** (recommended) — apply fix, resolve the PR comment thread 2. **Fix only** — apply fix, leave thread unresolved 3. **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" |
在 GitHub 查看