github-gitlab
Fungsinya
Memungkinkan asisten memeriksa repositori kode dan membuat suntingan kecil dengan akun Anda yang sudah terhubung. Cocok untuk pengembang yang bekerja di GitHub atau GitLab.
Kapan dipakai
- ✓Saat Anda meminta asisten memeriksa status isu atau pull request di sebuah repositori.
- ✓Saat Anda ingin perubahan kode kecil dibuat di proyek yang di-hosting.
- ✓Saat Anda perlu asisten meninjau riwayat cabang atau mencari tahu apa yang berubah.
Link skill
https://github.com/yc-software/qm/blob/main/skills-seed/github-gitlab/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Lihat pull request yang masih terbuka di repo kami dan beri tahu saya mana yang menunggu tinjauan.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Asisten memakai alat baris perintah GitHub atau GitLab dengan akun yang sudah Anda otorisasi. Jika akun yang dimaksud tidak jelas sebelum perubahan, ia akan bertanya kepada Anda.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Akun mana yang dipakai asisten?
Ia memilih akun yang diotorisasi untuk percakapan Anda dan sesuai dengan permintaan Anda. Jika akun yang tepat tidak jelas sebelum perubahan, ia bertanya.
Bisakah ia memakai akun yang tidak saya pilih?
Tidak. Ia tidak memakai login hanya karena login itu ada di komputer. Jika akun yang dimaksud tidak jelas sebelum penulisan, ia bertanya.
Bagaimana jika satu akun gagal?
Ia tidak otomatis beralih ke akun lain. Anda yang memutuskan akun mana yang dipakai berikutnya.
Detail
Deskripsi asli dari pembuat
Work with GitHub and GitLab repositories through resident gh/glab/git auth on the agent computer.
repo: yc-software/qm
Popularitas
- Bintang GitHub
- 16k
- Peringkat
- #10892
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
deploy-qm
16kMenerapkan paket QM ke Fly.io, AWS, atau Render, lalu menyiapkan administrator, konektor, dan opsional Slack, mengikuti daftar periksa penerapan yang lengkap.
onboarding
16kMemandu pengguna baru menghubungkan akun, menjelaskan cara kerja mereka, memilih suara, dan menyiapkan bantuan pertama, dalam satu percakapan singkat.
admin
16kMemungkinkan administrator organisasi yang terverifikasi memeriksa atau mengubah pengaturan tingkat organisasi dan cakupan lain dari chat, dengan mengonfirmasi setiap perubahan sebelum dibuat.
browse
16kMenjalankan peramban web sungguhan yang tersembunyi dari shell untuk bertindak di situs web, seperti masuk atau mengisi formulir, dengan sesi masuk yang dipisahkan per orang. Untuk tindakan, bukan membaca.
Skill serupa
openclaw-update
394kMembantu agent Anda memperbarui OpenClaw Gateway yang sudah ada, dengan memilih metode pembaruan yang sesuai cara pemasangannya dan menjaga sesi Anda tetap berjalan.
diagnose-gateway
394kMembantu agent Anda mencari tahu mengapa OpenClaw Gateway gagal dengan memeriksa pengaturan, channel, dan port tanpa mengubah apa pun.
crabbox-apps
394kMembantu agent Anda membuka dan menjalankan aplikasi di mesin cloud sementara, lalu menampilkan tampilannya di panel samping chat Anda.