一键导入
pr-comments
Fetch, assess, and address PR review comments — fix valid ones, explain why invalid ones are skipped, reply with commit links, and resolve threads.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Fetch, assess, and address PR review comments — fix valid ones, explain why invalid ones are skipped, reply with commit links, and resolve threads.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Review a PR (by link or from current context) or the current feature branch using a multi-model, verification-first workflow.
Summarize the recent work done in the current Claude context into today's Obsidian daily note (daily/YYYY-MM-DD.md), merging without duplicating. Use when the user says "obsidian daily", "log my work to obsidian", "update my daily note", or asks to record today's work into their Obsidian vault.
Create a good pull request
Pull latest main, switch to it, then assess and clean up merged branches and worktrees for a given repo
Create a meaningful git commit message based on current changes.
GitHub Actions workflow standards for this repository. Use when reviewing or fixing GitHub Actions workflows to enforce security hardening, permissions, and operational conventions.
| name | pr-comments |
| description | Fetch, assess, and address PR review comments — fix valid ones, explain why invalid ones are skipped, reply with commit links, and resolve threads. |
| argument-hint | ["pr-url | pr-number | owner/repo#number"] |
When invoked, follow this workflow automatically:
gh api repos/{owner}/{repo}/pulls/{number}/comments to get all review commentsFor each unresolved comment:
--signoff using a descriptive message that references the PR commentsFor each comment, determine if it is a review thread comment (inline code comment on the diff) or a top-level issue comment (posted on the PR conversation tab):
pull_request_review_id and a path/line — fetch via gh api repos/{owner}/{repo}/pulls/{number}/commentsgh api repos/{owner}/{repo}/issues/{number}/commentsIf fixed:
Addressed in https://github.com/{owner}/{repo}/commit/{sha})resolveReviewThread mutation> text) so readers have context without needing to scroll — no resolve step neededIf declined:
If out of scope:
gh api, pass the full JSON body via stdin using cat <<'EOF' | gh api ... --input -. The -f/-F flags cannot properly serialize the comments array and will produce 422 errors