jhlee0409/all-for-claudecode/resolve
Claude Code and agent skill by jhlee0409/all-for-claudecode
- community
Checking that the SKILL.md file is still in the repository.
Address LLM bot review comments on PR — fix valid issues, dismiss false positives
Install
npx vskill@latest install jhlee0409/all-for-claudecode/resolveSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as jhlee0409/all-for-claudecode/resolve.
/afc:resolve — LLM Review Comment Resolution
Collects LLM bot review comments from a PR, classifies as VALID/NOISE/DISCUSS, fixes VALID items, resolves addressed threads on GitHub, and outputs a summary report.
Arguments
$ARGUMENTS— (required) Any format that identifies a PR (number, URL, cross-repo, etc.)
PR Context
!gh pr view $(echo "$ARGUMENTS" | grep -oE '[0-9]+' | head -1) --json url,title,headRefName,comments 2>/dev/null || echo "PR_FETCH_FAILED"
Execution Steps
1. Prerequisites
Fails → [afc:resolve] Error: gh CLI not installed or not authenticated. → abort.
2. Identify PR
Extract PR number from $ARGUMENTS by intent. If owner/repo info is included, use --repo flag. Otherwise derive via gh repo view --json owner,name.
If "PR Context" above shows PR_FETCH_FAILED, parse $ARGUMENTS manually and retry.
3. Collect Review Data
Also fetch review threads for resolve (Step 8). See graphql.md for the query.
4. Filter Bot Comments
Keep only comments from authors whose login ends with [bot]. Tag outdated comments as [OUTDATED].
0 bot comments → No LLM bot review comments found on PR #{number}. → exit.
5. Check Working Tree
Dirty → list files, ask user to confirm before proceeding.
6. Classify
Read each comment's target file (±10 lines context), then classify:
| Class | When | Action | |
|---|---|---|---|
| VALID | Objectively verifiable bug, single fix approach, resolvable within existing code | Fix | |
| NOISE | Style preference, intentional design, false positive, [OUTDATED] | Skip | |
| DISCUSS | Requires judgment (new dependency, tradeoff, threshold, API change, etc.) | Ask |
Key: when in doubt, classify as DISCUSS. Be conservative with VALID.
7. Present Summary
MUST output before any code changes:
8. Handle DISCUSS
Each item → present comment, target code (5 lines), tradeoff → ask user:
- Apply → move to VALID
- Skip → move to NOISE
- Defer → stays DISCUSS
9. Apply Fixes
For each VALID item:
- Read target file
- Apply minimal fix via Edit
- Verify modified area
Feedback loop: after all fixes, run project tests if available. If tests fail → diagnose and fix → rerun. Repeat until pass or user decides to stop.
10. Resolve Threads on GitHub
See graphql.md for the mutation.
| Classification | Resolve? | |
|---|---|---|
| VALID (fixed) | Yes | |
| NOISE | Yes (user decided to skip) | |
| DISCUSS-Apply | Yes | |
| DISCUSS-Skip | Yes | |
| DISCUSS-Defer | No (revisit later) | |
| Already resolved | Skip |
GraphQL failure → warn, do not abort.
11. Commit
No fixes applied → skip to Step 12.
Show summary + resolved thread count → wait for user confirmation (NFR-003).
Do NOT push.
12. Output Report
MUST always output, even if interrupted:
Completion Guarantee
MUST reach Step 12 before returning control. If user sends unrelated request mid-flow → output partial report with [INTERRUPTED] → then address new request.
Notes
- Human comments are ignored (use
afc:review). No auto-push. Thread resolution needsreposcope. - Idempotent: re-run skips already-addressed comments and resolved threads.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/resolve/SKILL.md
Popularity
- Repository stars
- 7
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jhlee0409/all-for-claudecode/resolve)