Skip to content
Agentmart
Submit a tool

audit-issue

Audit an issue tree (issue + epic + siblings) for continued relevance — verify its claims against HEAD, then recommend keep, rescope, or close, with drafted…

Skill by officialunofficial

IndexedApache-2.0★ 7
Write a review

Chalk Labs

Need help deploying audit-issue?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/officialunofficial-audit-issue

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Audit an issue tree (issue + epic + siblings) for continued relevance — verify its claims against HEAD, then recommend keep, rescope, or close, with drafted comments the user can apply.

Use cases: security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/audit-issue

What's inside

Skill name
audit-issue
Description
Audit an issue tree (issue + epic + siblings) for continued relevance — verify its claims against HEAD, then recommend keep, rescope, or close, with drafted comments the user can apply.
License
Apache-2.0
Instructions
78 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Audit issue

Assess whether an issue — and the tree around it, when it has one (parent epic, siblings); a lone issue is a tree of one — is still relevant, and end in recommendations the user can act on. The user must **understand the issues before being asked to judge them** — the sequencing below is deliberate: product focus captured as context at intake, research next, teach-back after, verdicts last. Never propose a verdict or ask about closure before delivering the digest.

This skill takes **no tracker actions**: its output is analysis plus drafted comments and rewrites, ready for the user to apply (or hand back for execution as a separate, explicit request). It earns its cost on issues old enough to have drifted from the code — epics and long-lived plans. Fresh, never-triaged issues belong to `/triage`; don't point this at an incoming bug report.

Grading discipline comes from `/to-primitives`. Tracker conventions (labels, milestones, auth quirks) come from whatever the repo documents — contributing docs, tracker docs, or the configuration `/setup-skills` established; read them first, and where the repo documents nothing, use the tracker's defaults and skip decoration advice.

**Delivery rule.** Whenever a turn ends in substantive analysis the user must read (the digest, the verdict proposals), that analysis must be the final prose message of its turn, with NO tool call after it — a question tool fired in the same turn swallows the analysis and the user never sees it. End such turns with questions written in plain prose, then stop and wait. Reserve question tools for short, self-contained choices with no analysis preceding them in the turn.

## Process

### 1. Intake

The argument is an issue number or URL. If none was given, ask which issue to audit.

Capture the **product focus** as context: read it from the repo's roadmap or planning docs where they exist, else ask the user for it in one sentence. It is the fulcrum every verdict will turn on, so it must be stated, not improvised later. It scopes nothing before the verdicts — research stays comprehensive regardless — and it does not license early judgment: the sequencing rule above still holds. These are the only questions allowed before the digest.

### 2. Map the tree (tracker only)

- Fetch the issue: full body, labels, milestone, assignees, created/updated dates.
- Fetch its parent epic and ALL sibling sub-issues (via the tracker's native parent/sub-issue relations where it has them, else by following references in bodies).
- Fetch the state of every issue referenced in any body ("builds on / related / depends on"). A closed substrate issue means the sketch may be stale — note each.
- Search the tracker (all states) for newer issues that overlap or supersede any part of the tree.

### 3. Verify claims against HEAD (code research)

Treat every codebase claim in every body as unverified — the bodies froze at `createdAt`. Fan out read-only research agents, one per issue in the tree, in batches of no more than four at a time; if the tree holds more than ~8 issues, confirm the scope with the user before launching. Each agent returns:

- **Claim verdicts** — each factual claim marked still-true / partially-stale / false, with current `file:line` evidence. Cited line numbers, constants, and commit hashes drift; find the current location.
- **Primitive grades** — the capabilities the issue rests on, graded per `/to-primitives` (`exists` / `partial` / `missing`, behavior-named, `file:line`-cited).
- **Approach deltas** — anything landed since authorship that makes the sketch redundant (proposes a store that now exists), harder (new invariants it must join), or easier (a new natural mount point).

### 4. Teach-back digest

Present to the user, in this order — this is the deliverable of the first half:

1. **What the tree touches** — which subsystems/modules/layers, in the repo's own glossary, so the user knows what part of the codebase is implicated.
2. **One user story** — a single concrete narrative in which every issue in the tree is load-bearing, with the exact point where TODAY's code fails at each beat, and a closing line naming the joint affordance ("together these turn X into Y"). If the issues don't compose into one story, say so — that is itself a finding about the epic.
3. **Primitives table** — graded, cited, including any load-bearing missing primitive that NO issue in the tree owns (stated epic build orders often don't survive grading — check explicitly).
4. **Staleness summary** — which motivations still hold, which are already solved on the default branch, which sketches propose duplicating things that now exist.

The delivery rule applies. End the digest with two gating questions in plain prose, then stop and wait for the reply:

- Any part of the digest to go deeper on?
- **Confirm the product focus** — restate the focus captured at intake and ask whether, now that the user has seen what the tree actually affords, it still stands as the fulcrum for the verdicts.

### 5. Recommend verdicts

Apply the **roadmap test, not the complexity test**: "does the stated product focus need this capability soon?", never "does the user story sound ambitious?" — an ambitious story may just mean the audit composed a maximal one.

For each issue propose: **keep as-is** (motivation and sketch both survived verification), **rescope** (capability needed near-term, body needs rewriting against current code), or **close as premature** (real capability, but the focus needs none of it).

Think independently: if the user's framing is wrong, say so with evidence; if one issue in a tree deserves a different fate than the rest, argue it. Note hygiene fixes regardless (wrong labels, stale milestone, drifted size) where the repo documents conventions to check against. The delivery rule applies here too. Iterate until the user settles on a verdict per issue.

### 6. Draft the actions

Produce, as suggestions for the user to apply — take no tracker actions yourself:

- **Close**: one drafted context-preserving comment per issue (template below), closing children first, epic last (the epic's comment carries any build-order correction). Recommend the tracker's "not planned" close reason where it supports one, and removal from any version milestone. The research is the only durable output of a closed issue — a bare "closing as premature" throws it away.
- **Rescope**: a drafted replacement body per issue, rewritten against current code with the same decoration the repo's conventions call for.
- Never suggest reopen-and-edit of a stale sketch when the substrate moved — prefer close-with-guidance now, fresh re-file later.

Done when every issue the user ruled on has its drafted comment or body in the final message, ready to paste or approve.

## Closing-comment template

<closing-comment>
Closing as premature — current focus is <focus>, which needs none of this. Assessed <date> against <default branch> (<HEAD sha>); capturing the findings so a future re-file starts from current code, not this <createdAt> sketch.

**Stale since written:** <each claim that no longer holds, with what replaced it and current `file:line`>.

**Still genuinely missing:** <the capabilities verification confirmed absent>.

**If re-filed:** <the correct framing; the smallest real slice; constraints landed since that the design must satisfy>.
</closing-comment>

From officialunofficial/skills, Apache-2.0.

More from officialunofficial/skills

Signals

Stars
7
Forks
0
Open issues
0
Last commit (this folder)
Jul 29, 2026 (3 months ago)
Last release
Aug 25, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from officialunofficial

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get audit-issue running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying audit-issue?

CallGet help
Cite this page

audit-issue skill. Agent Mart. https://agentmart.dev/skills/officialunofficial-audit-issue (last updated 2026-10-24)