Saltar al contenido
Skillpedia
Programación general8,2 mil · #12541

systematic-debugging

Qué hace

Esta habilidad da a tu IA una forma estructurada de localizar errores en lugar de adivinar. Es para desarrolladores que se enfrentan a problemas complejos cuya causa no es obvia.

Cuándo usarla

  • ✓Cuando un error vuelve una y otra vez tras arreglos rápidos que no lo resolvieron.
  • ✓Cuando necesitas entender la causa raíz de un problema antes de cambiar el código.
  • ✓Cuando un fallo aparece solo en algunos entornos y necesitas acotarlo.

Link de la skill

https://github.com/vudovn/ag-kit/blob/main/.agents/skills/systematic-debugging/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/vudovn/ag-kit/blob/main/.agents/skills/systematic-debugging/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

“Este error de inicio de sesión solo ocurre a veces. Depúralo paso a paso y encuentra la causa real antes de cambiar nada.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La habilidad pide a la IA reproducir primero el problema de forma fiable, acotar de dónde viene, rastrear la causa raíz con los cinco porqués y después confirmar que la corrección funciona.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Systematic Debugging

Source: obra/superpowers

Overview

This skill provides a structured approach to debugging that prevents random guessing and ensures problems are properly understood before solving.

4-Phase Debugging Process

Phase 1: Reproduce

Before fixing, reliably reproduce the issue.

## Reproduction Steps
1. [Exact step to reproduce]
2. [Next step]
3. [Expected vs actual result]

## Reproduction Rate
- [ ] Always (100%)
- [ ] Often (50-90%)
- [ ] Sometimes (10-50%)
- [ ] Rare (<10%)

Phase 2: Isolate

Narrow down the source.

## Isolation Questions
- When did this start happening?
- What changed recently?
- Does it happen in all environments?
- Can we reproduce with minimal code?
- What's the smallest change that triggers it?

Phase 3: Understand

Find the root cause, not just symptoms.

## Root Cause Analysis
### The 5 Whys
1. Why: [First observation]
2. Why: [Deeper reason]
3. Why: [Still deeper]
4. Why: [Getting closer]
5. Why: [Root cause]

Phase 4: Fix & Verify

Fix and verify it's truly fixed.

## Fix Verification
- [ ] Bug no longer reproduces
- [ ] Related functionality still works
- [ ] No new issues introduced
- [ ] Test added to prevent regression

Debugging Checklist

## Before Starting
- [ ] Can reproduce consistently
- [ ] Have minimal reproduction case
- [ ] Understand expected behavior

## During Investigation
- [ ] Check recent changes (git log)
- [ ] Check logs for errors
- [ ] Add logging if needed
- [ ] Use debugger/breakpoints

## After Fix
- [ ] Root cause documented
- [ ] Fix verified
- [ ] Regression test added
- [ ] Similar code checked

Common Debugging Commands

# Recent changes
git log --oneline -20
git diff HEAD~5

# Search for pattern
grep -r "errorPattern" --include="*.ts"

# Check logs
pm2 logs app-name --err --lines 100

Anti-Patterns

❌ Random changes - "Maybe if I change this..." ❌ Ignoring evidence - "That can't be the cause" ❌ Assuming - "It must be X" without proof ❌ Not reproducing first - Fixing blindly ❌ Stopping at symptoms - Not finding root cause

Preguntas frecuentes

¿Cuáles son las cuatro fases?

Reproducir, aislar, entender la causa raíz, y arreglar y verificar.

¿Por qué reproducir el error antes de arreglarlo?

La habilidad indica que un problema debe reproducirse de forma fiable primero, para que la IA no adivine las correcciones.

¿Exige una prueba de regresión?

Sí. La lista de verificación de la corrección incluye añadir una prueba que evite que el error vuelva.

Detalles

Descripción original del autor

4-phase systematic debugging methodology with root cause analysis and evidence-based verification. Use when debugging complex issues.

repo: vudovn/ag-kit

Popularidad

Estrellas en GitHub
8,2 mil
Posición en el ranking
#12541
Licencia
MIT
Actualizada
18/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas