Saltar al contenido
Skillpedia
Programación general8,5 mil · #12433

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.md

Có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

Usa esta skill para ayudarme: https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/diagnostic-reasoning/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

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

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas