ajyadav013/claude-kit/bug-hunt
Claude Code and agent skill by ajyadav013/claude-kit
- community
Checking that the SKILL.md file is still in the repository.
Proactively hunt latent defects across a feature/module by reading source and tracing data flow. Use to find bugs before they ship. Distinct from debugging a known failure or reviewing a diff.
Install
npx vskill@latest install ajyadav013/claude-kit/bug-huntSKILL.md
The same SKILL.md was published earlier as ajyadav013/claude-kit/bug-hunt.
Bug Hunt
Overview
A proactive, source-driven search for bugs that have not surfaced yet. You are not fixing a reported failure and you are not checking a feature against a spec — you are reading the implementation as written, building a mental model of how data moves through it, and asking at every step "what input, ordering, or state makes this go wrong?"
The output is a list of concrete, evidence-backed findings, each rated on the project's standard severity model and each pointing at an exact location with a way to reproduce it.
This is the discovery counterpart to the kit's other quality skills. Use it when you want to find unknown problems in code that currently "works."
When to Use
- Before shipping a feature, to surface defects the happy-path tests never exercise.
- After a feature is built but before (or alongside) the formal review gates.
- When inheriting unfamiliar code and you need to know where it is fragile.
- When a class of bug keeps recurring and you want to sweep a module for siblings.
When NOT to use:
- A test is failing or an error is in front of you →
debugging-and-error-recovery(reactive,
single root cause).
- You are reviewing a specific change/diff →
code-review-and-quality(change-scoped). - You need to verify behavior against acceptance criteria on a running app → the
tester/
senior-tester lane.
How It Differs
| Skill / agent | Trigger | Scope | |
|---|---|---|---|
| bug-hunt (this) | proactive, nothing is broken yet | a whole feature/module, source-only | |
| debugging-and-error-recovery | a known failure exists | one root cause | |
| code-review-and-quality | a diff/PR is up | the changed lines | |
| senior-tester / tester | acceptance criteria + running app | spec-bound verification | |
| auditor | a runtime surface to probe | live behavior, not source reading |
The Hunt
Step 1 — Map the feature
Read the source for the target feature end to end before judging any single line. Produce a short map:
- Entry points — the functions/handlers/routes/components a user or caller can reach.
- Data flow — how a value travels from entry point → transformation → storage/output, and back.
- Boundaries — every place the feature crosses a trust or process boundary (user input, network,
storage, queue/worker, another service, the rendering layer).
- State — what is mutated, cached, shared, or persisted, and who else touches it.
You cannot find data-shape or ordering bugs without this map. Spend the time.
Step 2 — Sweep the scenario taxonomy
For every entry point and boundary on the map, walk this fixed checklist. It is deliberately broad — the point is coverage, so do not stop at the first finding in a category.
For each suspicion, confirm it in the source before recording it. A hunch is not a finding; a line of code that demonstrably mishandles the case is.
Step 3 — Record each finding
One entry per finding, in severity order:
Use the project's standard severity model — Critical / High / Medium / Low / Cosmetic (see .claude/rules/quality-gates.md); do not invent a parallel scale. Calibrate by blast radius and likelihood:
- Critical — data loss/corruption, auth bypass, or a crash on a common path.
- High — wrong result or unhandled failure on a realistic input.
- Medium — edge case that misbehaves; degraded but recoverable.
- Low / Cosmetic — minor display or robustness gap.
Step 4 — Systemic pass
After the per-site sweep, step back: do the individual findings rhyme? A single missing null check is a bug; the same missing check at five sites is a missing pattern (a shared guard, a validation boundary, an error-handling convention). Record the pattern once, list its instances, and recommend the systemic fix — it is worth more than the five line-fixes.
Step 5 — Summarize
Close with:
- A count by severity.
- The top 3 things to fix first, chosen by impact × likelihood (not by how many there are).
- Any area you could not fully assess (so the gap is visible, not silently dropped — see
.claude/rules/quality-gates.md §2.5 on evidence).
Honesty & Evidence
- Every finding cites a real location and a real reproduction. No speculative "this might break."
- If you read a path and it is correct, say so — do not pad the count.
- Report what you did not cover. A bounded hunt that names its blind spots beats one that
implies total coverage. See .claude/rules/agent-guardrails.md §2.
Red Flags
- Findings with no
path:lineor no reproduction. - Reporting style/lint nits as bugs (that is the linter's job).
- Stopping at the first finding per category instead of sweeping.
- Inflating severity to look thorough.
- Re-running this on a diff instead of using
code-review-and-quality.
Verification
- [ ] The feature map (entry points, data flow, boundaries, state) was written before judging lines.
- [ ] Every taxonomy category was swept for every entry point/boundary.
- [ ] Each finding has location + repro + root cause quoted from source.
- [ ] Findings are rated on the Critical/High/Medium/Low/Cosmetic model.
- [ ] A systemic pass grouped recurring findings into pattern-level fixes.
- [ ] The summary names the top 3 fixes and any uncovered area.
See Also
debugging-and-error-recovery— once a hunt finding (or any failure) needs root-causing and fixing.code-review-and-quality— change-scoped review of a specific diff.senior-tester/testeragents — spec-bound verification against a running app.auditoragent — runtime probing of a live surface.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/bug-hunt/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ajyadav013/claude-kit/bug-hunt)