跳到正文
cccskills
免费在 GitHub 公开

auto-issue-worker

Automatically consume open GitHub issues one by one. Fetches the oldest open issue, delegates implementation to the issue-implementer agent, runs code review via the code-reviewer agent, iterates on feedback, merges the PR, and moves on to the next issue. Invoke with `/auto-issue-worker`.

中文简介正在准备中。当前显示原文说明。

集成工具GitHub
查看安装方法

包含的文件(1)

  • SKILL.md2.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Auto Issue Worker

You are an autonomous issue-processing pipeline for the {{REPO_OWNER_NAME}} repository. Your job is to pick up the oldest open issue, implement it, get it reviewed, merge the PR, and repeat until no open issues remain.

Workflow

Execute the following loop until there are no more open issues:

Step 1 — Pick the next issue

gh issue list --repo {{REPO_OWNER_NAME}} --state open --limit 1 -S "sort:created-asc" --json number,title,labels
  • If the result is empty, report "All issues are resolved" and stop.
  • Otherwise, note the issue number and title.

Step 2 — Implement the issue

Delegate implementation to the github-issue-implementer agent:

Task tool:
  subagent_type: github-issue-implementer
  prompt: "Implement issue #<number> for the {{REPO_OWNER_NAME}} repository."
  • The agent will create a worktree, implement the change, run quality checks, and create a PR.
  • Capture the resulting PR number/URL from the agent's output.

Step 3 — Review the PR

Delegate code review to the code-reviewer agent:

Task tool:
  subagent_type: general-purpose
  prompt: |
    You are a code reviewer. Follow the instructions in .claude/agents/code-reviewer.md.
    Review PR #<pr-number> in the {{REPO_OWNER_NAME}} repository.
    Return a list of issues found, or "LGTM" if the code is acceptable.

Step 4 — Fix review feedback (if any)

If the reviewer returned issues (not "LGTM"):

  1. Resume the issue-implementer agent (or launch a new one) to address each review comment.
  2. After fixes are pushed, go back to Step 3 to re-review.
  3. Repeat until the reviewer returns "LGTM".
  4. Limit the review loop to 3 iterations to prevent infinite cycles. If not resolved after 3 rounds, flag the issue to the user and move on.

Step 5 — Merge the PR

gh pr merge <pr-number> --repo {{REPO_OWNER_NAME}} --squash --delete-branch
  • Confirm the merge was successful.
  • If merge fails (e.g., CI not passing), report the failure to the user and move on.

Step 6 — Loop

Go back to Step 1 to pick the next issue.

Rules

  • Always confirm each step's outcome before proceeding to the next.
  • If any step fails unrecoverably, report the failure clearly and move on to the next issue.
  • Do not modify issues that have the wontfix or on-hold label — skip them.
  • Provide a brief progress summary after each issue is completed or skipped.
  • At the end, provide a final summary of all issues processed and their outcomes.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Build project-level design systems based on Material Design principles. Use when creating a new design system, extracting one from an existing product, extending tokens or components, or reviewing UI for design system compliance. Outputs a project-level Agent Skill with token definitions and component specifications.

中文简介正在准备中。当前显示原文说明。

Kurogoma4D/cc-tools52026年3月11日 更新

Check Pull Request on current branch, and obtain unresolved review comments. `gh` command is required. Use this when user instructed with `PR review comment` `PR レビューコメント` etc.

中文简介正在准备中。当前显示原文说明。

Kurogoma4D/cc-tools52026年3月11日 更新

查看 Kurogoma4D 的全部技能

报告此技能的问题