github-pr-comments
Use for drafting, verifying, or posting actionable GitHub PR review comments
Skill by OrestesK
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/orestesk-github-pr-comments-f52d8f
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/github-pr-comments
What's inside
- Skill name
github-pr-comments- Description
- Use for drafting, verifying, or posting actionable GitHub PR review comments
- License
- MIT
- Instructions
- 339 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# GitHub PR Comments Use this skill to turn reviewed findings into useful GitHub comments. It covers drafting, formatting, verification, and authorized posting it does not replace code review. Load `review` for the review itself and `github` for GitHub CLI rules ## Core Rules - Use `gh` only for GitHub operations. Never use GitHub MCP - Recheck the PR head immediately before quoting or posting comments - Verify every finding from source, diff, checks, docs, prior comments, and the selected proof method - Use the selected proof method. Do not run a live, external, credentialed, or effectful probe until its approval gate allows it. If a meaningful live check does not run, name the strongest non-live evidence and say what live behavior remains unchecked - State assumptions. If a finding depends on one, ask it as a question - drop it when the assumption is weak or unverifiable - Drop speculative "what if" nits unless the user explicitly asks for exhaustive hypotheticals - Prioritize concrete, evidence-backed comments about simplification, design, architecture, structure, source-of-truth ownership, deduplication, typing boundaries, and existing-pattern reuse - Other minor nits require the user's explicit selection before posting - Keep language casual, direct, and code-focused. No filler, praise padding, or performative politeness These rules combine GitHub review conventions with the user's preference for concise, evidence-backed comments ## Preflight Checklist Before drafting comments: 1. Load `github` and `review` skills if not already loaded 2. Identify repo and PR number 3. Recheck PR metadata: ```bash gh pr view <PR> --json headRefOid,state,updatedAt,changedFiles,additions,deletions,title,url ``` 4. Recheck checks when relevant: ```bash gh pr checks <PR> ``` 5. Get the diff/patch for inline anchor validation: ```bash gh pr diff <PR> --patch > /tmp/pr-<PR>.diff ``` 6. Read relevant current files at the reviewed head, not stale local assumptions. Use one of these read-only paths: ```bash # First compare local HEAD to the fetched PR headRefOid: LOCAL_HEAD=$(git rev-parse HEAD) test "$LOCAL_HEAD" = "<HEAD_SHA>" # Only if that equality check passes, local file reads are valid. # Otherwise read a file from the PR head without checkout: git show <HEAD_SHA>:path/to/file # Or, for remote-only review: gh api 'repos/<owner>/<repo>/contents/path/to/file?ref=<HEAD_SHA>' --jq .content | base64 -d ``` If `git rev-parse HEAD` does not equal the fetched PR `headRefOid`, do not trust local file reads for PR-head evidence. Do not use `git checkout`, `git switch`, `git reset`, or other mutating git commands just to inspect PR contents 7. Read existing comments by default to avoid duplicate/noisy feedback: ```bash gh api --paginate 'repos/<owner>/<repo>/pulls/<PR>/comments?per_page=100' gh api --paginate 'repos/<owner>/<repo>/pulls/<PR>/reviews?per_page=100' gh api --paginate 'repos/<owner>/<repo>/issues/<PR>/comments?per_page=100' ``` Skip this only when the user explicitly says duplicate checking is unnecessary 8. If the PR head changes while drafting, restart verification against the new head ## Finding Filter Post only findings that pass all gates: - **Evidence:** Direct source/diff/test/docs/CI evidence exists - **Claim-bound proof:** The selected proof method directly supports the claim. If live proof did not run, name the strongest non-live evidence and the live behavior that remains unchecked - **Impact:** The comment explains why it matters - **Actionability:** The author can fix it, answer a focused question, or intentionally decline it - **Scope:** The issue belongs to this PR, not unrelated old code - **Signal:** The comment is worth the notification/noise cost. Architecture/design/simplification issues get higher priority than cosmetic or preference nits - **No speculation:** The comment does not rely on an invented "what if" unless the risk is direct and realistic - **Assumptions listed:** Any assumption is explicit, separated from evidence, and phrased as a question instead of a fact Drop or downgrade: - linter/style issues that automation should catch, - personal taste without a repo pattern, - minor non-architecture/non-design/non-simplification nits unless the user explicitly approves posting them, - huge refactors not required for the current PR, - generic architecture essays that can be split into specific comments, - uncertain claims that cannot be verified - ask a question or mark as not 100% instead, - claims whose selected proof method was skipped or replaced with weaker evidence without justification, - assumption-led comments where the assumption is likely wrong, unimportant, or not worth asking about ## General vs Inline Placement Use **inline comments** for: - a concrete issue on a changed line, - a local simplification/refactor at one spot, - a type/API problem visible at a specific declaration, - a test/doc issue anchored to a new/changed line Use the **review body / general PR comment** for: - cross-cutting architecture feedback, - comments spanning multiple files, - scope/product questions, - findings whose exact best anchor is not changed/commentable, - summary of verification and review rubric Do not force an inline comment onto a bad line. If the anchor is not commentable in the diff, move it to the review body ## Comment Shape Use this shape for each postable comment. Keep it concise but complete ```markdown <casual opening sentence / focused question>
From OrestesK/pi, MIT.
More from OrestesK/pi
- 0.563score
skill-authoring
OrestesK
Create, review, or make substantial changes to local Pi skills.
SkillBFreshness: B★ 2Claude Code +9 - 0.559score
browser-use
OrestesK
Use for navigating websites, testing web interfaces, filling forms, taking screenshots, or extracting web data when no other available tool meets the need
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
notion-documents
OrestesK
Write, edit, and format Notion documents.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
durable-memory
OrestesK
Curate durable Markdown memories.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
code-intelligence
OrestesK
Use when you need to find code ownership, structure, symbols, types, references, call relationships, structural patterns, or diagnostics
SkillBFreshness: B★ 2Claude Code +9 - 0.556score
session-reader
OrestesK
Use for reading or analyzing Pi session JSONL files and session history
SkillBFreshness: B★ 2Claude Code +9 - 0.556score
excalidraw-skill
OrestesK
Use for creating, refining, validating, or exporting Excalidraw technical diagrams
SkillBFreshness: B★ 2Claude Code +9 - 0.556score
grill-me
OrestesK
Manually interview the user about a plan or design until shared understanding is reached
SkillBFreshness: B★ 2Claude Code +9 - 0.554score
writing-plans
OrestesK
Use for technical specifications, technical designs, architecture proposals, and implementation plans after the goal is clear
SkillBFreshness: B★ 2Claude Code +9 - 0.551score
brainstorming
OrestesK
Use for refining ambiguous or nontrivial feature, behavior, UI, API, or architecture requests into an approved design
SkillBFreshness: B★ 2Claude Code +9 - 0.551score
github
OrestesK
Use for GitHub pull requests, issues, CI workflows, and API queries
SkillBFreshness: B★ 2Claude Code +9 - 0.551score
systematic-debugging
OrestesK
Use for investigating bugs, test failures, crashes, flaky behavior, build failures, or unexpected output
SkillBFreshness: B★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 11, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/OrestesK/pi
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from OrestesK
- 0.570score
authenticated-web-access
OrestesK
Reuse an existing browser login for bounded authenticated website requests when the user asks to read site data, download a file, inspect a network-backed…
SkillAFreshness: AClaude Code +9 - 0.567score
excalidraw-skill
OrestesK
Use for planning, creating, refining, validating, or exporting Excalidraw technical diagrams, including text-only layout proposals before drawing
SkillAFreshness: AClaude Code +9 - 0.565score
pr-slack-post
OrestesK
Draft a short Slack message that posts a pull request for review.
SkillAFreshness: AClaude Code +9 - 0.565score
pi-config
OrestesK
Write and maintain clear, consistent Oh My Pi configuration.
SkillAFreshness: AClaude Code +9 - 0.565score
skill-authoring
OrestesK
Write or revise reusable skill instructions.
SkillAFreshness: AClaude Code +9 - 0.564score
grill-me
OrestesK
Manually interview the user about a plan, design, or idea until shared understanding is reached
SkillAFreshness: AClaude Code +9
Cite this page
github-pr-comments skill. Agent Mart. https://agentmart.dev/skills/orestesk-github-pr-comments-f52d8f (last updated 2026-10-24)