Registry / leanmcp

leanmcp/gateway-skills/code-explanation

Generate a complete, beginner-friendly explanation of an entire code repository as a set of markdown files. Maps the repo structure with `treecap` (installing it if missing), studies the actual source, then writes a `CODE_EXPLANATION/` folder containing an `OVERVIEW.md` plus numbered deep-dive files (01_architecture.md, 02_models.md, ...) that explain how the code is built, what it does, and how the pieces fit together — illustrated with real code excerpts. Use this skill whenever the user wants

Agent skill · version 0.0.0-main.1794415239.g7a708ce · from Leanmcp/gateway-skills

Install

npx yarkr-cli add skill:leanmcp/gateway-skills/code-explanation

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:leanmcp/gateway-skills/code-explanation
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:leanmcp/gateway-skills/code-explanation

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:leanmcp/gateway-skills/code-explanation

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.