ソース情報
- リポジトリ
- oocx/tfplan2md-uat
- ソースの最終更新活動
- 2025年12月26日 01:43
- 検出された SKILL.md の言語
- 英語
- スター
- 3
- フォーク
- 0
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
メニュー
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
直接コマンドでは確認用 Prompt が省略されます。実行前にソースを確認してください。
npx skills add https://github.com/oocx/tfplan2md-uat --skill view-pr-githubコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?SkillsMP が現在取得できるファイルをダウンロードできます。
SKILL.md を表示中
SOC 職業分類に基づく
| name | view-pr-github |
| description | View GitHub PR status/details (prefer GitHub chat tools; gh is fallback). |
Read pull request status/details from GitHub.
Preferred: use GitHub chat tools (stable, structured, avoids pager/editor pitfalls).
Fallback: use non-interactive gh patterns.
Use this skill for read-only PR inspection (status, checks, reviewers, files, body). For creating/merging PRs, prefer the repo wrapper scripts (see the create-pr-github skill).
If GitHub chat tools are available in the current session, prefer them for read-only inspection to reduce terminal approvals and avoid pager issues. Typical tool coverage:
mcp_github_get_pull_requestmcp_github_get_pull_request_filesmcp_github_get_pull_request_commentsmcp_github_get_pull_request_reviewsmcp_github_get_pull_request_statusUse the gh CLI patterns below only when there is no matching chat tool (or you need gh api flexibility).
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 practical.gh ... without GH_PAGER=cat (it may open less and block).gh config set ...).Use chat tools for:
If a tool exists that directly answers the question, use it. If not, use the gh fallback patterns below.
Use 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]}'
These are the “issue comments” on the PR conversation.
GH_PAGER=cat GH_FORCE_TTY=false gh api \
--paginate \
"/repos/{owner}/{repo}/issues/<pr-number>/comments" \
--jq '.[] | {author: .user.login, createdAt: .created_at, url: .html_url, body: .body}'
These are the code-review comments attached to specific lines/paths in the diff.
GH_PAGER=cat GH_FORCE_TTY=false gh api \
--paginate \
"/repos/{owner}/{repo}/pulls/<pr-number>/comments" \
--jq '.[] | {author: .user.login, createdAt: .created_at, url: .html_url, path: .path, line: .line, side: .side, body: .body}'
GH_PAGER=cat GH_FORCE_TTY=false gh pr view <pr-number> --json files \
--jq '.files[].path'
GH_PAGER=cat GH_FORCE_TTY=false gh pr view <pr-number> --json body --jq '.body'
scripts/pr-github.sh create / scripts/pr-github.sh create-and-merge.gh patterns.gh CLI vs GitHub Chat Toolsgh CLI whengh api flexibility).gh.Rule of thumb: if a GitHub chat tool can fetch the data you need, use it; otherwise use GH_PAGER=cat GH_FORCE_TTY=false gh ... (or gh api) from this skill.