skills/backlog-audit/SKILL.md
--- name: backlog-audit description: Refinement audit for a GitHub issue backlog — make relationships, priorities, and grouping explicit and consistent so a fresh reader (or /ro:ultracode) knows exactly what to build and in what order. Builds the dependency graph (parent/child, blocks, blocked-by, enables), normalizes a "## Relations" block into every issue, applies consistent priority/blocked labels, flags problems (orphans, cycles, dupes, blocked-by-closed, un-ordered date cohorts), and refres
npx skillsauth add RonanCodes/ronan-skills skills/backlog-auditInstall 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.
Issues added across different days drift: relationships go implicit, priorities go stale, duplicates creep in, and "what do I build first" stops being obvious. This skill is the periodic refinement pass that re-imposes order, so the backlog stays kickable by a human or by /ro:ultracode without archaeology.
Siblings: /ro:project-status (reports the backlog), /ro:ultracode (executes the build queue), /ro:slice-into-issues (creates child slices). This skill is the groomer that keeps their shared input clean.
/ro:night-shift or /ro:ultracode drain, so the order is trustworthy.True auto-fire needs a hook and issue-creation isn't a clean local event, so the realistic trigger is behavioral: the agent runs it when it notices backlog churn. Note that honestly rather than pretending it's automatic.
gh issue list --repo <repo> --state open --limit 100 \
--json number,title,labels,body,createdAt,comments
Read each body + the coordination-hub comments. --repo defaults to the current repo's gh remote; --hub defaults to the pinned coordination issue (the one labelled the hub, e.g. the "coordination" / shared-memory anchor) or ask.
For every issue, infer:
## Parent\n\n#N, PRD slice lists, or prd-labelled umbrellas.priority:* labels, pinned ordering, age + size + unblocks-others (the night-shift 4-signal intuition).Flag and report:
priority:next on something now blocked, or a high-priority item superseded.--apply)Insert/replace an idempotent block at the top of each issue body (replace the existing one if present, never stack duplicates):
<!-- backlog-audit:relations -->
## Relations
- **Parent:** #N (or none)
- **Blocks:** #A, #B (or none)
- **Blocked by:** #C (or none) — <why, if a gate>
- **Enables:** #D
- **Priority:** next | later | someday
- **Added:** YYYY-MM-DD (cohort)
<!-- /backlog-audit:relations -->
Apply consistent labels: priority:next / priority:later, blocked (+ a one-word why via a blocked:key|spend|legal|dep label or note), prd, parent linkage. --dry-run (default) prints the plan; --apply writes via gh issue edit / gh issue comment.
Write/replace a single Backlog map comment on the coordination hub (idempotent — edit the prior audit comment if found, else post one). This is the artifact that makes "how should I do this" obvious:
## Backlog map (audited YYYY-MM-DD)
### Build order (ready, unblocked)
1. #49 — leads schema + create-lead [enables #48]
2. #48 — voice outreach workflow [needs #43, #49]
...
### Blocked (and on what)
- #27/#32/#33 — Telnyx NL number (~date) [spend]
### PRD umbrellas → open slices
- #1 Relations → #48 ...
### Flags for human
- possible dup: #X ~ #Y
- #Z blocked by closed #W → likely unblock
Print: counts (audited / relinked / relabelled), the build order, and the flags needing a human decision. Keep it tight.
work repo with no GH side-effects, write the map to the local backlog file instead.testing
--- name: linear-pipeline description: The Fable orchestrator for a single dispatched Linear ticket. Holds almost no context itself; it receives `--issue <ID> --detached`, decides the stage sequence, and fans out a sub-agent per stage, passing forward only each stage's artifact (never re-derived, never inlined into its own context). Step zero, before any planning or stage routing, is a boundary triage against `canon/security-boundary.md` (#199): a match tags Ronan Connolly and stops the run, no
development
--- name: in-your-face description: Capture a chat-only answer into a durable artifact (markdown + HTML, PDF when cheap) and launch it automatically so the user cannot miss it. Use when user says "in your face", "don't let me lose this", "save that answer", "make that durable", or right after answering a substantive side question (a recipe, comparison, how-to, or generated prompt) that would otherwise die with the context. category: workflow argument-hint: [--no-open] [--vault <short>] [hint of
tools
One-shot headless OpenAI Codex CLI calls for background/admin AI tasks — summaries, classification, extraction, admin glue. The default engine for anything that runs AI constantly in the background (daemon-driven, per-event), because it bills the flat ChatGPT subscription instead of Claude usage or per-token API spend, and it keeps working while Claude is rate-limited. NEVER for coding — coding stays Claude. Use when a skill or daemon needs a cheap always-on AI call, when the user says "use codex", "ask codex", "codex as backup", or when building a background summarizer/classifier into a listener or loop. Reads auth from ~/.codex/auth.json (ChatGPT account, no API key).
research
Turn a warranty rejection, repair quote, or RMA email into a cited decision brief — legal read (NL/EU consumer law), is the part user-serviceable, live part and new-unit prices, repair-vs-DIY-vs-new economics, before-you-send-it checklist, deadlines. Use when the user pastes or screenshots a repair quote, warranty rejection, "not covered" email, onderzoekskosten fee, or asks "should I repair or replace this".