gh-issues
Fungsinya
Skill ini memandu agent dari sebuah isu GitHub hingga pull request yang selesai. Skill ini untuk pengembang yang ingin agent menangani perbaikan bug rutin di repositori.
Kapan dipakai
- ✓Saat Anda ingin agent memilih beberapa isu GitHub yang terbuka dan memperbaiki salah satunya.
- ✓Saat Anda ingin perbaikan diubah menjadi pull request di GitHub.
- ✓Saat seorang peninjau memberikan komentar di pull request dan Anda ingin agent menanggapinya.
Link skill
https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/gh-issues/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 bug yang terbuka di repo kami, pilih satu yang aman untuk diperbaiki, dan buka pull request.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent memeriksa repositori dan login GitHub, mencantumkan isu kandidat, lalu membuat perubahan yang terfokus di sebuah branch. Agent hanya melakukan push atau membuka pull request untuk hasil yang Anda minta.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
GitHub issues to pull requests
Use this workflow for issue-to-PR work. Use gh for GitHub data and mutations, git for the local checkout, and delegate_task only when an isolated subtask is genuinely useful.
Read the bundled github Skill before executing this workflow. GitHub writes, commits, pushes, PR creation, and review replies must stay within the outcome the user requested.
Inputs
- Repository: accept
owner/repoor infer it fromgit remote get-url origin. - Optional filters: label, milestone, assignee, state, and limit.
- Optional fork: push a branch to a named fork and open the PR against the source repository.
- Dry run: list candidates and planned actions without changing local or remote state.
- Reviews only: skip issue selection and process explicitly scoped PR feedback.
If the user asked only to inspect, triage, or plan, stop before changing files, branches, issues, or PRs.
1. Resolve and verify the repository
git remote get-url origin
git status --short
gh auth status
gh repo view OWNER/REPO --json nameWithOwner,defaultBranchRef
Derive and keep explicit:
SOURCE_REPO: repository containing the issue.PUSH_REPO: fork when explicitly requested, otherwise the source.BASE_BRANCH: source default branch unless the user named another.PUSH_REMOTE: configured fork remote ororigin.
Stop if GitHub authentication is unavailable. Never search local configuration files for tokens, print gh auth token, or ask the user to paste a token into chat.
Do not mix issue work with unrelated uncommitted changes. If the checkout is dirty, preserve those changes and either ask the user how to proceed or create a dedicated git worktree after confirming the repository and base branch.
In fork mode, show the exact source, fork, base branch, and remote before adding or changing a git remote.
2. Fetch candidates
gh issue list --repo "$SOURCE_REPO" --state open --limit 10 \
--json number,title,labels,url,body,assignees,milestone
Add only the filters the user requested. gh issue list excludes pull requests. If there are no matches, report that and stop. For a dry run, show a compact candidate list with issue number, title, labels, and URL, then stop.
3. Avoid duplicate work
For each candidate, look for an existing fix before selecting it:
gh pr list --repo "$SOURCE_REPO" --search "$SOURCE_REPO#<n>" --state open \
--json number,url,title,headRefName
gh pr list --repo "$SOURCE_REPO" --head "fix/issue-<n>" --state open \
--json number,url
gh api "repos/$PUSH_REPO/branches/fix/issue-<n>" >/dev/null
Skip an issue that already has an open PR or branch unless the user asked to continue that work. Read the issue body and relevant code before deciding it is actionable. Prefer small, reproducible issues with a clear acceptance condition; flag ambiguous or security-sensitive issues for clarification.
When several issues match and the user did not already select them, present the candidates and ask which issue numbers to fix.
4. Isolate the work
Default to one issue at a time. Ekko subagents share the workspace, so never let concurrent workers checkout different branches in the same working tree.
For one issue, either implement locally or call delegate_task in foreground mode with a self-contained goal and all required context. For independent parallel work, first create one dedicated git worktree per issue and give each background subagent its exact worktree path. Use background mode only when enabled and useful; progress is visible to the user, but the parent must not pretend it synchronously collected a result.
The task context must include:
- issue URL, title, body, labels, and acceptance conditions;
- source and push repositories, base branch, push remote, and fork mode;
- isolated working directory and target branch
fix/issue-<n>; - required tests and proof;
- the authorized mutation boundary, including whether commit, push, and PR creation were requested.
Delegated subagents cannot ask the user questions or delegate recursively. Resolve ambiguity before delegation.
5. Implement and prove the fix
For each selected issue:
- Create
fix/issue-<n>from the verifiedBASE_BRANCHin its isolated working tree. - Reproduce or locate the problem.
- Implement the smallest coherent fix; avoid unrelated refactors.
- Add or update focused tests when appropriate.
- Run the relevant tests, type checks, and build steps.
- R
Pertanyaan umum
Apakah ia akan mengubah sesuatu jika saya hanya ingin daftar?
Tidak. Jika Anda hanya meminta untuk memeriksa, memilah, atau merencanakan, agent berhenti sebelum mengubah berkas, branch, isu, atau pull request.
Apakah ia bisa mendorong perbaikan ke fork?
Bisa, jika Anda menyebutkan fork. Lalu ia membuka pull request ke repositori asli.
Alat apa yang dipakai untuk GitHub?
Skill ini memakai alat baris perintah GitHub, yaitu gh, dan Anda perlu sudah masuk ke sana.
Detail
Deskripsi asli dari pembuat
Triage GitHub issues, select safe candidates, implement focused fixes, open pull requests, and address actionable review feedback.
repo: EKKOLearnAI/ekko-studio
Popularitas
- Bintang GitHub
- 12k
- Peringkat
- #11565
- Lisensi
- —
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
1password
12kMembantu agent Anda memakai 1Password CLI untuk mengambil rahasia bagi perintah dan berkas konfigurasi tanpa menampilkannya di obrolan, log, atau berkas tersimpan.
apple-notes
12kMembantu agent Anda membuat, mencari, membaca, mengedit, memindahkan, atau menghapus Apple Notes di Mac, memakai alat baris perintah memo.
apple-reminders
12kMembantu agent Anda mencantumkan, membuat, mengedit, menyelesaikan, atau menghapus Apple Reminders dan daftar pengingat di Mac, memakai alat remindctl.
document-to-action-items
12kMembantu agent Anda mengubah dokumen, transkrip rapat, atau kumpulan catatan menjadi tabel tugas yang jelas, dengan penanggung jawab, tenggat, dan keputusan.
Skill serupa
diffs
394kMemungkinkan agent Anda menghasilkan diff perubahan yang nyata dan dapat dibagikan sebagai tautan viewer atau file gambar, bukan ringkasan yang ditulis manual.
coding-agent
394kMembantu agent Anda menyerahkan pekerjaan pemrograman besar ke Codex, Claude Code, atau OpenCode di latar belakang, lalu memeriksa kemajuannya.
gh-issues
394kMembantu agent Anda menemukan issue GitHub, memilih yang dikerjakan, dan membuka pull request perbaikan, termasuk tindak lanjut komentar tinjauan.