Skip to main content

github-gh-cli

Inspect GitHub pull requests, issues, workflow runs, and API data with the gh CLI. Use when the user wants repository facts from GitHub without opening the browser, especially for PR status, CI failures, issue lists, or structured JSON output.

소스 정보

저장소
huangruiteng/CS-Notes
최근 소스 활동
2026년 4월 27일 11:14
감지된 SKILL.md 언어
영어
스타
3,999
포크
481

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
github-gh-cli
description
Inspect GitHub pull requests, issues, workflow runs, and API data with the gh CLI. Use when the user wants repository facts from GitHub without opening the browser, especially for PR status, CI failures, issue lists, or structured JSON output.
# GitHub GH CLI ## Use this skill when Use this skill when the task is about GitHub data and `gh` is the fastest path: - pull request status or checks; - recent workflow runs or failed jobs; - issue or PR lists; - structured JSON output for scripting; or - GitHub API queries not covered by simpler commands. ## Working rules - Prefer `gh` over browser navigation when command-line access is enough. - Prefer `--json` and `--jq` when you need structured results. - When outside the target repository, pass `--repo owner/repo` explicitly. - If auth is missing, ask the user to handle `gh auth login`; do not attempt interactive credential setup yourself. ## Common commands ### Pull requests ```bash gh pr view 123 --repo owner/repo gh pr checks 123 --repo owner/repo gh pr list --repo owner/repo --limit 20 ``` ### Actions / CI ```bash gh run list --repo owner/repo --limit 10 gh run view <run-id> --repo owner/repo gh run view <run-id> --repo owner/repo --log-failed ``` ### Issues ```bash gh issue list --repo owner/repo --limit 20 gh issue list --repo owner/repo --json number,title,state --jq '.[]' ``` ### API ```bash gh api repos/owner/repo/pulls/123 gh api repos/owner/repo/issues --jq '.[].title' ```
GitHub에서 보기