Loading...
Loading...
Review a pull request diff and write structured feedback to review.json for the workflow to publish. Use when reviewing a checked-out PR from local artifacts like pr_diff.txt and pr_description.txt and producing machine-readable review output instead of posting directly to GitHub.
npx skill4agent add warpdotdev/common-skills review-prreview.jsonpr_diff.txtpr_description.txt[OLD:n]"LEFT"[NEW:n]"RIGHT"[OLD:n,NEW:m]"RIGHT"m🚨 [CRITICAL]⚠️ [IMPORTANT]💡 [SUGGESTION]🧹 [NIT]<replacement code here>start_linelinereview.json{
"summary": "## Overview\n...\n\n## Concerns\n- ...\n\n## Verdict\nFound: 1 critical, 2 important, 3 suggestions\n\n**Request changes**",
"comments": [
{
"path": "path/to/file",
"line": 42,
"side": "RIGHT",
"start_line": 40,
"body": "⚠️ [IMPORTANT] Short explanation\n\n```suggestion\nreplacement\n```"
}
]
}pathlinestart_lineside"LEFT""RIGHT"summaryFound: X critical, Y important, Z suggestionsApproveApprove with nitsRequest changesreview.jsonjqgh pr reviewgh pr commentgh apireview.json