Tars backlog triage
Skill MAHDTech/agent-skills/skills/planning/tars-backlog-triage
Make AI Agents great again!
npx -y skills add MAHDTech/agent-skills --skill tars-backlog-triageAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Triage pending backlog issues in `.tars/issues/todo/` to verify their accuracy, check for hallucinations, and add review notes. Reach for this when requested to triage tickets, verify backlog accuracy, or prepare issues for implementation.
SKILL.md
5.6 KB, ~1.2k tokens by cl100k_base, as published. Nobody here has run it
Backlog Triage
Triage pending issue tickets in .tars/issues/todo/ (conforming to the template in tars-backlog-create-issue) to verify their accuracy, identify implementation gaps, check for hallucinations, and append a detailed review section to each.
This skill runs in a Hub-and-Spoke topology using sub-agents to verify tickets in parallel.
Targets and Paths
- Target Directory:
.tars/issues/todo/relative to project root. - Ticket files are updated on disk only, never staged, committed, or force-added to git (since
.tars/is gitignored).
Topic Branch Workflow (Hub Only)
All backlog operations must run from a topic branch, never the default branch, and every spawned subagent branches off that active topic branch. See the canonical Topic Branch Verification section in tars-backlog-prepare for the full policy and commands.
Triage Workflow
1. Mode Detection & Backlog Scan
Determine the triage mode based on the user's instructions/invocation:
- Normal Triage: Triggered by default. To reduce token spend, identify only the unreviewed tickets (those missing a
## Reviewsection and havingstatus: todoor missing a status). Tickets already having a## Reviewsection or withstatus: reworkmust be skipped. - Adversarial Triage (Double-Check): Triggered if the user request contains keywords like
adversarial,double-check,re-triage, orforce(e.g.,/tars-backlog-triage perform an adversarial triage of the backlog). In this mode, identify all tickets in.tars/issues/todo/(including those with existing## Reviewsections orstatus: rework) to be triaged/double-checked.
Group the identified tickets into parallel batches of at most 5 concurrent subagents. Ensure that tickets within the same batch do not audit overlapping files to avoid git or environment conflicts.
2. Spawn Triage Spokes
For each ticket to verify in the batch, spawn a read-only research subagent on its own dedicated, isolated workspace/branch.
Since .tars/ is gitignored, the subagent's workspace will not have access to the ticket files. Because triage agents are read-only and return their findings directly to the Hub via message, the Hub only needs to pass the ticket content directly in the subagent's prompt (copying the file to the subagent workspace is not required).
Equip each subagent with:
-
Role:
Triage-<TICKET_ID>(substitute the 3-digit ticket ID, e.g.Triage-044) -
Prompt: Adjust the prompt depending on the triage mode. If in Adversarial Triage mode, append instruction #5:
You are auditing a pending issue ticket to verify its readiness and accuracy against the codebase. Ticket Content: <TICKET_CONTENT> Instructions: 1. Source Code Verification: Locate the exact directories, files, functions, and line references mentioned in the ticket. Read those parts of the codebase to verify if the description and tasks match the actual code today. 2. Implementation Readiness Check: - Does the ticket contain sufficient detail for a fresh agent with a small context window to implement the task? - Are the YAML frontmatter, tasks, and acceptance criteria formatted according to the guidelines in [tars-backlog-create-issue](../tars-backlog-create-issue/SKILL.md)? - Are there any gaps? (e.g., missing package configurations, unmentioned side effects, compile-time type errors, build script modifications). - Are there any hallucinations? (e.g., non-existent files, deprecated APIs, incorrect function signatures, wrong line references). 3. Assess Constraints: Check for platform compatibility concerns (Node vs Bun APIs, Windows path resolution/CRLF issues) and repository-specific guidelines. 4. STRICT ISOLATION CONSTRAINT: You must NEVER check out the default branch, active topic branch, commit directly to them, or attempt to merge branches. You must operate strictly within your local isolated workspace. 5. [Adversarial Mode Only] Double-Check/Adversarial Audit: The ticket content includes a `## Review` section from a previous review. Critically assess if those findings are correct and relevant. If any previous findings are incorrect or no longer apply, note that explicitly in your review. If new findings or gaps are discovered, list them. Formulate a detailed review of this ticket. If it is accurate and ready, state that. Otherwise, list the critical findings or gaps as bullet points.
3. Save Updates & Cleanup (Hub Only)
When a subagent completes:
-
The Hub receives the subagent's review markdown.
-
The Hub overwrites/replaces (or appends if missing) the
## Reviewsection at the bottom of the local ticket file in.tars/issues/todo/with the new findings, following this exact formatting:## Review - Finding A - Finding B -
Save the file to disk (do NOT stage or commit).
-
CRITICAL CLEANUP CONSTRAINT: As the Hub, you MUST clean up each subagent's worktree and branch immediately, regardless of whether the subagent succeeded, failed, or timed out. Failure to do so will break future iterations.
- Run
git worktree remove --force <path> - Run
git branch -D <branch-name>
- Run
Repeat for subsequent batches until all tickets in .tars/issues/todo/ have been triaged/double-checked and contain an up-to-date ## Review section.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.