Loading...
Loading...
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.
npx skill4agent add wong2/diffx diffx-finish-reviewcurl -s http://localhost:<port>/api/comments<port>[
{
"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": []
}
]"status": "open"filePathlineContentbody# 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"}'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..."}'sideadditionsdeletions