codetesla51/skills/code-explainer
Claude Code and agent skill by codetesla51/skills
- community
Checking that the SKILL.md file is still in the repository.
Explain a code repository: high-level-first, then architecture, then details with why.
Install
npx vskill@latest install codetesla51/skills/code-explainerSKILL.md
Code Explainer
When to Use
Use when asked to explain, walk through, or onboard onto a repo or codebase.
Shares the explainer skill's style rules — minimal text, diagrams over prose for structure/flow, concrete over abstract, no meta-phrasing. This file adds what's specific to explaining a whole repo.
Before writing anything: actually read it
Don't infer architecture from file/folder names alone. Open the entry point (main.go, cmd/), the README if one exists, and skim tests — tests often state intent more plainly than the implementation does. Guessing at structure from names and being wrong wastes more of his time than the extra minute of reading.
Procedure
- Pass 1 — purpose. 1-2 plain sentences on what the repo is and who it's for. No code, no file names, no architecture yet.
- Pass 2 — architecture. Entry point, layout, data flow, key components and how they connect. Draw this — a directory tree for layout, an arrow chain for data flow/request path (
main → router → handler → store), not a paragraph narrating each hop. - Pass 3 — details with why. Non-obvious choices and what breaks if changed. For each key component, also flag: what could go wrong here (the failure modes this code has to guard against — a race, a nil, a partial write, a retry storm) and whether it could be simpler (over-engineered abstraction, unnecessary layer, a stdlib function reinventing itself) — call it out plainly if so, don't just describe the code as-is uncritically. Skip explaining known stdlib/language concepts and known patterns he already uses (see coding-style skill) — go straight to what's actually specific to this repo.
- Close with how to run/verify (build/test/run commands actually found in the repo, not assumed) and where to look next if he wants to go deeper into one part.
Pitfalls
- Starting in file detail before the big picture.
- Dumping every file instead of the ones that matter to the architecture.
- Repeating pass 1 in pass 3.
- Describing structure/flow in prose when a tree or arrow-chain diagram says it in one line.
- Guessing at how something works instead of opening the file and checking.
Verification
- Reader gets purpose, structure, then mechanism-plus-why, in that order.
- Every architectural claim traces back to a file actually opened, not assumed from its name.
- Pass 3 names at least the real failure modes and any obvious over-engineering, not just a neutral walkthrough.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcode-explainer/SKILL.md
Popularity
- Repository stars
- 16
- Repository forks
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/codetesla51/skills/code-explainer)