ワンクリックで
view-pr-github
View GitHub PR status/details using GitHub MCP tools (preferred) or gh CLI (fallback).
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
View GitHub PR status/details using GitHub MCP tools (preferred) or gh CLI (fallback).
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | view-pr-github |
| description | View GitHub PR status/details using GitHub MCP tools (preferred) or gh CLI (fallback). |
Read pull request status/details from GitHub.
Priority order:
scripts/pr-github.sh wrapper (for create/merge only)gh CLI as final fallbackUse this skill for read-only PR inspection (status, checks, reviewers, files, body). For creating/merging PRs, use the create-pr-github skill.
Use these GitHub MCP tools for PR operations:
github-mcp-server-pull_request_read
method: "get"
owner: "oocx"
repo: "tfplan2md"
pullNumber: 123
Returns: PR number, title, state, body, author, timestamps, merge status, etc.
github-mcp-server-pull_request_read
method: "get_diff"
owner: "oocx"
repo: "tfplan2md"
pullNumber: 123
Returns: Full diff of the PR changes
github-mcp-server-pull_request_read
method: "get_status"
owner: "oocx"
repo: "tfplan2md"
pullNumber: 123
Returns: Status of CI/CD checks, required checks, conclusion
github-mcp-server-pull_request_read
method: "get_files"
owner: "oocx"
repo: "tfplan2md"
pullNumber: 123
perPage: 100
Returns: List of files changed with stats (additions, deletions, changes)
github-mcp-server-pull_request_read
method: "get_review_comments"
owner: "oocx"
repo: "tfplan2md"
pullNumber: 123
perPage: 100
Returns: Code review comments with file paths, line numbers, and comment bodies
github-mcp-server-pull_request_read
method: "get_reviews"
owner: "oocx"
repo: "tfplan2md"
pullNumber: 123
perPage: 100
Returns: Review submissions with state (APPROVED, CHANGES_REQUESTED, etc.)
github-mcp-server-pull_request_read
method: "get_comments"
owner: "oocx"
repo: "tfplan2md"
pullNumber: 123
perPage: 100
Returns: General conversation comments on the PR
github-mcp-server-list_pull_requests
owner: "oocx"
repo: "tfplan2md"
state: "open" # or "closed", "all"
perPage: 30
page: 1
Returns: List of PRs with basic metadata
⚠️ Only use when GitHub MCP tools are unavailable
gh, use a non-interactive pager for every gh call:
GH_PAGER=cat (gh-specific, overrides gh's internal pager logic)GH_FORCE_TTY=false to reduce TTY-driven behavior--json) and keep output small with --jq when practicalgh ... without GH_PAGER=cat (it may open less and block)gh config set ...)gh PatternsUse this prefix for every command:
GH_PAGER=cat GH_FORCE_TTY=false gh ...
GH_PAGER=cat GH_FORCE_TTY=false gh pr view <pr-number> \
--json number,title,state,isDraft,url,mergeStateStatus,reviewDecision
GH_PAGER=cat GH_FORCE_TTY=false gh pr view <pr-number> \
--json statusCheckRollup \
--jq '.statusCheckRollup[] | {name, status, conclusion}'
GH_PAGER=cat GH_FORCE_TTY=false gh pr view <pr-number> \
--json latestReviews,reviewRequests \
--jq '{latestReviews: [.latestReviews[] | {author: .author.login, state, submittedAt}], reviewRequests: [.reviewRequests[].login]}'
scripts/pr-github.sh create / scripts/pr-github.sh create-and-mergegh CLI when (rare)gh api for custom calls)Rule of thumb: Always start with GitHub MCP tools; only fall back to wrapper scripts for create/merge, and only use gh CLI as final resort.
Minimum-requirements checklist for any change — code or docs-only. Run this before every PR creation or push to avoid CI failures on the first attempt.
Generate PNG screenshots for release notes using the repository's HtmlRenderer and ScreenshotGenerator tools. Use when asked to add screenshots to release notes or documentation.
Determine the next available issue number across all change types (feature, fix, workflow) by checking both local docs and remote branches, then reserve it by pushing an empty branch.
Convert the mermaid diagram in docs/agents.md to a blueprint-styled SVG for the website. Use when the workflow diagram in agents.md is updated and needs to be reflected on the website.
Run a focused accessibility pass for website changes (WCAG 2.1 AA-oriented).
Create and update interactive examples for the Eleventy website using page entrypoints and src/examples fragments.