wong2/diffx/diffx-finish-review

Claude Code and agent skill by wong2/diffx

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Finish a code review session by fetching comments from the running diffx server, applying requested changes, and marking comments as resolved. Use when the user invokes /diffx-finish-review.

Install

npx vskill@latest install wong2/diffx/diffx-finish-review

SKILL.md

Finish diffx Review

Fetch all review comments from the running diffx server, apply the requested changes, and mark each comment as resolved.

What to do

1. Fetch comments from the API

The diffx server is running locally. Check the earlier conversation context for the port diffx reported on startup. Fetch all comments:

bash
curl -s http://localhost:<port>/api/comments

Replace <port> with the port number diffx reported on startup (visible in the server log output).

The response is a JSON array of comment objects:

json
[
{
"id": "uuid",
"filePath": "src/utils/parser.ts",
"side": "additions",
"lineNumber": 42,
"lineContent": "const x = tokenize(input)",
"body": "Rename x to parsedToken for clarity",
"status": "open",
"createdAt": 1234567890,
"replies": []
}
]
2. Process each comment

For each comment with "status": "open", first determine the intent — is it a change request or a question?

Change requests (e.g., "Rename x to parsedToken", "Extract this into a helper")
  1. Read the file at filePath
  2. Find the relevant code using lineContent as context
  3. Apply the change described in body
  4. Reply to the comment explaining what you did, then mark it as resolved:
bash
# Reply to the comment
curl -s -X POST http://localhost:<port>/api/comments/<id>/replies \
-H "Content-Type: application/json" \
-d '{"body": "Done. Renamed x to parsedToken."}'
# Mark as resolved
curl -s -X PUT http://localhost:<port>/api/comments/<id> \
-H "Content-Type: application/json" \
-d '{"status": "resolved"}'
Questions (e.g., "Why not use a Map here?", "Is this thread-safe?")

Just reply with an answer. Do not modify code or resolve the comment — leave it open for the user to read and follow up if needed.

bash
curl -s -X POST http://localhost:<port>/api/comments/<id>/replies \
-H "Content-Type: application/json" \
-d '{"body": "A Map would work too, but we use a plain object here because..."}'

The side field tells you whether the comment is on an added line (additions) or a deleted line (deletions).

3. Handle edge cases
  • If a comment is ambiguous, reply to ask for clarification rather than guessing.
  • If multiple comments interact (e.g., a rename that affects several places), handle them together.
  • If there are no open comments, tell the user there's nothing to process.
4. Summary

After processing all comments, give a brief summary of what you did: how many changes were applied, how many questions were answered.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
159
Repository forks
24
7-day trend score
25

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/wong2/diffx/diffx-finish-review/badge)](https://verified-skill.com/skills/wong2/diffx/diffx-finish-review)

Something wrong with this skill or its page? Tell us.