gh-issues
O que ela faz
Esta skill orienta o agente de uma issue do GitHub até um pull request pronto. É para desenvolvedores que querem que o agente cuide de correções de bugs rotineiras em um repositório.
Quando usar
- ✓Quando você quer que o agente escolha algumas issues abertas do GitHub e corrija uma delas.
- ✓Quando você quer que uma correção vire um pull request no GitHub.
- ✓Quando um revisor deixa comentários em um pull request e você quer que o agente responda a eles.
Link da skill
https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/gh-issues/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Olhe os bugs abertos do nosso repositório, escolha um que seja seguro de corrigir e abra um pull request.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente verifica o repositório e o login do GitHub, lista as issues candidatas e faz uma mudança focada em uma branch. Só envia ou abre um pull request para o resultado que você pediu.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
Perguntas frequentes
Ele muda alguma coisa se eu só quiser uma lista?
Não. Se você pedir apenas para inspecionar, triar ou planejar, ele para antes de alterar arquivos, branches, issues ou pull requests.
Ele pode enviar a correção para um fork?
Sim, se você indicar um fork. Ele então abre o pull request contra o repositório original.
Qual ferramenta ele usa para o GitHub?
Usa a ferramenta de linha de comando do GitHub, gh, e você precisa estar conectado a ela.
Detalhes
Descrição original do autor
Triage GitHub issues, select safe candidates, implement focused fixes, open pull requests, and address actionable review feedback.
repo: EKKOLearnAI/ekko-studio
Popularidade
- Estrelas no GitHub
- 12 mil
- Posição no ranking
- #11565
- Licença
- —
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
1password
12 milAjuda seu agente a usar a CLI do 1Password para obter segredos para comandos e arquivos de configuração, sem mostrá-los no chat, nos logs ou em arquivos salvos.
apple-notes
12 milAjuda seu agente a criar, pesquisar, ler, editar, mover ou apagar notas do Apple Notes em um Mac, usando a ferramenta de linha de comando memo.
apple-reminders
12 milAjuda seu agente a listar, criar, editar, concluir ou apagar lembretes e listas de lembretes do Apple Reminders em um Mac, usando a ferramenta remindctl.
document-to-action-items
12 milAjuda seu agente a transformar um documento, uma transcrição de reunião ou um conjunto de notas em uma tabela clara de tarefas, responsáveis, prazos e decisões.
Skills parecidas
diffs
394 milPermite que seu agente gere um diff real e compartilhável das edições, como link de visualização ou arquivo de imagem, em vez de um resumo escrito à mão.
coding-agent
394 milAjuda seu agente a passar um trabalho grande de programação para o Codex, Claude Code ou OpenCode em segundo plano e acompanhar o andamento.
gh-issues
394 milAjuda seu agente a encontrar issues do GitHub, escolher quais resolver e abrir pull requests com correções, acompanhando os comentários de revisão.