本文へ移動
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`.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.8 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

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日 更新

pr-review-check

無料日本語概要

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 のスキルをすべて見る

このスキルの問題を報告する