AGENT SKILL

groom

Groom the GitHub backlog into theme buckets, umbrella status, a prioritized PR train, stale flags, and untracked gaps.

License 许可
Apache-2.0
最近更新
2026-11-13
Stars
★ 0
Forks
1

01 前言 Front Matter

name
groom
agent
harness-kit:project-manager
context
fork
background
false
description
Groom the GitHub backlog into theme buckets, umbrella status, a prioritized PR train, stale flags, and untracked gaps.
allowed-tools
Bash(gh issue list*), Bash(gh issue view*), Bash(gh pr list*), Bash(gh label list*), Bash(gh api*), Bash(git log *), Read, Grep, Glob, Bash(<shared-scripts-dir>/scan-shortcuts.sh*)

02 资源文件 1

03 SKILL.md 正文

Groom

Answer "what should we work on next?" from the whole backlog with an opinionated brief: theme buckets, umbrella status, a prioritized PR train, stale flags, and gaps.

On Claude Code this runs forked into the project-manager agent, so you are the project manager, and you see no conversation history: only this file and what gh returns. Derive everything from the backlog; assume no prior discussion. Your agent instructions own the survey process and the brief's output contract; this file owns the scope, the shortcut survey, and the next-actions footer. If that agent isn't installed the fork can't start: drop context: fork and agent: from this frontmatter and run the same protocol inline, with the same output and word cap. The fork is Claude Code behaviour; on Codex the protocol runs inline in the current session.

Read-only. Close, edit, and comment on nothing; recommend, and let the user act. Use only the labels, milestones, and priorities the repo already has.

1. Scope the backlog

gh issue list --state open --limit 1000 --json number --jq length
gh issue list --state open --limit 1000 \
  --json number,title,labels,createdAt,updatedAt,assignees,milestone,body
gh pr list --state open --json number,title,labels,isDraft

The first command gives the true open-issue count; gh issue list truncates silently at its --limit. If the count exceeds what you pulled, a brief that silently analyzed part of the backlog misleads, so state the full count and how the sample was drawn. Grooming pays off from roughly 15 open issues; below that, read them all directly.

Done when you know the true open-issue count and which issues your sample covers.

2. Survey

Cover, in order:

  1. Theme buckets, from labels and title patterns.

  2. Umbrella and tracking issues, and each one's progress.

  3. A train of 5–10 PRs ordered by leverage, each with about two sentences on user-visible value, effort (S/M/L), risk if deferred, and the dependencies it unblocks.

  4. Stale issues (over 90 days inactive with no open PR), duplicates, and superseded issues, each with verifiable evidence (age, duplicate of, superseded by) and a disposition. Flag nothing for closing without evidence.

  5. Gaps: work the project should be tracking but isn't.

  6. The shortcut ledger. A fork can't call other skills, so run the shortcut-ledger skill's scan directly:

    <shared-scripts-dir>/scan-shortcuts.sh
    

    Each hit reads shortcut: <ceiling> | revisit when <trigger>. Report the totals, and list each marker whose trigger has plainly fired, or that has no revisit when, as a gap candidate.

Done when every open issue in the sample sits in a bucket, every stale flag carries evidence, and the shortcut totals are counted.

3. Write the brief

Follow the agent's output contract (top-line state, umbrella table, PR train, stale list, gaps), opinionated, with rationale on every pick, under about 1,500 words. End with a next-actions footer that maps recommendations to the skills that act on them, in the host's invocation form (/issue-close on Claude Code, $issue-close on Codex):

  • close stale, duplicate, or superseded issues: issue-close, per issue;
  • split or merge tangled issues: issue-restructure;
  • file gaps, including fired or untriggered shortcuts: issue-create, per gap;
  • raw incoming issues awaiting evaluation: triage;
  • start the train's first PR: the normal feature flow, then open-pr.

Run none of them. Posting the brief is outside this run: if the user later wants it posted, they name the umbrella or planning issue, and the parent session posts it there as a comment through the issue-update skill. The target is always theirs to pick.

Done when the brief is under the cap and every recommendation has a rationale and a footer entry.

Related

  • project-manager agent — the forked context this skill runs in.
  • standup — personal daily activity; agent-standup — shared ownership and handoffs; groom — what should change next.
  • to-spec, to-tickets — spec one feature and split it into tickets; groom works over the whole backlog.
  • issue-close, issue-update, issue-restructure, issue-create — act on grooming recommendations.

04 同仓库更多 Skills

dougborg
dougborg/harness-kit

teach

Teach yourself a topic over several sessions, with lessons, references, and a record of what you've learned.

教师与教育
★ 0
dougborg
dougborg/harness-kit

svg-logo-designer

Generate SVG logos with multiple concepts, layouts, and color variations.

图像与多媒体
★ 0
dougborg
dougborg/harness-kit

documentation-writer

Writes and revises human-facing documentation — READMEs, contributor and setup guides, reference pages, architecture notes, CLAUDE.md, and changelog entries. Covers picking the right document type for the question being asked, structuring for skimming, writing examples that actually run, and keeping docs from going stale. Use when creating or rewriting docs, when a README has drifted from the code, or when deciding where a piece of information belongs. For SKILL.md and agent files, use /skill-writer instead.

内容创作者写作与文案
★ 0
dougborg
dougborg/harness-kit

adhd-mode

Shapes every response for a reader with ADHD: the next action first, numbered steps, progress restated each turn, tangents held back, concrete time estimates, wins made visible. Stays on for the rest of the session until the reader says "stop adhd mode". On Claude Code, the harness-kit:adhd output style does the same without invoking this skill.

★ 0
dougborg
dougborg/harness-kit

wait-what

That last message didn't land: re-explain it with the missing context.

★ 0
dougborg
dougborg/harness-kit

to-questionnaire

Turn a decision you can't make alone into a questionnaire for the one person who can answer it, filled in async or together in a meeting.

★ 0