skills/groom/SKILL.md
Always-on backlog grooming. Tidy, brainstorm, interrogate, investigate, research, and simplify in a single loop. Tidy is not a mode — it happens every time. Strategic-layer work is a mega-sweep: swarm investigation, external research, critique, synthesis, and backlog shaping across product, codebase, docs, infrastructure, ops, architecture, system design, value prop, and agent readiness. Use when: "groom", "what should we build", "rethink this", "biggest opportunity", "backlog", "prioritize", "backlog session", "audit skills", "skill quality audit". Trigger: /groom, /groom audit, /backlog, /rethink, /moonshot, /scaffold.
npx skillsauth add phrazzld/spellbook groomInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Keep backlog.d/ true and make the project more ambitious. Normal strategic
/groom is a mega-sweep, not triage: boil the ocean on purpose, then distill
it into a world-class plan and backlog diff. A groom that only lists, lightly
prioritizes, or emits a tiny handful of issues is incomplete unless the user
explicitly scoped the run down.
The backlog diff is the artifact. Prose exists to justify it.
Groom is a conversation at the seams where the operator's judgment is the scarce
input. At intake, interrogate the operator on ambition, vision deltas, and
hidden priors so the sweep aims true — the grill-me-style posture in
harnesses/shared/references/interrogate-first.md is the default here, not a
fallback gated on whether they arrived with a backlog item. The investigation
sweep itself stays autonomous — explore the codebase for what it can answer;
reserve interrogation for the operator's judgment, not for facts you can read. If the groom produces a giant synthesis, use julius-caveman
compression for interim summaries, not for the committed backlog text.
Every strategic groom creates, refreshes, or explicitly validates a durable project vision before ranking work. Vision is the north star that makes brainstorming and backlog movement coherent; without it, grooming collapses into local cleanup.
VISION.md as a first-class repository artifact; use
docs/product.md, a roadmap doc, or a clearly named backlog epic only when
repo evidence says root vision is the wrong fit. Treat creating it as a
first-class groom emission./vision when creating or materially revising root VISION.md; groom
consumes the north star instead of hand-rolling a parallel strategy doc.harnesses/shared/references/image-generation.md.Tooling owns closure; consume it, don't hand-roll it:
default="$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@')"
cargo run --locked -p harness-kit-checks -- backlog ids-from-range "origin/${default:-main}..${default:-main}"
cargo run --locked -p harness-kit-checks -- backlog archive "$id" # idempotent
Closes-backlog:/Ships-backlog: trailers
or marked done/shipped in frontmatter. Commit as
chore(backlog): archive shipped tickets swept by /groom.in-progress (merged/deleted branch, or 30+ days untouched).Trailer canon lives in meta/CONTRACTS.md. Emit trailers only via
git interpret-trailers; hand-formatted variants are invisible to tooling.
Delegate on judgment per the shared Roster contract: native subagents by
default; add cross-model critics, roster providers, or sprite lanes
(/sprites) only when they answer a distinct question. See
harnesses/shared/AGENTS.md (Roster).
Local lane guidance: strategic grooming uses swarms by default. Launch independent lanes for product/value, operator experience, runtime reliability, architecture, simplification/deletion, security/privacy, docs/onboarding, ops/infra, testing/verification, agent readiness, and external exemplars. The lead keeps final prioritization.
For any strategic groom, load references/mega-groom.md. It is the contract
for swarm size, coverage map, source matrix, output shape, and the
"world-class plan" bar. Use references/investigation-bench.md only for lane
prompt shapes; it is a template library, not the whole run.
Calibrate scope to what frontier agents can execute, not what a human team can staff. Execution is cheap; vision is the scarce input. Strategic grooming must describe the best version of the whole project, then backchain from that standard into epics, deletions, sequencing, and first pickups.
/research when outside knowledge would
change a verdict. When the sweep keeps returning the obvious (the mundane
harvest failure), route the divergence through nous-creative-ideation — a
routed library of named methods (lateral provocations, analogy/biomimicry,
premortem-and-inversion) that manufactures non-obvious lenses on purpose. The
bar is genuine diversity and depth of exploration, judged fresh each session.Investigate before opining. A tidy-only pass exists, but only when the user
asks for one; any other session owes the references/mega-groom.md sweep,
with genuinely independent perspectives run in parallel and /research when
outside context would change a verdict. Fresh-context lanes exist to
decorrelate judgment, not to fill a roster.
harnesses/shared/references/quality-gates.md)? Security gates that catch
secret leaks in files and Git/PR metadata before publication? Stale
AGENTS/CLAUDE prose? Product context a cold agent would need? Each gap is a
ticket like any other.grill-me way — walk the decision tree (sequencing, deletions, the next
pickup) one branch at a time, recommending each — instead of dropping the
full plan for a rubber-stamp.backlog.d/<nnn>-<kebab-slug>.md, bare numeric IDs.
# <Title as imperative sentence>
Priority: P0–P3 · Status: pending|ready|blocked|in-progress|done|shipped|abandoned · Estimate: S–XL
## Goal
<one sentence — outcome, not mechanism>
## Oracle
- [ ] <mechanically verifiable; rough oracles are still oracles>
## Verification System
- Claim:
- Falsifier:
- Driver:
- Grader:
- Evidence packet:
- Cadence:
## Notes
<constraints, prior art, open questions>
Epics are the default shape for strategic emissions: same file, plus a
## Children section — ordered child outcomes that stay inline until
picked up, then graduate to their own tickets. An epic still needs a Goal
and an Oracle for the whole arc; "umbrella" files with no done criteria are
storage, not epics.
Every active ticket has Goal + Oracle; fix or demote anything that doesn't.
For M+ work or anything promoted to Status: ready, add the verification
system from harnesses/shared/references/verification-system-first.md.
M+ tickets promoted to Status: ready follow /shape's
references/prd-ticket-quality.md; otherwise they stay raw ideas. When
grooming Harness Kit itself, apply the product lens in
references/backlog-doctrine.md.
**Why:** naming the evidence lane.
Strategic emissions should show breadth across the domain map, not just
the easiest implementation slice.Apply non-destructive backlog edits when the user asked for grooming. Deletions, abandonments, and silent merges stay proposals unless explicitly approved.
/groom audit is a read-only harness-health report, not a grooming run:
cargo run --locked -p harness-kit-checks -- telemetry --repo .
It summarizes skill/prompt usage from hook logs (and staleness vs last edit). Read it with judgment: low usage with high value-when-used is fine — say so; low usage with no story is a deletion candidate. Present findings ordered by severity; do not auto-fix.
/groom audit (above) scores skill quality; backlog mechanics are enforced
by harness-kit-checks backlog subcommands. A groom run ends with a clean
tree: archives committed, emissions written, deletions awaiting ratification.
testing
Capture one compounding repo-technical learning while a solved problem is still fresh. Use when: after a bug fix, diagnosis, delivery, review, or incident reveals a reusable pattern worth adding to `docs/solutions/`. Trigger: /compound, /capture-learning, /learning.
testing
Route Misty Step factory application capabilities. Use when choosing, auditing, integrating, or operating Canary, Powder, Landmark, Aesthetic, or Bitterblossom: production observability, incidents, health checks, error logging, backlog/work-card state, release intelligence, UI/UX system adoption, or supervised/unsupervised agent dispatch. Trigger: /factory-apps, /factory-stack.
testing
Prove a skill beats no-skill with a falsifiable A/B eval, or retire it. Design, generate, run, and maintain a skill-specific eval: name the one claim the skill must earn, run it skill-on vs raw same-model, grade blind with objective checks first, return a keep/adapt/cut verdict. Use when: "eval this skill", "does this skill help", "prove the skill beats no skill", "write an eval for", "benchmark a skill", "is this skill worth it", "skill A/B", "skill regression test", "generate skill evals". Trigger: /skill-eval, /eval-skill, /prove-skill.
tools
> Template. Copy to `<target-repo>/.agents/skills/<repo>-<domain>/SKILL.md` > and fill every bracketed placeholder from the live target repo. Delete this > line and every other `> ` guidance line before committing. See > `../../references/repo-local-skill-generation.md` for the full process. --- name: <repo>-<domain> description: | [One paragraph: what this skill verifies/runs/operates for <repo>, stated in terms of the repo's real shape (service/CLI/library/etc.), not generic process. En