Logo di Root Cause Analysis

Root Cause Analysis

Community
arozumenko
root-cause-analysis

Use when a bug has been reproduced or confirmed and needs its exact cause traced before a fix is proposed, or when the user says 'investigate issue'. Traces a bug to its exact cause in the codebase. Investigation only — reports the cause on the ticket; does not edit code.

Panoramica

Autorearozumenko
Repositorysdlc-skills
Nome della skillroot-cause-analysis
Stelle
26
Fork
10
File inclusi
Solo istruzioni
LicenzaApache-2.0
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 arozumenko su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Root Cause Analysis 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/arozumenko/sdlc-skills/tree/main/bundles/feature-development/skills/root-cause-analysis
  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/arozumenko/sdlc-skills.git /tmp/sdlc-skills
mkdir -p .claude/skills
cp -r /tmp/sdlc-skills/bundles/feature-development/skills/root-cause-analysis .claude/skills/root-cause-analysis
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

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

Root-Cause Analysis (RCA)

Trace a confirmed bug to its exact cause and produce a structured RCA artifact. Investigation only — you do NOT edit code, branch, or fix.

Platform & systems

The RCA report goes on the tracker ticket — the source of truth — using the tracker scout recorded in .agents/profile.md § Project systems. The gh issue … commands below are the GitHub reference; translate per .agents/workflow.md § Git host. With no tracker, report directly to the user.

When to use

Pairs with systematic-debugging — use its rigor (reproduce reliably, condition-based waiting) to trace, then produce the structured report here.

Methodology — 4 phases

1. Ticket acquisition

Read the ticket and all comments (reproduction steps, errors, stack traces, environment, prior notes). Note that RCA has started on the ticket.

2. Codebase investigation — trace, don't guess

  • Locate the entry point: grep the error message / function / route.
  • Trace the call chain: entry (route/handler) → service (logic) → data layer → failure point. Read each file in the chain.
  • Examine the failure point: which assumption is violated? what input triggers it? is the bug here or in a dependency?
  • Search for patterns: how is the function called elsewhere; are there similar patterns that work; git blame and recent git log on the file.

3. Root-cause determination

Classify the cause:

CategoryDescriptionExample
LogicWrong condition, missing branch, off-by-oneif x > 0 should be if x >= 0
DataUnexpected input, null handling, type mismatchMissing null check on optional field
ConcurrencyRace condition, missing lock, async issueTwo requests mutating the same resource
ConfigurationWrong default, missing env varTimeout too low for large payloads
IntegrationAPI contract / dependency version changeThird-party API changed its response shape
ResourceMemory, connection pool, file handlesDB connection pool exhausted

State confidence: Confirmed (you can see the exact bug) / Highly likely / Suspected.

4. Impact analysis & report

  • Usage: what else calls the buggy code; what depends on the module.
  • Regression risk: what could break if fixed; existing test coverage; whether the code is shared across features.
  • Post the RCA report on the ticket: executive summary, classification (category / confidence / severity), root cause (location file:line + function + cause + the offending code), execution path, impact analysis, suggested remediation, and dependencies (what this blocks / relates to).
  • One line to user/PM: root cause + location + confidence.

RCA comment template:

## Root Cause — <ticket-id>

**Summary:** <what & why, one paragraph>
**Classification:** <Logic|Data|Concurrency|Configuration|Integration|Resource> · confidence <Confirmed|Likely|Suspected> · severity <…>
**Root cause:** `path/to/file.ext:line` in `<function>` — <the offending logic>
**Execution path:** <entry → … → failure point>
**Impact:** <callers / regression risk / test coverage>
**Suggested remediation:** <fix direction, not the patch>
**Blocks / relates to:** <links>

You do NOT

Edit source, create PRs/branches, run the app to fix it, make architecture decisions, or close/reassign tickets. Hand the structured RCA to the developer (or bugfix-workflow) for the fix.

Related skills

  • reproducing-issues precedes this — confirm the bug first.
  • systematic-debugging for tracing rigor.
  • bugfix-workflow consumes the RCA to implement and verify the fix.

Domande frequenti

Cosa fa la skill IA Root Cause Analysis?

Use when a bug has been reproduced or confirmed and needs its exact cause traced before a fix is proposed, or when the user says 'investigate issue'. Traces a bug to its exact cause in the codebase. Investigation only — reports the cause on the ticket; does not edit code.

Perché usare Root Cause Analysis su TypingMind?

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

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/arozumenko/sdlc-skills/tree/main/bundles/feature-development/skills/root-cause-analysis. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Root Cause Analysis?

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 Root Cause Analysis?

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

La skill IA Root Cause Analysis è gratuita?

Sì. È pubblicata su GitHub da arozumenko con licenza Apache-2.0. 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 👇