github
하는 일
이 스킬은 AI가 명령줄에서 GitHub 프로젝트를 다루도록 합니다. 풀 리퀘스트, 이슈, 자동 검사를 포함합니다. GitHub에서 코드를 관리하는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓풀 리퀘스트나 그 자동 검사의 상태를 확인하고 싶을 때.
- ✓GitHub 이슈를 만들고, 닫고, 댓글을 달고 싶을 때.
- ✓워크플로 실행의 로그를 보아야 할 때.
스킬 링크
https://github.com/spinabot/brigade/blob/main/skills/github/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“내 저장소의 풀 리퀘스트 55번 상태와 실패한 검사가 있는지 보여 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 GitHub에 로그인되어 있는지 확인한 뒤, 저장소와 항목 번호를 넣어 GitHub 명령줄 도구를 실행합니다. 항목을 나열, 조회, 생성할 수 있고 워크플로 실행의 로그도 읽을 수 있습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
GitHub Skill
Use the gh CLI to interact with GitHub repositories, issues, PRs, and CI.
When to Use
✅ USE this skill when:
- Checking PR status, reviews, or merge readiness
- Viewing CI/workflow run status and logs
- Creating, closing, or commenting on issues
- Creating or merging pull requests
- Querying GitHub API for repository data
- Listing repos, releases, or collaborators
When NOT to Use
❌ DON'T use this skill when:
- Local git operations (commit, push, pull, branch) → use
gitdirectly - Non-GitHub repos (GitLab, Bitbucket, self-hosted) → different CLIs
- Cloning repositories → use
git clone - Reviewing actual code changes → use
coding-agentskill - Complex multi-file diffs → use
coding-agentor read files directly
Setup
# Authenticate (one-time)
gh auth login
# Verify
gh auth status
Common Commands
Pull Requests
# List PRs
gh pr list --repo owner/repo
# Check CI status
gh pr checks 55 --repo owner/repo
# View PR details
gh pr view 55 --repo owner/repo
# Create PR
gh pr create --title "feat: add feature" --body "Description"
# Merge PR
gh pr merge 55 --squash --repo owner/repo
Issues
# List issues
gh issue list --repo owner/repo --state open
# Create issue
gh issue create --title "Bug: something broken" --body "Details..."
# Close issue
gh issue close 42 --repo owner/repo
CI/Workflow Runs
# List recent runs
gh run list --repo owner/repo --limit 10
# View specific run
gh run view <run-id> --repo owner/repo
# View failed step logs only
gh run view <run-id> --repo owner/repo --log-failed
# Re-run failed jobs
gh run rerun <run-id> --failed --repo owner/repo
API Queries
# Get PR with specific fields
gh api repos/owner/repo/pulls/55 --jq '.title, .state, .user.login'
# List all labels
gh api repos/owner/repo/labels --jq '.[].name'
# Get repo stats
gh api repos/owner/repo --jq '{stars: .stargazers_count, forks: .forks_count}'
JSON Output
Most commands support --json for structured output with --jq filtering:
gh issue list --repo owner/repo --json number,title --jq '.[] | "\(.number): \(.title)"'
gh pr list --json number,title,state,mergeable --jq '.[] | select(.mergeable == "MERGEABLE")'
Templates
PR Review Summary
# Get PR overview for review
PR=55 REPO=owner/repo
echo "## PR #$PR Summary"
gh pr view $PR --repo $REPO --json title,body,author,additions,deletions,changedFiles \
--jq '"**\(.title)** by @\(.author.login)\n\n\(.body)\n\n📊 +\(.additions) -\(.deletions) across \(.changedFiles) files"'
gh pr checks $PR --repo $REPO
Issue Triage
# Quick issue triage view
gh issue list --repo owner/repo --state open --json number,title,labels,createdAt \
--jq '.[] | "[\(.number)] \(.title) - \([.labels[].name] | join(", ")) (\(.createdAt[:10]))"'
Notes
- Always specify
--repo owner/repowhen not in a git directory - Use URLs directly:
gh pr view https://github.com/owner/repo/pull/55 - Rate limits apply; use
gh api --cache 1hfor repeated queries
자주 묻는 질문
로그인이 필요한가요?
네. 스킬이 작동하기 전에 명령줄 도구로 GitHub에 한 번 로그인해야 합니다.
코드 변경을 검토할 수 있나요?
직접은 아닙니다. 코드 변경 검토는 별도의 코딩 에이전트 스킬이 더 잘 다룹니다.
풀 리퀘스트를 병합할 수 있나요?
네. 요청하면 풀 리퀘스트를 병합할 수 있습니다.
상세 정보
작성자의 원본 설명
GitHub operations via `gh` CLI: issues, PRs, CI runs, code review, API queries. Use when: (1) checking PR status or CI, (2) creating/commenting on issues, (3) listing/filtering PRs or issues, (4) viewing run logs. NOT for: complex web UI interactions requiring manual browser flows (use browser tooling when available), bulk operations across many repos (script with gh api), or when gh auth is not configured.
repo: spinabot/brigade
인기도
- GitHub 스타
- 11k
- 순위
- #11721
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
1password
11k에이전트가 1Password 명령줄 도구를 설정하고 안전하게 로그인하도록 가르친 뒤, 필요할 때 저장된 비밀 정보를 읽거나 넣도록 합니다.
apple-reminders
11k에이전트가 터미널에서 Apple 미리 알림을 보고, 추가하고, 수정하고, 완료하고, 삭제하도록 돕습니다. 목록과 날짜 필터도 포함합니다.
bluebubbles
11k에이전트가 BlueBubbles를 통해 iMessage를 보내고 관리하도록 돕습니다. 문자, 첨부 파일, 탭백 반응, 수정, 그룹 설정을 포함합니다.
camsnap
11k에이전트가 이미 설정한 네트워크 보안 카메라에서 스냅샷을 찍고, 짧은 클립을 녹화하거나, 움직임을 감시하도록 돕습니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.