hunt
यह क्या करती है
यह स्किल एजेंट से बग की जाँच करवाती है और फ़िक्स लगाने से पहले कारण साबित करवाती है। यह उन डेवलपर्स के लिए है जो error, crash या ऐसी चीज़ से निपट रहे हैं जो पहले चलती थी और अब नहीं चल रही।
कब इस्तेमाल करें
- ✓जब कोई बदलाव के बाद कुछ error देता है, crash होता है या काम करना बंद कर देता है।
- ✓जब कोई सुविधा जो पहले काम करती थी, अब अलग तरह से व्यवहार करती है।
- ✓जब आप चाहते हैं कि कोई फ़िक्स लगाने से पहले कारण पक्का हो।
Skill का लिंक
https://github.com/tw93/Waza/blob/main/plugins/waza/skills/hunt/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“कल के अपडेट के बाद एक्सपोर्ट बटन काम करना बंद कर गया। कुछ बदलने से पहले पता कीजिए कि क्यों।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट सोर्स का पता लगाता है, समस्या दोबारा पैदा करता है, और कारण को सबूत के साथ एक वाक्य में बताता है। उसके बाद ही फ़िक्स लगाता है और जाँचता है कि वह काम करता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
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.
Outcome Contract
- Outcome: the root cause is identified before any fix is applied.
- Done when: one sentence explains the cause, every observed symptom fits it, and the fix or handoff is verified against a reproducible check.
- Evidence: source trace, repro command or UI path, logs or state, targeted test/build output, and runtime evidence for UI or native defects.
- Output: root cause, fix or handoff, verification result, and any unswept sibling risks.
- Authorization: "diagnose", "investigate", "why", "look into", "排查", "看看", or equivalent is report-only. Apply a fix only when the current request explicitly asks to fix, change, implement, or optimize, or when an authorization to do so is still in force for this same unfinished task with the action, scope, and goal unchanged; root-cause proof is still required first. A fix authorization never carries commit, push, publish, or any destructive action with it.
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.
Diagnosis Signals
Hypothesis quality gate: the hypothesis must explain every observable symptom, not just the one reported first; partial coverage is a symptom-level guess, not a root cause. A symptom the reporter waves off as unrelated is still a symptom the hypothesis has to cover. For timing-dependent issues (flicker, intermittent failure, race), reproduce reliably before diagnosing.
Rationalization smells: "I'll just try this" = no hypothesis, write it first. "I'm confident" = run the instrument that proves it. "Probably the same issue" = re-read the execution path from scratch. "It works on my machine" = enumerate env differences before dismissing. "One more restart" = read the last error verbatim; never restart more than twice without new evidence.
Durable Context Preflight
See references/durable-context.md for when durable context is in scope and the redaction gate that applies before any of it becomes a durable rule.
For /hunt: durable context is hypothesis fuel only, and current code, logs, and repro evidence override memory. It never replaces a fresh root-cause sentence or a reproducible symptom list.
Bisect Mode
Activate when: "以前是好的", "之前是好的", "used to work", "上一次提交还是对的", "broke after update", or the user remembers a specific good commit or version.
- Protect the user's worktree first:
git status --short --branch -uall. Any modified, staged, or untracked files mean no bisect in the current checkout: run it in a temporary detached worktree and remove that worktree when done. If a temporary worktree is impossible, stop and ask for explicit cleanup/stash approval. - If the last-good version is only a few releases back,
git diff <last-good>..HEAD -- <suspect path>and read the delta first. The regression is usually visible there at a fraction of a bisect's cost; fall through to bisect only when the diff is too large or the culprit is not obvious. - Bisect only with a non-interactive pass/fail command defined up front, and keep the bookkeeping in git (
git bisect good/bad), including when you test a suspect commit directly. When it names the culprit, read only that diff down to the specific line, then rungit bisect resetbefore removing the temporary worktree.
Repeated Regression / Screenshot Reference Mode
Activate when the user says the same issue is still wrong after a fix, provides a "good" screenshot/version/file, or describes a visual result as previously correct.
Treat the reference as evidence, not decoration: list every reported and visible symptom in the user's concrete words; identify the reference oracle (last-good commit, old build, fixture, screenshot, described expected state); define the pass/fail check before editing; then name the exact current-vs-reference delta. Do not generalize a visual defect into "style polish" when the evidence points to a broken render, race, font pipeline, or state path.
If the issue is purely subjective UI taste, route to /ui.
अक्सर पूछे जाने वाले सवाल
क्या यह तुरंत बग ठीक कर देगी?
नहीं, जब तक वह मूल कारण सबूत के साथ साफ़ न बता दे।
क्या यह नई सुविधा के लिए सही स्किल है?
नहीं। यह स्किल समस्याओं की जाँच के लिए है, कोड समीक्षा या नई सुविधाओं के लिए नहीं।
क्या फ़िक्स की मंज़ूरी में कमिट या पब्लिश शामिल है?
नहीं। फ़िक्स की मंज़ूरी में कभी भी कमिट, पुश या प्रकाशन शामिल नहीं होता।
जानकारी
लेखक का मूल विवरण
Finds root cause before any fix. Use when something errors, crashes, regresses, or used to work. Not for code review or new features.
repo: tw93/Waza
लोकप्रियता
- GitHub स्टार
- 7.5k
- रैंकिंग में स्थान
- #13218
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
check
7.5kआपके एजेंट को रिलीज़ से पहले कोड बदलावों की समीक्षा करने में मदद करती है, diff, पुल रिक्वेस्ट और रिलीज़ के चरणों में असली समस्याएँ जाँचती है।
health
7.5kआपके प्रोजेक्ट का AI एजेंट सेटअप और निर्देश फ़ाइलें जाँचती है कि कहीं बिगड़ाव, जोखिम भरे hooks या देखरेख की समस्याएँ तो नहीं, फिर प्राथमिकता सूची देती है।
learn
7.5kआपके एजेंट को किसी अनजान विषय को समझने के लिए एक संरचित शोध प्रक्रिया से गुज़ारती है, स्रोत इकट्ठा करने से लेकर तैयार संदर्भ तक।
read
7.5kआपके एजेंट को वेब पेज या PDF पढ़कर सारांश, साफ़ टेक्स्ट, उद्धरण या सहेजी गई कॉपी देने में मदद करती है, जो आप माँगें वैसा।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।