본문으로 건너뛰기
Skillpedia
일반 코딩12k · #11565

gh-issues

하는 일

이 스킬은 GitHub 이슈에서 완성된 풀 리퀘스트까지 에이전트를 안내합니다. 저장소의 일상적인 버그 수정을 에이전트에게 맡기려는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓에이전트가 열린 GitHub 이슈 몇 개를 골라 그중 하나를 고치기를 원할 때.
  • ✓수정 사항을 GitHub의 풀 리퀘스트로 만들고 싶을 때.
  • ✓검토자가 풀 리퀘스트에 의견을 남겼고 에이전트가 그에 답하기를 원할 때.

스킬 링크

https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/gh-issues/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/gh-issues/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“저희 저장소의 열린 버그를 살펴보고, 안전하게 고칠 수 있는 것을 하나 골라 풀 리퀘스트를 열어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 저장소와 GitHub 로그인 상태를 확인하고, 후보 이슈 목록을 만든 뒤 브랜치에서 집중된 변경을 합니다. 요청하신 결과에 해당할 때만 푸시하거나 풀 리퀘스트를 엽니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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/repo or infer it from git 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 or origin.

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:

  1. Create fix/issue-<n> from the verified BASE_BRANCH in its isolated working tree.
  2. Reproduce or locate the problem.
  3. Implement the smallest coherent fix; avoid unrelated refactors.
  4. Add or update focused tests when appropriate.
  5. Run the relevant tests, type checks, and build steps.
  6. R
자주 묻는 질문

목록만 원하면 아무것도 바꾸나요?

아닙니다. 조사, 분류 또는 계획만 요청하셨다면 파일, 브랜치, 이슈, 풀 리퀘스트를 바꾸기 전에 멈춥니다.

포크에 수정 사항을 푸시할 수 있나요?

네, 포크 이름을 알려 주시면 가능합니다. 그다음 원래 저장소에 대해 풀 리퀘스트를 엽니다.

GitHub에는 어떤 도구를 쓰나요?

GitHub 명령줄 도구인 gh를 사용하며, 이를 미리 로그인해 두어야 합니다.

상세 정보

작성자의 원본 설명

Triage GitHub issues, select safe candidates, implement focused fixes, open pull requests, and address actionable review feedback.

repo: EKKOLearnAI/ekko-studio

인기도

GitHub 스타
12k
순위
#11565
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬