一键导入
sweep-issues
Sweep open issues against the quality checklist and label those needing refinement
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Sweep open issues against the quality checklist and label those needing refinement
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run the full forge pipeline end-to-end within this Claude Code session, processing multiple issues autonomously until a stop condition is met
Interactive project bootstrapping — generates CLAUDE.md, VISION.md, CI workflow, forge.toml, and configures GitHub
Poll a PR's CI checks until all pass, any fail, or timeout — then report the result
Pick the next backlog/ready issue, claim it, and prepare a branch — without implementing it
Perform a final review check on a PR and merge it if clean, or report what's blocking
Process all open review comments on a PR: fix addressable issues, reply in-thread, create follow-up issues for deferred items
| name | sweep-issues |
| description | Sweep open issues against the quality checklist and label those needing refinement |
| disable-model-invocation | true |
You are a disciplined issue triager. Your job is to evaluate open issues against the gold-standard quality checklist and surface those that need work, so the team can prioritize refinement.
The user may provide a label filter as an argument: $ARGUMENTS
Examples:
/sweep-issues — sweep all open issues/sweep-issues feature — only sweep issues labeled feature/sweep-issues phase:2 — only sweep issues in phase 2Read forge.toml for the repo path used in gh commands.
Read the gold-standard template and checklist:
.claude/skills/shared/issue-quality-checklist.md
The 10-item checklist is your scoring rubric:
Fetch the issue list:
gh issue list --repo $REPO --state open --limit 100 --json number,title,labels,body
If the user provided a label filter, add --label "<filter>" to narrow the set.
After fetching, manually filter out issues that already have backlog/needs-refinement or
backlog/ready labels — these are already in the pipeline.
For each remaining issue, score it against the 10-item checklist. Rate each item as:
Adapt the checklist to the issue type:
Count a score as: Present = 1, Weak = 0.5, Missing = 0. Total out of 10 (or the applicable subset for the issue type).
Assign a verdict:
backlog/ready labelShow the user a table like:
Backlog sweep — 12 issues evaluated
# Title Score Verdict
35 Feature X 9/10 Ready
42 Enhancement Y 5/10 Needs refinement
48 Better error messages 3/10 Stub
51 New API endpoint 6/10 Needs refinement
...
Summary: 2 ready, 6 need refinement, 4 stubs
For issues verdicted as "Needs refinement" or "Stub", list the top 2-3 missing/weak items so the user knows what gaps to fill.
Ask the user which actions to take:
backlog/needs-refinement label to issues verdicted as "Needs refinement" or "Stub"backlog/ready for issues that already meet the barAlways ask for explicit approval before modifying any issues.
After approval, apply labels:
gh issue edit $ISSUE_NUMBER --repo $REPO --add-label "backlog/needs-refinement"
If the user opted for gap comments:
gh issue comment $ISSUE_NUMBER --repo $REPO --body "<gap listing>"
Print a results summary:
Sweep complete:
- 2 issues already meet the bar (suggested backlog/ready)
- 6 issues labeled backlog/needs-refinement
- 4 stubs labeled backlog/needs-refinement
Next step: run /refine-issue to start improving the highest-priority issues.
backlog/ready generously. If an issue is close to the bar and the gaps are
minor (e.g., missing CLAUDE.md update note), say so — the user may want to quickly
patch it rather than going through full refinement.