Logo di Find Root Cause

Find Root Cause

Community
Heyvhuang
find-root-cause

Use when something is broken: a bug, a failing test, a build error, "it doesn't work", or a fix that didn't hold. Reproduces the failure, traces it to the line where it starts, proves one cause with one change, fixes every copy, and stops with a report after two failed fixes. Not for checking finished work before saying done (verify-work-done).

Panoramica

Pubblicato daHeyvhuang
Repositorycopybook-skills
Nome della skillfind-root-cause
Stelle
143
Fork
9
File inclusi
2
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.

  • File inclusi: 2

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da Heyvhuang su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Find Root Cause 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/Heyvhuang/copybook-skills/tree/main/plugins/skills/skills/find-root-cause
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi 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 della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Heyvhuang/copybook-skills.git /tmp/copybook-skills
mkdir -p .claude/skills
cp -r /tmp/copybook-skills/plugins/skills/skills/find-root-cause .claude/skills/find-root-cause
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Find Root Cause 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 Find Root Cause 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 Find Root Cause 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à.

Find the cause before you fix

A fix you cannot explain is a guess. Work through these steps in order; skip none because the bug looks simple.

1. Reproduce it

  • Run the user's exact steps, or the failing command, and watch it fail yourself. Save the command.
  • Read the whole error: message, stack trace, file and line, exit code. The answer is often there.
  • Can't reproduce it? Stop and say what you need (input, environment, logs). Don't fix what you haven't seen fail.
  • Fails only sometimes? Run it 10 times and count. Look for timing, order or shared state, not luck.

2. Find where it starts

  • Check what changed: git log --oneline -10, git diff, new dependencies, config, environment. If an older commit worked, git bisect finds the first bad one.
  • Trace backwards from the symptom: which value is wrong here, who passed it, who passed it to them. Keep going until you reach the line that first made it wrong. Fix there, not where it surfaced.
  • Several layers (CI to build script to deploy, API to service to database)? Log what enters and leaves each boundary, run once, and read where the data turns bad before you open any one layer.
  • Find similar code in the same repo that works and list every difference, however small.

3. Prove one cause

  • Write it down: "X causes this because Y."
  • Test it with the smallest change or a log line, one variable at a time.
  • Wrong? Undo that change before you form the next idea. Never stack guesses.
  • Don't know? Say "I don't understand X yet" and gather more evidence. Don't dress a guess as a finding.

4. Fix it once, everywhere

  • First a failing test or a one-off script that shows the bug. Run it and see it fail.
  • Fix the cause in one change. Search the repo for the same pattern and fix every copy now, not one per round.
  • Touch only code tied to this bug. List other problems you saw; don't fix them.
  • Never silence the error (empty catch, skipped test, a looser assertion, a longer timeout) to make it go away.
  • Flaky test that waited a fixed time? Wait for the condition itself (the event, the file, the state), not a longer sleep.
  • Rerun the failing test, the original steps and the nearby tests. Before saying it's fixed, follow the verify-work-done skill.

5. Two failed fixes: stop

If the same bug survives two fixes, stop editing. Undo the failed attempts and report:

  • what you tried and what each attempt changed
  • what still fails, with the output
  • whether the design itself looks wrong (each fix breaks something elsewhere, the fix needs a large rewrite)
  • what the user needs to decide

A second model or a fresh session is a good next step here; a third fix in the same session is not.

When there is no bug in the code

Timeouts from a slow external service, a full disk, a revoked key: say what you checked, handle it in the code (a clear error, a retry with a limit), and log enough to catch it next time.

Report

Three lines: the cause (file and line), what you changed, and the command that now passes with its output.

Based on obra/superpowers (MIT), rewritten by Copybook.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Find Root Cause?

Use when something is broken: a bug, a failing test, a build error, "it doesn't work", or a fix that didn't hold. Reproduces the failure, traces it to the line where it starts, proves one cause with one change, fixes every copy, and stops with a report after two failed fixes. Not for checking finished work before saying done (verify-work-done).

Perché usare Find Root Cause su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Find Root Cause è 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 la skill 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 Find Root Cause in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/Heyvhuang/copybook-skills/tree/main/plugins/skills/skills/find-root-cause. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Find Root Cause?

Qualsiasi modello che colleghi a 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 Find Root Cause?

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

La skill IA Find Root Cause è gratuita?

Sì. È pubblicata su GitHub da Heyvhuang 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, template 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.

Elenco completo

Crea subito il tuo spazio di lavoro AI

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