/samocode:create-pr-commentsfrom samocode
Creates GitHub PR review comments from code review findings, posting line-bound comments with severity labels (blocking, important, nice-to-have).
Ships in samocode. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Create GitHub PR review comments bound to specific code lines based on review findings.
gh CLI authenticated with repo access/multi-review, /cleanup, or manual review)$ARGUMENTS can contain:
https://github.com/org/repo/pull/123)123) - will detect repo from git remote--all, --blocking, --important, --nice-to-havePR_URL or PR_NUMBER = extract from $ARGUMENTS
SEVERITY_FILTER = extract from $ARGUMENTS (default: blocking + important)
If PR not specified, ask user for PR URL or number.
# If URL provided, extract owner/repo/number
# If only number, detect from git remote:
gh api repos/{owner}/{repo}/pulls/{number} --jq '{headRefOid: .head.sha, headRefName: .head.ref}'
Store:
COMMIT_SHA = head commit SHABRANCH_NAME = head ref nameCheck conversation context for review findings from:
/multi-review output/cleanup outputIf no findings in context, ask user to provide them or run a review first.
Based on SEVERITY_FILTER:
--all: Include all findings--blocking: Only blocking issues--important: Only important issues--nice-to-have: Only nice-to-have issuesFor each finding:
gh api repos/{owner}/{repo}/pulls/{number}/files --jq '.[] | select(.filename == "PATH") | .patch'
For each finding, create a line-bound PR comment:
gh api repos/{owner}/{repo}/pulls/{number}/comments \
-f body='COMMENT_BODY' \
-f commit_id="COMMIT_SHA" \
-f path="FILE_PATH" \
-F line=LINE_NUMBER \
-f side="RIGHT"
Comment format by severity:
🚫 **BLOCKING: [Title]**⚠️ **IMPORTANT: [Title]**💡 **Nice-to-have: [Title]**Include:
Exclude from comments:
Output summary:
Created X PR comments on PR #N:
| File | Line | Severity | Issue |
|------|------|----------|-------|
| ... | ... | ... | ... |
PR: [URL]
gh not authenticated: "Please run gh auth login first"# After running /multi-review
/create-pr-comments https://github.com/org/repo/pull/123
# Only blocking issues
/create-pr-comments 123 --blocking
# All issues including nice-to-have
/create-pr-comments 123 --all
# From current repo
/create-pr-comments 123
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
20 skills in this plugin
/claudeRun Anthropic Claude CLI as a subagent for second opinions, code reviews, and questions. Use from a Codex (or other) session when you want Claude's perspective./code-clarityReview changed code for human comprehension cost — names, local reasoning, hidden state, working-memory load — and report findings with an impact/cost/risk assessment table. Review-only; never modifies code. Use when asked for a clarity review, readability review, comprehension-cost analysis of a diff/PR, or when running /code-clarity. Works in Claude Code and Codex./codexRun OpenAI Codex CLI as a subagent for second opinions, code reviews, and questions. Use when you want a different AI model's perspective.Generated from the plugin's indexed repository (yuvasee/samocode) — no native marketplace selected
npx claudepluginhub p/yuvasee-samocodeOther plugins' skills for the same job