hunt
Qué hace
Esta skill hace que el agente investigue un fallo y demuestre la causa antes de aplicar una corrección. Está pensada para desarrolladores que se enfrentan a errores, caídas o algo que antes funcionaba y ahora no.
Cuándo usarla
- ✓Cuando algo da error, se cae o deja de funcionar después de un cambio.
- ✓Cuando una funcionalidad que antes funcionaba ahora se comporta de forma distinta.
- ✓Cuando quieres confirmar la causa antes de hacer cualquier corrección.
Link de la skill
https://github.com/tw93/Waza/blob/main/plugins/waza/skills/hunt/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“El botón de exportar empezó a fallar después de la actualización de ayer. Averigua por qué antes de cambiar nada.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente rastrea el origen, reproduce el problema y enuncia la causa en una frase respaldada por evidencia. Solo después aplica una corrección y comprueba que funciona.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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.
Preguntas frecuentes
¿Lo arreglará de inmediato?
No, hasta que pueda enunciar claramente la causa raíz con evidencia.
¿Es esta la skill adecuada para una funcionalidad nueva?
No. La skill sirve para diagnosticar problemas, no para revisar código ni crear funcionalidades.
¿Una aprobación de corrección permite confirmar cambios o publicar?
No. Una aprobación de corrección nunca incluye confirmar, subir cambios ni publicar.
Detalles
Descripción original del autor
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
Popularidad
- Estrellas en GitHub
- 7,5 mil
- Posición en el ranking
- #13218
- Licencia
- MIT
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
check
7,5 milAyuda a tu agente a revisar los cambios de código antes de publicar, comprobando el diff, las solicitudes de cambio y los pasos de lanzamiento en busca de problemas reales.
health
7,5 milRevisa la configuración de agentes de IA y los archivos de instrucciones de tu proyecto, y da una lista priorizada de desajustes y riesgos.
learn
7,5 milGuía a tu agente por un proceso de investigación estructurado, desde reunir fuentes hasta una referencia terminada, para aprender un tema que no conoces.
read
7,5 milAyuda a tu agente a leer una página web o un PDF y devolver un resumen, texto limpio, citas o una copia guardada, según lo que pidas.
Skills parecidas
diffs
394 milPermite que tu agente genere un diff real y compartible de los cambios, como enlace de visualización o archivo de imagen, en lugar de un resumen escrito a mano.
coding-agent
394 milAyuda a tu agente a pasar un trabajo de programación grande a Codex, Claude Code u OpenCode como trabajador en segundo plano, y después revisar su progreso.
gh-issues
394 milAyuda a tu agente a encontrar incidencias de GitHub, elegir cuáles trabajar y abrir pull requests con correcciones, incluido el seguimiento de los comentarios de revisión.