Raxx · internal docs

internal · gated ↑ index

Card grooming

TradeMasterAPI uses GitHub issues as its backlog. As the issue count grows (epics, bugs, security findings, agent-proposed work), the backlog drifts into a mix of:

Manual grooming is dull. The card-groomer agent does it automatically.

When to run it

How to run it

From inside Claude Code on this project:

Task card-groomer to review the open backlog.

Or to groom a single issue:

Task card-groomer to groom issue #84.

What it produces

For each issue it touches:

  1. A structured comment scoring 5 axes (atomicity, goal, acceptance criteria, epic link, labels).
  2. A label update — groomed (ready to pick up) or needs-grooming (explain why + suggested fixes).
  3. For non-atomic issues, a suggested split posted as a comment. The agent does not actually split — that's a human decision.

At the end, the agent summarizes its pass in the session log: how many groomed, how many flagged, what needs human judgment.

What it will not do

Rubric in one line

Ready = atomic + clear goal + acceptance criteria + epic link + correct labels.

Anything less gets needs-grooming.

Tuning

The rubric and don'ts live in .claude/agents/card-groomer.md. Edit there if you want to change scoring, add new labels, or tighten guardrails. The agent reloads on each invocation so changes take effect immediately.