/sdlc:issue-audit runs instead · from sdlc
Audits and triages issue backlogs with read-only defaults, interactive cleanup decisions, and guidance steering. Use for backlog inspection instead of direct issue manipulation.
This skill never runs in Claude Code
It ships in sdlc at skills/, but /sdlc:issue-audit (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
Skill access pattern (post-kernel-pivot, 2026.5+)
Skill names referenced in this document are AIWG skills, not slash commands. Most are not kernel-listed and cannot be invoked as
/skill-nameby the platform. Reach them via:aiwg discover "<capability>" aiwg show skill <name> --bodyOnly kernel-listed skills (
aiwg-doctor,aiwg-refresh,aiwg-status,aiwg-help,use,aiwg-steward-routingon Claude Code) are directly invokable as slash commands. See skill-discovery rule.
Resolve .aiwg/aiwg.config remotes.issue_tracker and issues.labels before
searching or grouping work. Audit filters, batches, lifecycle states,
priorities, ownership, blocked reasons, approval states, and automation
eligibility by stable role/category, then translate through the target
provider's configured label name. Report taxonomy diagnostics without silently
creating labels. When issues.labels is absent, retain legacy behavior with a
clear fallback warning.
You are the issue backlog auditor. Your job is to inspect issue state, identify cleanup and prioritization opportunities, and present actionable triage recommendations without starting implementation work.
Use address-issues when the operator wants issues fixed. Use issue-audit when the operator wants to know what should be closed, linked, refreshed, deferred, prioritized, or investigated next.
Users may say:
aiwg run skill issue-audit -- --filter "status:open" --guidance "rank release blockers" --page-size 25 --max-items 250 --format json
# Repeat the same command and checkpoint to continue after a stop.
aiwg run skill issue-audit -- --checkpoint /path/to/audit.json --max-items 250 --format markdown
The executable is read-only. It resolves the configured tracker and semantic labels,
pages metadata first (1–100 issues; default 25), and hydrates bodies/comments only
for selected epic, deferred, duplicate, superseded, or fixed candidates. --select ID,ID overrides hydration selection. Findings are triage candidates requiring
review; the executable makes no claim to prove duplicates or completed acceptance.
--max-items (250), --max-pages (100) and --max-context-bytes (262144) bound each invocation;
--max-bytes (65536) bounds a metadata page plus selected hydration. REST list
responses may include bodies: discard them immediately without passing them to
audit decisions or checkpoints. Oversized responses stop coverage explicitly.
The default checkpoint is working/issue-audit/checkpoint.json beneath the
configured artifact root; --checkpoint PATH selects another file. Atomic item
checkpoints retain cursor, pending metadata, completed IDs and recommendations,
never issue bodies/comments. Resume preserves provider, actor, filter, guidance,
page size and selection; budgets may change. Completed items are not rehydrated
or duplicated. Local index changes and changed forge page boundaries/totals stop
with tracker-changed; start a separate checkpoint to audit a changed backlog.
Forge offset APIs cannot guarantee a snapshot of concurrently edited unseen pages.
JSON reports coverage.totalSeen, totalHydrated, totalCompleted, incomplete
and reason, plus continuation and batch counts/bytes. Markdown visibly marks
INCOMPLETE. Budget stops, interruptions and provider errors exit 2; completion
exits 0. SIGINT/SIGTERM preserve the last completed item. Abrupt termination may
repeat unfinished reads, but never a committed finding. Inspect/recover an orphan
lock whose owner cannot be proven dead before retrying.
Executable filters support status:open|closed|all and repeated label:NAME or
semantic label roles. Unsupported filters fail explicitly. --apply and
--interactive require the instructional workflow below and are rejected by the
executable before tracker access; its default and --dry-run never mutate issues.
Audit all open issues. This is the default when no issue numbers or filter are supplied.
Filter expression aligned with issue-list / address-issues conventions:
--filter "status:open label:bug"
--filter "status:open label:deferred"
--filter "status:open label:epic"
Override issue tracker provider: gitea, github, or local. Defaults to project configuration.
Ask one focused question at a time for ambiguous triage calls. Use this for cleanup sessions where the operator wants to decide issue fate incrementally.
Interactive prompts should be concrete:
address-issues, defer, or keep in backlog?"Do not batch many decisions into one prompt. After each answer, update the audit plan and continue.
Upfront direction that steers the audit lens without changing the core checklist.
Examples:
--guidance "focus on stale deferred work"
--guidance "find epics whose child status is out of date"
--guidance "prioritize release blockers over feature backlog"
--guidance "only look for duplicates and already-fixed issues"
Include the guidance text in the final report.
Never mutate issue tracker state. This is the default behavior, but the flag is accepted for parity with other issue skills and for explicit operator confidence.
Apply agreed cleanup actions such as comments, issue body refreshes, label changes, or closures. Only use when the operator explicitly requests it. In interactive mode, ask before each mutation unless the operator has given a narrow batch instruction.
Run the relevant checks for the selected issue set:
address-issues next, ordered by impact and dependency unlock.Use repository search only when issue state alone is insufficient to decide whether something is already implemented or superseded.
Default report:
# Issue Audit
Scope: <provider/filter/all-open>
Guidance: <guidance or none>
Mode: read-only
## Counts
- Open issues audited: N
- High-priority blockers: N
- Stale/deferred cleanup candidates: N
- Duplicate/overlap candidates: N
- Epics needing refresh: N
## Findings
### High Priority
- #N — <reason> — Recommended action: <action>
### Cleanup Candidates
- #N — <reason> — Recommended action: <action>
### Epic Hygiene
- #N — <reason> — Recommended action: <action>
### Duplicate / Relationship Candidates
- #A / #B — <relationship> — Recommended action: <action>
## Recommended Next Moves
1. <highest-value action>
2. <next action>
3. <next action>
When --interactive is used, report each completed decision and remaining undecided items at the end.
Default is read-only. If --apply is explicitly requested:
issue-audit; route implementation candidates to address-issues.# Audit all open issues
issue-audit
# Audit stale deferred items
issue-audit --filter "status:open label:deferred" --guidance "close mistake issues or add check dates"
# Walk through cleanup decisions one by one
issue-audit --all-open --interactive --guidance "focus on stale issues and duplicates"
# Read-only priority audit for implementation planning
issue-audit --filter "status:open" --guidance "rank blockers for address-issues"
# Apply already-decided cleanup actions interactively
issue-audit --interactive --apply --guidance "ask before every issue closure"
| Skill | Use when |
|---|---|
issue-list | You only need a filtered issue listing |
issue-audit | You need triage, cleanup recommendations, or prioritization |
issue-comment | You already know the exact comment to post |
issue-close | You already know the issue should close |
address-issues | You want implementation work performed against one or more issues |
issue-sync / issue-auto-sync | You need commits and issue state reconciled |
address-issues next.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
116 skills in this plugin
/address-issuesAddress open issues or deliver a milestone with bounded workers, triage, independent verification, signed merge and post-merge CI/address-issues-threat-assessPreflight issue bodies for prompt-injection and supply-chain risk before address-issues acts on them/aiwg-kbSearch AIWG knowledge base for help, documentation, and troubleshooting/aiwg-setup-projectUpdate project CLAUDE.md with AIWG framework context and configuration/aiwg-setup-warpSetup Warp Terminal with AIWG framework context (preserves existing content)/aiwg-update-agents-mdUpdate AGENTS.md with project-specific context for Factory AI based on codebase analysisnpx claudepluginhub jmagly/aiwg --plugin sdlcOther plugins' skills for the same job