Agent skill
tools-bug-triad-review
Run a weekly adversarial bug triad (finder, skeptic, arbiter) to maximize bug discovery coverage and emit a scored verified bug list.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/tools-bug-triad-review
SKILL.md
Bug Triad Review
Use this skill when the user wants a high-recall, adversarial bug review that intentionally tolerates false positives and then filters them through a skeptic + final arbiter pass.
Weekly Cadence
Run once per week for the default codebase sweep. Prefer a fixed day and artifact path so trends are easy to compare.
- Artifact root:
docs/audits/bug-triad/<YYYY-MM-DD>/ - Required files:
finder.mdskeptic.mdarbiter.mdverified-bugs.md
Inputs
Use these as evidence for all three phases:
- Static bug scan output (
pnpm bug-scanorpnpm bug-scan:changed+ optional JSON mode). - Targeted code reads around hotspots.
- Relevant runtime errors, lint/typecheck diagnostics, or prior incident notes.
If scope is unspecified, default to changed-files plus critical paths touched in the last week.
Execution Workflow
- Build evidence packet
- Collect scanner output and key code references.
- Normalize each candidate issue with a stable ID (
BUG-001,BUG-002, ...).
- Run Finder pass
- Use the Finder prompt from
references/phase-prompts.md. - Enforce scoring:
Low=+1,Medium=+5,Critical=+10. - Output to
finder.mdwith total score.
- Run Skeptic pass
- Feed
finder.mdinto the Skeptic prompt. - Challenge every bug; prefer
DISPROVEonly when confidence is high (2x penalty awareness). - Output to
skeptic.mdwith final skeptic score.
- Run Arbiter pass
- Feed
finder.md+skeptic.mdinto the Arbiter prompt. - Arbiter resolves truth for each disputed bug and produces final accepted list.
- Output to
arbiter.md.
- Publish verified bug list
- Create
verified-bugs.mdcontaining onlyVERDICT: REAL BUGitems. - Group by severity, include file references and concise fix direction.
Output Contract
Every run must report:
- Run date and scope reviewed.
- Finder total score.
- Skeptic final score.
- Counts: reported, disproved, accepted, confirmed-real.
- Verified bug list grouped by
Critical,Medium,Low.
Guardrails
- Do not invent evidence; every bug must cite concrete repo location(s).
- False positives are allowed in Finder pass, but Arbiter output must be evidence-based.
- If evidence is insufficient to decide, Arbiter must mark confidence
Lowand call out exact missing evidence. - Do not skip skeptic or arbiter phases; this skill is triad-by-design.
Escalation
Escalate to lp-do-plan / lp-do-build when:
- confirmed critical bugs require coordinated fixes,
- the same bug class appears across multiple packages,
- weekly trend shows regressions for two consecutive runs.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?