diagnostic-reasoning
Qué hace
Esta skill es un método paso a paso para entender un error notificado antes de que alguien intente arreglarlo. Está pensada para personas que quieren correcciones fiables y no suposiciones.
Cuándo usarla
- ✓Cuando alguien informa de un error y nadie puede decir exactamente qué lo activa.
- ✓Cuando un informe de diagnóstico sugiere una causa que quieres comprobar antes de actuar.
- ✓Cuando un error aparece solo a veces y quieres saber por qué.
Link de la skill
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/diagnostic-reasoning/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
“Los usuarios dicen que la página de pago a veces se rompe. Ayúdame a averiguar qué lo activa realmente antes de cambiar nada.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente reproduce primero el problema tal como lo haría un usuario real. Después separa tres cosas: qué inicia el problema, qué lo oculta o lo expone, y qué ve realmente el usuario.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
diagnostic-reasoning
Use this procedure before scoping a reported bug and before acting on a diagnostic report. This skill is the single owner of Firstmate's bug-diagnosis reasoning procedure. Firstmate applies it when briefing delegated investigation and evaluating the resulting evidence, without taking over project-specific investigation itself.
Establish the observed behavior
Start from the end user's experience rather than an internal error string or an implementation hypothesis. Require an end-to-end reproduction aligned with the real user path whenever it is feasible and safe. If a faithful reproduction is not feasible, record the exact limitation and use the closest representative path without presenting it as equivalent evidence. Capture the expected behavior, observed behavior, setup, inputs, and repeatability before assigning a cause.
Separate these three facts explicitly:
- The initiating trigger is the event, input, or transition that starts the faulty behavior.
- The masking condition is the independent state, environment, timing, cache, configuration, or path difference that hides or exposes the fault.
- The visible symptom is what the end user or operator can actually observe.
Do not collapse those facts into one label. A masking condition may explain why a fault appears only sometimes without being the initiating cause, and the visible symptom may be several layers downstream from both.
Test the causal explanation
Inspect the failing path and a proven path where the intended behavior is known to work. Compare their inputs, state transitions, dependencies, timing, and control flow to find the earliest meaningful divergence. Inspect relevant history, including blame, commits, migrations, and prior implementations, when it can explain why the paths diverged or which invariant was intended. Do not treat the most recent nearby change as causal without evidence.
Identify the smallest counterfactual that should change the outcome if the leading explanation is true. Change one condition at a time where practical, and record whether the symptom appears, disappears, or remains unchanged. Seek disconfirming evidence deliberately: name what observation would falsify the leading explanation, run that check when feasible, and retain contradictory results instead of explaining them away. Compare the final explanation against the proven path and show why the proposed causal boundary accounts for both the failure and the success.
Scope and act on the result
A diagnosis brief should ask for the reproduction, trigger/mask/symptom separation, divergent and proven path comparison, relevant history, smallest counterfactual, and disconfirming evidence in the report. A diagnostic report should distinguish observed facts from hypotheses and state any unresolved uncertainty that could change the recommended scope. Before acting on the report, verify that its claimed cause explains the end-user reproduction and the proven path without relying on an untested masking condition. If a load-bearing element is missing, route a focused follow-up investigation instead of treating confidence or implementation detail as proof. A diagnosis or implementation-ready recommendation is evidence, not authorization to change code. Implementation still requires the captain's request or another existing lifecycle authority, and the reproduction should become the regression test when a fix is authorized.
Preguntas frecuentes
¿Por qué no arreglar el primer mensaje de error?
Un mensaje de error puede no ser la causa real, así que la skill parte de lo que experimenta el usuario.
¿Qué pasa si no puedo reproducir el error?
El agente registra el límite y usa la prueba segura más parecida, sin afirmar que es igual que el caso real.
¿Funciona para cualquier tipo de error?
Está escrita como un método general, así que sirve para muchos tipos de problemas notificados.
Detalles
Descripción original del autor
Load before scoping a reported bug and before acting on a diagnostic report.
repo: kunchenguid/firstmate
Popularidad
- Estrellas en GitHub
- 8,5 mil
- Posición en el ranking
- #12433
- Licencia
- MIT
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
afk
8,5 milPermite que tu agente siga trabajando mientras no estás, guardando las decisiones para tu vuelta y enviándote un resumen claro cuando regreses.
ahoy
8,5 milPermite que tu agente te dé un resumen breve de lo que ocurrió en la sesión y te guíe por las decisiones que todavía esperan tu respuesta.
ask-user-authority
8,5 milAyuda a tu agente a decidir por sí mismo las preguntas de revisión cuando encajan claramente con el plan acordado, y preguntarte solo cuando una cuestión sea poco clara o arriesgada.
away-quiet-supervision
8,5 milEstablece reglas de seguridad para supervisar el trabajo en modo ausencia o silencio, para que el agente mantenga los mensajes claros y retenga las decisiones que te corresponden.
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.