backlog
Grooms an open backlog before the next task is picked: finds issues that are the same work, adopts orphans into the epic they belong to, and proposes what can ship in one pull request. Read-only until the user approves each move. Use when the board feels like it only grows, before planning a sprint or picking the next issue, or on /backlog [epic-number].
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- backlog
- description
- Grooms an open backlog before the next task is picked: finds issues that are the same work, adopts orphans into the epic they belong to, and proposes what can ship in one pull request. Read-only until the user approves each move. Use when the board feels like it only grows, before planning a sprint or picking the next issue, or on /backlog [epic-number].
03 SKILL.md 正文
backlog: make the board readable before working from it
A board that reads as an endless list is usually not a board that is growing. It is a board whose structure is invisible. Measured on 2026-08-17 in the repository this was built against: 18 open issues, 107 created against 108 closed over ten days, so flat. What made it feel endless was one epic with ten open children across three levels, and two issues with no parent at all sitting next to them as flat rows.
So this skill does not delete work and does not close issues to make a number go down. It answers three questions with evidence, and every move needs the user's yes.
Input: an epic number, a label, or nothing, in which case groom the whole open backlog.
What it may and may not do
- Read freely. Issues, bodies, labels, the sub-issue tree, the diffs of anything already merged.
- Propose in writing, grouped, with the evidence under each proposal.
- Act only on an explicit yes, one group at a time. Adopting a child, editing a title, adding a label, commenting, closing as duplicate: each is a separate ask.
- Never close an issue as "stale" or "probably done" without naming the commit or pull request that did it. An issue closed on a guess comes back as a bug report.
- Never merge two issues by deleting one. The surviving issue absorbs what the other one knew, in a comment, and the closed one points at it.
The three questions, in this order
1. Is this already on the board
For each issue in scope, the overlap against every other open one (with no kit on
PATH, every kit here means ${CLAUDE_PLUGIN_ROOT}/scripts/kit):
kit issues related "<title>" --files <files the body names> --parent <epic>
The score is rarity-weighted, so a file every issue names counts for almost nothing and a file two issues name counts for a lot. Read the verdict, then read the issue it names. Two distinctive source files in common is the same work: the proposal is one issue absorbing the other, or both delivered in one pull request.
What this is not: a licence to merge on wording. Two issues that share a document and a subject word are usually two issues. In the measured backlog the maximum source overlap between open slices was three files at a Jaccard of 0.38, and the correct conclusion there was to leave the slicing alone.
2. Is it an orphan
kit issues orphans
Neither an epic nor a child. Each one gets a proposal: adopt under the epic it belongs to, promote it to an epic if it has real children hiding in its prose, or a written line in the issue saying why it stands alone. "It is small" is not that reason; a small issue under an epic is one line in a tree instead of one row in a list.
3. Can several ship together
kit issues tree <epic>
Group the open children by their file scope. A group whose files barely intersect stays as separate pull requests, and saying so is a result: it is what stops the next planning round from re-asking. A group that touches the same files in the same layer is one pull request, and the proposal says which issue leads and which ones close with it.
Two things override any grouping: a dependency the issues state themselves, and size. A combined pull request that no longer fits one review is worse than two, and the funnel's own sizing rule applies here unchanged.
Which of them can run at once
The groups that stay separate pull requests are scheduled too. Each one names its
Files (the paths it will change, from the issues and a grep, never a guess), its
Resources (a port, a test database, the shared browser, a gate marked
exclusive) and what it Depends on (the groups whose merge it needs). Two groups
share a wave only when their files do not intersect, their resources do not collide
and neither depends on the other; anything else waits for a later wave. Each group
is still one task, one worktree and one branch: the worktree is what keeps two
sessions from racing on a commit, so no session commits for another.
What to write
One document, in the language of the conversation, with a section per proposal:
| Field | Content |
|---|---|
| Proposal | adopt, absorb, group, split, close, or leave alone |
| Issues | the numbers, and which one survives |
| Evidence | the shared files, the commit that already did it, the dependency |
| Wave | for a group that stays separate: its wave, Files, Resources, Depends on |
| Cost of doing nothing | what the next person misreads if this stays as it is |
End with the counts: open before, open after if every proposal is accepted, orphans before and after, the deepest level of the tree, and how many waves the separate groups need. Those five numbers are what tell the user whether the board got more readable, and they are the only claim here that is not a judgement.
Then stop and wait. This skill ends in a proposal, not in a groomed board.
04 同仓库更多 Skills
task
Delivery funnel for one repository task: a feature, bug fix, refactor or chore, from description or issue number to a pushed branch and a draft pull request with the board moved. Use whenever the user asks, in any language, to implement, fix, build, change or refactor something in this repository, including requests like "fix this and leave it ready for a PR", "open a pull request for", or a bare issue number, and a one-line change the user dictates, calls urgent or says is already approved, and on /task <description | issue number>. Not for questions about why something happens: that is investigate. Every path, gate command and board id comes from .claude/funnel.config.json, so this runs on any stack.
ship
Takes work that is already implemented and committed on a branch and ships it: runs the repo's ship gates off receipts, pushes, opens a draft pull request, moves the board to in review, and removes the worktree. Use when the code exists and the task is to get it reviewable, or on /ship, and not when anything still needs writing.
review
Reviews a diff, branch, commit or pull request this session did not write and returns only the Critical and Important findings that survive an attempt to refute them, each with the input and the wrong output. Use when asked, in any language, to review, check or look over a diff, a branch, a commit or a pull request, or on /review. Not for a change the task funnel is writing: it reviews that with its own agents.
note
Writes one durable fact into a markdown knowledge vault, with the frontmatter and the provenance that keep it checkable, then reindexes so search can find it. Use when something learned in a session has to outlive it, or on /note <the fact>, and not for what the repo already records.
investigate
Investigation flow. Takes a question about the system (why does X happen, where does Y live, is Z feasible, what broke) and returns a verified written answer with evidence. Read-only end to end, no branch, no code change, no pull request. Use when asked to investigate, diagnose, explain behaviour or assess feasibility, or on /investigate <question>.