explain

Solid

Deep explanation of complex code, files, or concepts. Dispatches skill-preloaded agents, uses structural search, generates mermaid diagrams. Triggers on: explain, deep dive, how does X work, architecture, data flow.

AI & Automation 42 stars 7 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
54
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Explain - Deep Code Explanation Get a comprehensive explanation of code, files, directories, or architectural concepts. Automatically dispatches a general-purpose agent preloaded with the most relevant `-ops` skill and uses modern CLI tools for analysis. ## Arguments $ARGUMENTS - `<target>` - File path, function name, class name, directory, or concept - `--depth <shallow|normal|deep|trace>` - Level of detail (default: normal) - `--focus <arch|flow|deps|api|perf>` - Specific focus area ## Architecture ``` /explain <target> [--depth] [--focus] | +-> Step 1: Detect & Classify Target | +- File exists? -> Read it | +- Function/class? -> ast-grep to find definition | +- Directory? -> tokei for overview | +- Concept? -> rg search codebase | +-> Step 2: Gather Context (parallel) | +- structural-search skill -> find usages | +- code-stats skill -> assess scope | +- Find related: tests, types, docs | +- Load: AGENTS.md, CLAUDE.md conventions | +-> Step 3: Route to Explainer (general-purpose + skill preload) | +- .ts/.tsx -> general-purpose, preload typescript-ops or react-ops | +- .py -> general-purpose, preload python-* skill by topic | +- .vue -> general-purpose, preload vue-ops | +- .sql/migrations -> general-purpose, preload postgres-ops | +- agents/skills/commands -> general-purpose, preload claude-code-ops | +- Default -> general-purpose ...

Details

Author
0xDarkMatter
Repository
0xDarkMatter/claude-mods
Created
10 months ago
Last Updated
1 weeks ago
Language
Shell
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category