github
하는 일
AI 에이전트가 이슈, 풀 리퀘스트, CI 체크 로그, 리뷰, 릴리스에 대해 GitHub 명령줄을 사용하도록 안내합니다. GitHub에서 코드를 호스팅하는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓GitHub 이슈나 풀 리퀘스트를 나열하고, 읽고, 댓글을 달고 싶을 때.
- ✓풀 리퀘스트의 체크가 실패해서 이유를 확인해야 할 때.
- ✓저장소에 풀 리퀘스트를 만들거나 변경 사항을 리뷰하고 싶을 때.
스킬 링크
https://github.com/openclaw/openclaw/blob/main/skills/github/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 저장소의 열린 풀 리퀘스트를 보여 주고, 체크가 실패한 것이 무엇인지 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 gh 명령으로 풀 리퀘스트, 체크, diff, 댓글을 읽고 새 풀 리퀘스트를 만들 수 있습니다. 로컬 커밋, 브랜치, 푸시에는 git을 사용합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
GitHub
Use gh for GitHub. Use git for local commits/branches/push/pull. Use code-reading tools for deep reviews.
Auth
gh auth status
gh auth login
Gateway HOME can differ from operator HOME. If gh auth exists elsewhere, set GH_CONFIG_DIR in the gateway service env and restart.
PRs
gh pr list --repo owner/repo --json number,title,state,author,url
gh pr view 55 --repo owner/repo --json title,body,author,files,commits,reviews,reviewDecision
gh pr checks 55 --repo owner/repo
gh pr diff 55 --repo owner/repo
gh pr create --repo owner/repo --title "feat: title" --body-file /tmp/pr.md
When creating or refreshing a PR body, append this final footer only when the Runtime line supplies sessionUrl=<exact-url>. Replace <sessionUrl> with that URL verbatim; do not construct or modify it. sessionUrl is supplied only for an explicitly public session. Omit the footer when it is absent; never substitute a private chat URL or enable sharing to obtain one. Preserve any publication marker before exactly one footer, and keep the footer final:
---
[View the OpenClaw team session](<sessionUrl>)
URLs work directly: gh pr view https://github.com/owner/repo/pull/55.
Async merges
Use the repository's native landing workflow when provided. For authorized
programmatic merges elsewhere, use GitHub's async merge API
through gh api; gh pr merge does not select this API. Supply the reviewed head
SHA, preserve required reviews/checks, and check stack membership first: submitting
a stacked PR also merges or queues its open downstack PRs, which need their own
review and authorization.
gh api -H 'X-Octopool-Require: merge-async-v1' \
--method PUT repos/owner/repo/pulls/55/merge-async \
-H 'X-GitHub-Api-Version: 2026-03-10' \
-f sha=REVIEWED_HEAD_SHA -f merge_method=squash -f merge_action=direct_merge
gh api -H 'X-Octopool-Require: merge-async-v1' \
repos/owner/repo/pulls/55/merge-async/REQUEST_UUID \
-H 'X-GitHub-Api-Version: 2026-03-10' -H 'Cache-Control: max-age=0'
Keep the Octopool guard header first after api. Protected older wrappers reject
it before they can rewrite merge authority; use an Octopool build containing
the async guard if it is refused.
The supported wrapper preserves SHA/method/action/bypass and only rewrites commit
text. Native gh can pass the header through. Do not remove it, disable policy,
or select a raw binary to work around a rejection.
Retain details.uuid from a 202 response before polling. pending means wait;
merged includes details.sha, which still needs final PR/head verification.
enqueued means queued, not merged: monitor the PR itself. To honor a configured
queue, use merge_action=default (or merge_queue to explicitly enqueue), omitting
direct-only method/title/message fields. Never enable bypass_rules without authorization.
On failed, report details.message. A 409 identifies an existing request;
inspect its UUID and options without resubmitting. Lost replies, polling errors,
and result expiry after 24 hours require reconciliation, never a blind retry or
synchronous fallback. Poll with bounded waits and fresh reads. Async processing
does not arm auto-merge for unmet checks; use the native workflow or gh pr merge --auto when that behavior is authorized.
Landing ownership
When the user asks to land or merge a PR, the terminal outcome is the PR's verified GitHub state, not the end of a review, worker turn, or CI observation.
- Keep the job active until
gh pr view ... --json state,mergedAt,mergeCommitprovesstateisMERGED. - Treat review findings, merge conflicts, failed checks, and requested changes as continuation work when they are in scope. Patch them, rerun the required gates, and re-evaluate the exact updated head.
- A pending check is a wait state, not completion. Use the repository's supported wait or merge workflow; do not claim success from partial green checks.
- If work was delegated to a persistent session and that run stops before merge, continue the same session rather than treating its report as the final result.
- Stop as blocked only when continuing requires new authority, unavailable credentials, or a product decision that cannot be inferred safely. Report the exact blocker and leave the PR unmerged.
Issues
자주 묻는 질문
먼저 로그인해야 하나요?
예. auth status 명령으로 로그인 상태를 확인하거나 gh 도구에서 로그인하세요.
CI 체크 로그를 읽을 수 있나요?
예. 풀 리퀘스트의 체크를 보여 주므로 어떤 체크가 실패했는지 알 수 있습니다.
풀 리퀘스트를 병합할 수 있나요?
저장소의 자체 병합 워크플로를 쓰거나, 승인된 병합 절차가 제공된 경우 그 절차를 사용할 수 있습니다.
상세 정보
작성자의 원본 설명
GitHub CLI for issues, PRs, CI/check logs, comments, reviews, releases, repos, and gh api queries.
repo: openclaw/openclaw
인기도
- GitHub 스타
- 394k
- 순위
- #57
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
discord-user-post
394k에이전트가 승인한 메시지를 정확한 채널을 확인한 뒤 Discord 데스크톱 앱에서 내 계정으로 올리도록 돕습니다.
discrawl
394k에이전트가 저장된 로컬 Discord 메시지 보관본을 검색하고 요약하며, 최신 상태를 확인하고 다이렉트 메시지를 읽도록 돕습니다.
gitcrawl
394k에이전트가 저장된 GitHub 이슈와 풀 리퀘스트 보관본을 검색하고, 중복 항목을 묶고, GitHub에서 현재 상태를 확인하도록 돕습니다.
graincrawl
394k에이전트가 저장된 Granola 회의 메모와 기록을 검색하고, 최신 상태를 확인하며, 일정 기간 동안 개수를 세도록 돕습니다.
비슷한 스킬
executing-plans
311k에이전트가 작성된 구현 계획을 현재 세션에서 단계별로 실행하고, 각 단계를 테스트한 뒤 다음으로 넘어가도록 돕습니다.
finishing-a-development-branch
311k에이전트가 완성된 코드의 테스트를 실행한 뒤, 병합, 풀 리퀘스트 열기, 브랜치 유지 중에서 고를 수 있도록 명확한 선택지를 제시하도록 돕습니다.
receiving-code-review
311k에이전트가 코드 리뷰 피드백을 신중하게 검토하도록 돕습니다. 무엇이든 바꾸기 전에 각 지적을 실제 코드와 대조합니다.