From submit-review
Post a code review with line-level comments to a GitHub PR. Use when the user asks to "submit a review", "post review comments", "add review to PR", or "submit review" and you already have findings to post.
How this skill is triggered — by the user, by Claude, or both
Slash command
/submit-review:submit-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Submit a code review with line-level comments to a GitHub PR using `gh api`.
Submit a code review with line-level comments to a GitHub PR using gh api.
Use this skill when the user wants to post review comments to a GitHub PR. This skill handles the mechanics of submitting the review, not the review analysis itself.
Identify the PR
gh pr view {number} --repo {owner}/{repo} --json headRefOid -q .headRefOidBuild the review JSON
/tmp/review.json with this structure:{
"body": "Review summary",
"event": "COMMENT",
"commit_id": "<head_commit_sha>",
"comments": [
{
"path": "relative/file/path",
"line": 25,
"body": "Comment text"
}
]
}
event must be one of: COMMENT, APPROVE, or REQUEST_CHANGESline is the line number in the diff (right side)path is relative to the repo rootevent type to use if not specifiedPost the review
gh api repos/{owner}/{repo}/pulls/{number}/reviews --input /tmp/review.json
Clean up
/tmp/review.jsonhtml_url field--input flag is required for the comments array. Using -f passes it as a string, not an array, and the API will reject it.commit_id must match the PR's head commit.npx claudepluginhub ffalor/agentic-coding --plugin submit-reviewPosts code review findings as line-bound PR comments via the GitHub CLI. Maps issues to specific lines and supports severity filtering.
Posts friendly review comments to a GitHub PR—prepare locally, preview, then submit as atomic review. Use for code review feedback and inline suggestions.
Guides GitHub PR comment workflows: drafts responses, creates pending reviews via gh CLI, resolves feedback by fixing code or replying per strict style rules.