본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)8.0k · #12680

gh-cli

하는 일

웹에서 직접 가져오는 대신 gh 명령줄 도구로 GitHub 작업을 하도록 AI를 안내합니다. GitHub 저장소, 풀 리퀘스트, 이슈로 작업하는 개발자를 위한 것입니다.

사용하는 경우

  • ✓개발자가 AI에게 GitHub 풀 리퀘스트, 이슈 또는 저장소를 읽고 요약해 달라고 할 때.
  • ✓개발자가 비공개 GitHub 저장소에 접근해야 할 때.
  • ✓AI가 curl이나 웹 도구로 GitHub 내용을 가져오려고 하는 경우.

스킬 링크

https://github.com/trailofbits/skills/blob/main/plugins/gh-cli/skills/gh-cli/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/trailofbits/skills/blob/main/plugins/gh-cli/skills/gh-cli/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“우리 팀 GitHub 저장소의 123번 풀 리퀘스트를 보고 요약해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 스킬은 AI에게 웹 요청 대신 gh 명령을 쓰라고 알려 줍니다. gh 명령은 사용자 계정의 인증으로 실행됩니다. 파일을 로컬에서 읽도록 저장소를 복제하는 방법도 제안합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

gh-cli

When to Use

  • Working with GitHub repositories, pull requests, issues, releases, or raw file URLs.
  • You need authenticated access to private repositories or higher API rate limits.
  • You are about to use curl, wget, WebFetch, or an MCP fetch tool against GitHub.

When NOT to Use

  • The target is not GitHub.
  • Plain local git operations already solve the task.

Guidance

Prefer the authenticated gh CLI over raw HTTP fetches for GitHub content. In particular:

  • Prefer gh repo view, gh pr view, gh pr list, gh issue view, and gh api over unauthenticated curl or wget.
  • Prefer cloning a repository and reading files locally over fetching raw.githubusercontent.com blobs directly.
  • Avoid using GitHub API /contents/ endpoints as a substitute for cloning and reading repository files.

Examples:

gh repo view owner/repo
gh pr view 123 --repo owner/repo
gh api repos/owner/repo/pulls

For the hook implementation, see:

  • plugins/gh-cli/README.md
  • plugins/gh-cli/hooks/
자주 묻는 질문

그냥 웹 링크를 쓰면 안 되나요?

인증된 도구는 비공개 저장소와 더 높은 요청 한도에 접근할 수 있다고 설명합니다.

GitHub가 아닌 사이트에도 적용되나요?

아니요. GitHub 내용만 대상으로 합니다.

gh에 먼저 로그인해야 하나요?

이 스킬은 gh가 인증되어 있다고 가정하며, 그래야 비공개 저장소에 접근할 수 있습니다.

상세 정보

작성자의 원본 설명

Enforces authenticated gh CLI workflows over unauthenticated curl, WebFetch, and MCP fetch patterns. Use when working with GitHub URLs, API access, pull requests, or issues.

repo: trailofbits/skills

인기도

GitHub 스타
8.0k
순위
#12680
라이선스
CC-BY-SA-4.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬