Explain My Code — Documentation skill for Claude Code
Generate self-contained onboarding documentation for any codebase.
How to install Explain My Code
Installs to ~/.claude/skills/chrismccoy-forge-explain-my-code/SKILL.md
mkdir -p ~/.claude/skills/chrismccoy-forge-explain-my-code && curl -fsSL https://raw.githubusercontent.com/chrismccoy/forge/HEAD/commands/explain-my-code.md -o ~/.claude/skills/chrismccoy-forge-explain-my-code/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Explain My Code does
description: Generate self-contained onboarding documentation for any codebase argument-hint: [optional absolute path to codebase root] allowed-tools: AskUserQuestion, Glob, Grep, Read, Write, Bash disable-model-invocation: true
**Load first.** Read `${CLAUDE_PLUGIN_ROOT}/lib/explain-my-code/SKILL.md` in full before anything else - intake, tool calls, or output. That file is the authoritative procedure for this command; every mention of "the `explain-my-code` procedure" below re
Alternatives in Documentation
- Doc Co-authoring — Guide users through structured workflow for co-authoring documentation 94.1k ★
- Context7 — claude-plugins-official Up-to-date library documentation lookup 50.1k ★
- Agent Readme — Agent onboarding — what to do with the files in this directory 29.1k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Explain Plan
Convert a plan doc into a self-contained interactive HTML explanation (Mermaid diagrams, blast-radius map, ste
Kb Map
Build the OntoShip KB graph (gitmark map) — collapsible tree + rendered markdown + force/radial link graph as
Venture
Autonomously build a venture/product end-to-end from a charter (a GOAL.md path or an inline brief), managed cl
Cdd Quick Create
Produce a small, self-contained deliverable — a script plus a README, not a full CDD project: /cdd-quick-creat
Business Idea
Write a comprehensive markdown analysis doc for a business idea, product pivot, or new product direction. Outp
Claude Session Publisher
Turn a Claude Code session into a self-contained HTML/text/Markdown/LaTeX/PDF document — with a fidelity repor
Related Agents
Review Test Structure
Reviews test code for isolation, independence, readability, documentation quality, and proper setup/teardown.
Research Question
Investigate ONE focused question (a codebase area, a design option, a "how does X work here") and return a str
Kosmos Architect
Senior architect agent for Kosmos codebase analysis. Generates WARM_START.md documentation for AI programmers.