architecture-breakdown
Map an unfamiliar codebase or subsystem into modules, boundaries, data flow, entry points, and hot spots, and produce a breakdown…
Produce a written root-cause analysis for an incident, outage, regression, or recurring failure, with a timeline, contributing factors, and prevention actions. Use for post-mortems and "why did this happen" questions.
Claude Code
$ npx -y skills add autohandai/code-cli --skill root-cause-analysis --agent claude-code
Codex
$ npx skills add autohandai/code-cli --skill root-cause-analysis -a codex -y
Cursor
$ npx skills add autohandai/code-cli --skill root-cause-analysis -a cursor -y
Gemini CLI
$ npx skills add autohandai/code-cli --skill root-cause-analysis -a gemini-cli -y
GitHub Copilot
$ npx skills add autohandai/code-cli --skill root-cause-analysis -a github-copilot -y
OpenCode
$ npx skills add autohandai/code-cli --skill root-cause-analysis -a opencode -y
Windsurf
$ npx skills add autohandai/code-cli --skill root-cause-analysis -a windsurf -y
name: root-cause-analysis description: Produce a written root-cause analysis for an incident, outage, regression, or recurring failure, with a timeline, contributing factors, and prevention actions. Use for post-mortems and "why did this happen" questions. allowed-tools: read_file find_grep fff_find list_tree git_diff git_diff_range git_log git_status run_command
The goal is a document another engineer can act on: what happened, why it was possible, and what stops the class of failure, not just this instance.
1. Establish the timeline from artifacts, not memory: commits (`git_log`), deploys, config changes, alerts, logs, test runs. Timestamp everything. 2. Identify the trigger (the change or event) separately from the cause (why the system could not tolerate it) and the contributing factors (what let it reach users). 3. Reproduce or at least confirm the mechanism in code with file paths and line numbers. Quote the exact lines.
Stop at a decision someone can change (a missing check, an assumed invariant, a shared resource, an unbounded wait), not at "human error". People make the same mistakes when the system makes them easy.
Use this shape, kept short:
caught it, and whether it prevents, detects, or mitigates. Prefer changes to the system over reminders to people.
Every claim in the report must trace to evidence you collected. If something is inferred, label it as such. Offer to open the follow-up tasks.
Docs: English | 日本語 | 简体中文 | 繁體中文 | 한국어 | Deutsch | Español | Français | Italiano | Polski | Русский | Português (Brasil) | Türkçe | Čeština | Magyar | हिन्दी | Bahasa Indonesia A fast, self-improving terminal-native AI coding agent for planning, reflecting,
Map an unfamiliar codebase or subsystem into modules, boundaries, data flow, entry points, and hot spots, and produce a breakdown…
Turn a rough software idea into a clear, well-scoped design before any code is written. Use when the user wants to design,…
Staff-engineer-level code review delivering 10 prioritized actionable findings across architecture, security, performance, and…
Operate native desktop applications through Autohand Computer Use. Use when the user asks Autohand to open, drive, click, type,…
Explore, clean, analyze, and model data in the workspace (CSV, JSON, Parquet, SQL, notebooks) with reproducible scripts and…
Conduct iterative, multi-source deep research on a topic and produce a cited project report.
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.