hunt
Skill1 starsChanged 6 months agoMITView on GitHub
Finds root cause of errors, crashes, unexpected behavior, and failing tests before applying any fix. Not for code review or new features.
11 other projects use a version of this, 4 of them edited.
Adopted by
Most recently taken up by
- jsobolewski1/fonduetheir own version, first seen Oct 3, 2026
- therealtinhtute/mono-harnesstheir own version, first seen Sep 27, 2026
- mlhiter/skillsedited, first seen Sep 4, 2026
- leandrodslv/claude-skills-libraryedited, first seen Aug 14, 2026
- Zicross/application-enginetheir own version, first seen Aug 5, 2026
- brennin0820/nightraventheir own version, first seen Jul 3, 2026
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 4
- tw93/Waza★ 7.1k16% same
- ninehills/skills★ 28024% same
- mlhiter/skills★ 1617% same
- leandrodslv/claude-skills-library★ 022% same
Wrote their own version · 7
- H-mmer/pentest-agents★ 984same name
- jsobolewski1/fondue★ 5same name
- therealtinhtute/mono-harness★ 4same name
- corygabrielsen/skills★ 1same name
- brennin0820/nightraven★ 0same name
- Ekajto/my-claude-skills★ 0same name
- Zicross/application-engine★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 9 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
When these surface, stop and re-examine:
- Distinctive: line 35
When these appear, the diagnosis is moving in the right direction:
- Distinctive: line 44
Do not claim progress without observable evidence matching at least one of these signals.
- Distinctive: line 49
After three failed hypotheses, stop: Use the Handoff format below to surface what was checked, what was ruled out, and what is unknown.
- Very specific: line 50
Verify before claiming: Never state versions, function names, or file locations from memory.
- Distinctive: line 51
External tool failure: diagnose before switching: When an MCP tool or API fails, determine why first (server running?
- Distinctive: line 52
Pay attention to deflection: When someone says "that part doesn't matter," treat it as a signal.
- Distinctive: line 54
Fix the cause, not the symptom: If the fix touches more than 5 files, pause and confirm scope with the user.
- Very specific: line 64
Run git bisect start, git bisect bad (current), git bisect good <tag>.
- Distinctive: line 66
When bisect names the culprit commit: read only that commit's diff, not surrounding history.
- Distinctive: line 140
Font loading: Check @font-face paths, CORS headers, file format support
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Hunt: Diagnose Before You Fix
Prefix your first line with ⚔️ inline, not as its own paragraph.
A patch applied to a symptom creates a new bug somewhere else.
Do not touch code until you can state the root cause in one sentence:
"I believe the root cause is [X] because [evidence]."
Name a specific file, function, line, or condition. "A state management issue" is not testable. "Stale cache in useUser at src/hooks/user.ts:42 because the dependency array is missing userId" is testable. If you cannot be that specific, you do not have a hypothesis yet.
Rationalization Watch
When these surface, stop and re-examine:
| What you're thinking | What it actually means | Rule |
| "I'll just try this one thing" | No hypothesis, random-walking | Stop. Write the hypothesis first. |
| "I'm confident it's X" | Confidence is not evidence | Run an instrument that proves it. |
| "Probably the same issue as before" | Treating a new symptom as a known pattern | Re-read the execution path from scratch. |
| "It works on my machine" | Environment difference IS the bug | Enumerate every env difference before dismissing. |
| "One more restart should fix it" | Avoiding the error message | Read the last error verbatim. Never restart more than twice without new evidence. |
Progress Signals
When these appear, the diagnosis is moving in the right direction:
| What you're thinking | What it means | Next step |
| "This log line matches the hypothesis" | Positive evidence found | Find one more independent piece of evidence to cross-validate |
| "I can predict what the next error will be" | Mental model is forming | Run the prediction; if it matches, the model is correct |
| "Root cause is in A but symptoms appear in B" | Propagation path understood | Trace the call chain from A to B and confirm each link |
| "I can write a test that would fail on the old code" | Hypothesis is specific and testable | Write the test before applying the fix |
Do not claim progress without observable evidence matching at least one of these signals.
Hard Rules
- Same symptom after a fix is a hard stop; so is "let me just try this." Both mean the hypothesis is unfinished. Re-read the execution path from scratch before touching code again.
- After three failed hypotheses, stop. Use the Handoff format below to surface what was checked, what was ruled out, and what is unknown. Ask how to proceed.
- Verify before claiming. Never state versions, function names, or file locations from memory. Run
sw_vers/node --version/ grep first. No results = re-examine the path. - External tool failure: diagnose before switching. When an MCP tool or API fails, determine why first (server running? API key valid? Config correct?) before trying an alternative.
- Pay attention to deflection. When someone says "that part doesn't matter," treat it as a signal. The area someone avoids examining is often where the problem lives.
- Visual/rendering bugs: static analysis first. Trace paint layers, stacking contexts, and layer order in DevTools before adding console.log or visual debug overlays. Logs cannot capture what the compositor does. Only add instrumentation after static analysis fails.
- Fix the cause, not the symptom. If the fix touches more than 5 files, pause and confirm scope with the user.
Bisect Mode
Activate when the symptom is "used to work, now broken" or "broke after an update". Random-walking forward from the current state wastes context and produces random fixes.
Flow:
- Find
last-known-good: use the most recent tag where the behavior was correct (git tag --sort=-version:refname | head -5). Do not use a date or a raw SHA as the anchor. - Define a pass/fail test command before starting. The command must be runnable non-interactively and produce an unambiguous exit code. Write it down once; reuse it at every step.
- Run
git bisect start,git bisect bad(current),git bisect good <tag>. Let bisect drive; do not jump ahead. - Context conservation: do not re-read large files at each step. Read once, note the key function or line, reference from notes. Bisect output is the state; keep it in the terminal, not in context.
- When bisect names the culprit commit: read only that commit's diff, not surrounding history. Identify the specific line that introduced the regression.
Confirm or Discard
Add one targeted instrument: a log line, a failing assertion, or the smallest test that would fail if the hypothesis is correct. Run it. If the evidence contradicts the hypothesis, discard it completely and re-orient with what was just learned. Do not preserve a hypothesis the evidence disproves.
Gotchas
| What happened | Rule |
| Patched client pane instead of local pane | Trace the execution path backward before touching any file |
| MCP not loading, switched tools instead of diagnosing | Check server status, API key, config before switching methods |
| Orchestrator said RUNNING but TTS vendor was misconfigured | In multi-stage pipelines, test each stage in isolation |
| Race condition diagnosed as a stale-state bug | For timing-sensitive issues, inspect event timestamps and ordering before state |
| Reproduced locally but failed in CI | Align the environment first (runtime version, env vars, timezone), then chase the code |
| Stack trace points deep into a library | Walk back 3 frames into your own code; the bug is almost always there, not in the dependency |
| Worked when launched from app, broke when opened via file association / drag-drop / deep link / external proxy | Reproduce using the exact entry point the user described. App-internal init differs from cold-launch-with-file init; state may not be ready when the document arrives. |
Outcome
Success Format
Root cause: [what was wrong, file:line]
Fix: [what changed, file:line]
Confirmed: [evidence or test that proves the fix]
Tests: [pass/fail count, regression test location]
Regression guard: [test file:line] or [none, reason]Status: resolved, resolved with caveats (state them), or blocked (state what is unknown).
Regression guard rule: for any bug that recurred or was previously "fixed", the fix is not done until:
- A regression test exists that fails on the unfixed code and passes on the fixed code.
- The test lives in the project's test suite, not a temporary file.
- The commit message states why the bug recurred and why this fix prevents it.
Handoff Format (after 3 failed hypotheses)
Symptom:
[Original error description, one sentence]
Hypotheses Tested:
1. [Hypothesis 1] → [Test method] → [Result: ruled out because...]
2. [Hypothesis 2] → [Test method] → [Result: ruled out because...]
3. [Hypothesis 3] → [Test method] → [Result: ruled out because...]
Evidence Collected:
- [Log snippets / stack traces / file content]
- [Reproduction steps]
- [Environment info: versions, config, runtime]
Ruled Out:
- [Root causes that have been eliminated]
Unknowns:
- [What is still unclear]
- [What information is missing]
Suggested Next Steps:
1. [Next investigation direction]
2. [External tools or permissions that may be needed]
3. [Additional context the user should provide]Status: blocked
Rendering Bug Mode
Activate when: "PDF looks wrong", "page break issue", "font not rendering", or broken PDF output
Diagnosis checklist:
- WeasyPrint bugs:
rgba()causes double-rectangle bug (use solid hex),page-break-inside: avoidignored (use explicit breaks) - Font loading: Check @font-face paths, CORS headers, file format support
- Page overflow: Calculate content height vs page height, suggest line-height/padding reduction
- Browser print CSS: Confirm
@media printrules,@pagemargins, orphan/widow control
Static analysis first (CSS review), then reproduce if needed.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

