一键导入
fix-review
Analyze and apply unresolved PR review comment fixes. Use when user provides a GitHub PR URL with review comments to address, or asks to fix PR feedback.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze and apply unresolved PR review comment fixes. Use when user provides a GitHub PR URL with review comments to address, or asks to fix PR feedback.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Interactive inbox cleanup with PARA categorization and AI-optimized formatting
Generate project-specific CLAUDE.md with domain instructions, workflows, templates. Analyzes codebase, asks clarifying questions, produces tailored instructions.
| name | fix-review |
| description | Analyze and apply unresolved PR review comment fixes. Use when user provides a GitHub PR URL with review comments to address, or asks to fix PR feedback. |
Process unresolved review comments from $1, categorize validity, apply approved fixes.
PR-URL (required) — GitHub PR URL, e.g. https://github.com/owner/repo/pull/123--auto — non-interactive: auto-apply valid fixes, skip questionable, auto-commitIn interactive mode, start with EnterPlanMode and remain in plan mode through Phase 2.
OWNER=$(sed 's|.*github.com/\([^/]*\)/.*|\1|' <<< "$1")
REPO=$(sed 's|.*github.com/[^/]*/\([^/]*\)/.*|\1|' <<< "$1")
PR=$(sed 's|.*/pull/\([0-9]*\).*|\1|' <<< "$1")
Read references/templates.md for the GraphQL query and response filtering.
Read references/examples.md in full before categorizing — contains criteria definitions, validation gates, and few-shot examples.
For each comment, reason explicitly:
1. What does reviewer request? → [extract specific request]
2. What code does it reference? → [verify in diff via Read]
3. Is suggestion technically correct? → [validate against language/framework]
4. Does similar code exist? → [Grep codebase]
5. Would change break functionality? → [trace execution path]
6. Is defensive code already present? → [check guards/validation]
Conclusion: Valid/Invalid/Questionable because [specific reason]
Language context: Go → Effective Go, error handling, concurrency; Python → PEP 8, type hints; Rust → API Guidelines, ownership; TypeScript → type safety; Bash → Google Shell Style Guide.
Read the presentation format in references/templates.md and use it to group findings by category.
Skip this phase when --auto is passed.
Call ExitPlanMode, then for each questionable comment use AskUserQuestion with these option types:
Add to valid or skip based on response.
For each approved fix, verify against validation gates in references/examples.md, then:
After all edits:
git status
git diff
# Run tests (non-blocking)
npm test 2>/dev/null || pytest 2>/dev/null || go test ./... 2>/dev/null || cargo test 2>/dev/null || true
Auto mode only — commit after valid fixes applied:
git add .
git commit -s -S -m "fix: address PR review comments"
Summary: Fixed N/M unresolved review comments
Applied: ✓ N valid fixes across K files
Skipped: ? X questionable ✗ Y invalid
Changes: [staged and committed | NOT staged — manual review required]
Next steps (interactive):
1. git diff — review changes
2. git add -p — stage selectively
3. git commit -s -S — commit
4. Reply to invalid comments on GitHub
~/.claude/CLAUDE.md — fix root cause, never use skip/disable directives