Root Cause Analysis logo

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.

Overview

Publisherarozumenko
Repositorysdlc-skills
Skill nameroot-cause-analysis
Stars
26
Forks
10
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by arozumenko on GitHub. Read the source before you install it.

Installation

Install the Root Cause Analysis AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/arozumenko/sdlc-skills/tree/main/bundles/feature-development/skills/root-cause-analysis
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Root Cause Analysis in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Root Cause Analysis on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Root Cause Analysis is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Frequently asked questions

What does the Root Cause Analysis AI skill do?

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.

Why use Root Cause Analysis on TypingMind?

Because you install it once and use it with any model. Root Cause Analysis is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Root Cause Analysis in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/arozumenko/sdlc-skills/tree/main/bundles/feature-development/skills/root-cause-analysis. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Root Cause Analysis?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Root Cause Analysis?

As many as you like. As long as a model supports skills, you can use Root Cause Analysis with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Root Cause Analysis AI skill free?

Yes. It is published on GitHub by arozumenko under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇