Logo di Debugging

Debugging

Community
Omar-Obando
debugging

Systematic debugging skill with structured investigation methodology. Use when troubleshooting bugs, investigating failures, or diagnosing unexpected behavior in production or development.

Panoramica

AutoreOmar-Obando
Repositoryqwen-orchestrator
Nome della skilldebugging
Stelle
53
Fork
13
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da Omar-Obando su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Debugging in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/Omar-Obando/qwen-orchestrator/tree/main/skills/debugging
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Omar-Obando/qwen-orchestrator.git /tmp/qwen-orchestrator
mkdir -p .claude/skills
cp -r /tmp/qwen-orchestrator/skills/debugging .claude/skills/debugging
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Debugging in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Debugging non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Debugging non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Debugging Skill — Systematic Investigation

This skill provides a structured approach to debugging that replaces guessing with evidence-based investigation.

Debugging Methodology

OBSERVE → HYPOTHESIZE → TEST → FIX → VERIFY

Phase 1: OBSERVE (Collect Evidence)

  • What is the exact error message?
  • What is the expected behavior?
  • What is the actual behavior?
  • When does it happen? (always, sometimes, specific conditions?)
  • What changed recently? (code, config, dependencies, environment)

Phase 2: HYPOTHESIZE (Form Theories)

  • List at least 3 possible causes
  • Rank by probability (most likely first)
  • For each: what evidence would prove/disprove it?

Phase 3: TEST (Verify Hypothesis)

  • Test ONE hypothesis at a time
  • Change ONLY ONE variable per test
  • Record all observations
  • Stop when you find the root cause

Phase 4: FIX (Apply Fix)

  • Make the MINIMAL change that fixes the issue
  • Do NOT refactor while fixing
  • Write a test that reproduces the bug FIRST
  • Then implement the fix

Phase 5: VERIFY (Confirm Fix)

  • Original test now passes
  • No new failures introduced
  • Edge cases still work
  • Similar code paths checked

Investigation Techniques

Binary Search Debugging

1. Find the midpoint of the execution path
2. Check state at that point
3. If correct: bug is AFTER midpoint
4. If incorrect: bug is BEFORE midpoint
5. Repeat until isolated

Rubber Duck Debugging

1. Explain the code line by line
2. Explain what each variable should be
3. Explain what the output should be
4. The act of explaining often reveals the bug

Log-Based Debugging

typescript
// Strategic logging for debugging
console.log('[DEBUG] Input:', { userId, filters, pagination });
console.log('[DEBUG] Query result:', { count, firstItem, lastItem });
console.log('[DEBUG] Transform:', { input, output, duration });

Common Bug Categories

CategorySymptomsInvestigation
Off-by-oneWrong count, missing last itemCheck boundary conditions
Race conditionIntermittent, timing-dependentAdd logging, check async flow
Null referenceTypeError: Cannot read propertyCheck all property access
Type coercionUnexpected comparison resultsUse strict equality (===)
Stale stateUI doesn't reflect changesCheck state update mechanism
Memory leakIncreasing memory over timeProfile heap, check cleanup
Circular referenceStack overflow, infinite loopTrace the reference chain

Bug Report Template

markdown
## Bug Report

### Environment

- OS: [operating system]
- Runtime: [Node.js version, browser]
- Package version: [version]

### Reproduction Steps

1. [exact step 1]
2. [exact step 2]
3. [exact step 3]

### Expected Behavior

[What should happen]

### Actual Behavior

[What actually happens]

### Evidence

- Error message: [exact error]
- Stack trace: [relevant portion]
- Logs: [relevant log entries]
- Screenshot: [if applicable]

### Root Cause (after investigation)

[Detailed explanation of why this happens]

### Fix

[What was changed and why]

Debugging Rules

  1. NEVER guess — always form a hypothesis first
  2. NEVER change multiple things — one variable at a time
  3. NEVER skip the test — write a failing test that reproduces the bug
  4. NEVER fix symptoms — find the root cause
  5. NEVER assume — verify every assumption with evidence

When NOT to Use

Do NOT use this skill when:

  • Designing new features from scratch (use domain-driven skill)
  • Designing database schemas (use database-design skill)
  • Writing API endpoint implementations (use api-design skill)
  • Writing SQL queries (use sql-best-practices skill)
  • Designing multi-page website layouts (use design-system skill)
  • Reviewing git workflows (use git-workflow skill)
  • Writing deployment configurations (use deployment skill)

Domande frequenti

Cosa fa la skill IA Debugging?

Systematic debugging skill with structured investigation methodology. Use when troubleshooting bugs, investigating failures, or diagnosing unexpected behavior in production or development.

Perché usare Debugging su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Debugging è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Debugging in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/Omar-Obando/qwen-orchestrator/tree/main/skills/debugging. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Debugging?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Debugging?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Debugging: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Debugging è gratuita?

Sì. È pubblicata su GitHub da Omar-Obando con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇