github-gitlab
하는 일
이 스킬은 어시스턴트가 연결된 계정을 써서 코드 저장소를 살펴보고 작은 수정을 하게 합니다. GitHub나 GitLab에서 일하는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓저장소의 이슈나 풀 리퀘스트 상태를 확인해 달라고 요청할 때.
- ✓호스팅된 프로젝트에 작은 코드 변경이 필요할 때.
- ✓브랜치 이력을 검토하거나 무엇이 바뀌었는지 찾아야 할 때.
스킬 링크
https://github.com/yc-software/qm/blob/main/skills-seed/github-gitlab/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“우리 저장소에서 열려 있는 풀 리퀘스트를 보고, 검토를 기다리는 것이 무엇인지 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
어시스턴트는 승인된 계정으로 GitHub나 GitLab의 명령줄 도구를 씁니다. 변경 전에 어떤 계정을 써야 할지 불분명하면 사용자에게 묻습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
GitHub / GitLab
Use this skill when the user asks to inspect repos, issues, pull requests, merge requests, code history, branches, or to make a small code change in a hosted repo.
Choose the account deliberately
Use the current credential manifest to choose an account authorized for this conversation
that fits the user's intent. Run commands with execute and an explicit sandbox_id;
keep that ID throughout checkout, edits, checks, and push. Personal and shared accounts are both valid choices; neither
is an automatic fallback when the other fails. If the intended account is unclear before
a write, ask. Do not infer permission from a login merely being present on the computer.
- Personal login: use the authorized
gh,glab, or Git login. Check the active provider account (for example,gh api user --jq .login) and the Git transport's auth configuration; a CLI API identity alone does not prove which account Git will use. - Shared org credential: if listed in the prompt, select its slug and use the
core-hosted smart HTTP remote in the
use-shared-credentialskill. This uses the configured shared account, even when a personal OAuth connector is live. Its name is an admin label, not a verified upstream username. - Connected app: use only advertised capabilities. API access does not by itself establish native Git transport access or configure the CLI's active login.
For an existing checkout, inspect the remote and applicable credential-helper, SSH, proxy, and HTTP-header configuration. A reused checkout may still select a previous account. Commit author metadata is separate from transport identity. Resolve an unknown identity before a write; do not probe access by pushing.
Logging in
Use the native login only after an explicit authentication rejection. A TLS timeout, connection reset, rate limit, or GitHub server error is not evidence of logout or permission expiry. Do not consume another credential grant to repair transport.
For a confirmed missing or expired GitHub or GitLab login, follow the
interactive-login skill: it runs gh auth login / glab auth login in a temporary
home as a background job, relays the code and URL, and saves the login to the keychain
so later commands use it through execute.credentials.
Read-only work
Check auth and inspect repo state:
gh auth status
gh repo view OWNER/REPO --json name,description,url,defaultBranchRef
gh issue list --repo OWNER/REPO --state open --limit 20
gh pr list --repo OWNER/REPO --state open --limit 20
For GitLab:
glab auth status
glab repo view GROUP/PROJECT
glab issue list --repo GROUP/PROJECT
glab mr list --repo GROUP/PROJECT
Use git log, git show, and git diff for codebase-change summaries. Cite commit
hashes, PR/MR numbers, and links.
Checkout and edits
Clone or fetch only the repo the user asked for:
gh repo clone OWNER/REPO repo
cd repo
git checkout -b codex/small-change
Keep changes scoped. Run the repo's tests. If a push or PR/MR creation is requested, prepare the branch and summary first.
Writes require approval
Pushing branches, creating PRs/MRs, merging, closing issues, editing labels, changing repo settings, releases, or workflows are writes. Ask for approval before running the write command.
After approval:
git push -u origin codex/small-change
gh pr create --repo OWNER/REPO --title "..." --body-file pr.md
For GitLab:
git push -u origin codex/small-change
glab mr create --repo GROUP/PROJECT --title "..." --description-file mr.md
Report the final URL and leave enough context for review.
Wait for GitHub CI
Use the bundled helper instead of a bare gh pr checks --watch or a handwritten
shell loop. Use the absolute directory reported by the skill read in place of
<skill dir>. It is one blocking watcher process, not repeated agent turns:
node "<skill dir>/scripts/watch-ci.mjs" --repo OWNER/REPO --pr NUMBER --head REVIEWED_HEAD_SHA
Capture the full head SHA from gh pr view NUMBER --repo OWNER/REPO --json headRefOid
before review. Use that same SHA for the watcher and the final merge gate. Start the
watcher with execute using the selected sandbox_id and background:true, then
subscribe with background action watch and its returned process_id. Keep one
watcher per PR. Set the process lifetime longer than the helper's 30-minute deadline;
use --timeout-ms for a different bounded deadline. Us
자주 묻는 질문
어시스턴트는 어떤 계정을 쓰나요?
대화에 승인된 계정 중 요청에 맞는 것을 고릅니다. 변경 전에 맞는 계정이 불분명하면 사용자에게 묻습니다.
내가 고르지 않은 계정을 쓸 수 있나요?
아닙니다. 컴퓨터에 존재한다는 이유만으로 로그인 정보를 쓰지 않습니다. 쓰기 전에 대상 계정이 불분명하면 묻습니다.
계정 하나가 실패하면 어떻게 하나요?
다른 계정으로 자동 전환하지 않습니다. 다음에 어떤 계정을 쓸지는 사용자가 정합니다.
상세 정보
작성자의 원본 설명
Work with GitHub and GitLab repositories through resident gh/glab/git auth on the agent computer.
repo: yc-software/qm
인기도
- GitHub 스타
- 16k
- 순위
- #10892
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
deploy-qm
16kQM 패키지를 Fly.io, AWS, Render에 배포한 뒤, 전체 배포 체크리스트에 따라 관리자, 연결 도구, 선택적으로 Slack을 설정합니다.
onboarding
16k새 사용자가 계정을 연결하고, 일하는 방식을 공유하고, 목소리를 고르고, 첫 도움 항목을 설정하도록 짧은 대화로 안내합니다.
admin
16k검증된 조직 관리자가 채팅에서 조직 전체 설정과 다른 범위를 확인하거나 바꿀 수 있게 하며, 각 변경은 적용 전에 확인받습니다.
browse
16k셸에서 실제 스텔스 브라우저를 구동해 로그인이나 양식 작성 같은 웹사이트 작업을 수행하며, 로그인 상태는 사람마다 따로 유지됩니다. 읽기가 아닌 작업용입니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.