explain-my-codelisted
Install: claude install-skill chrismccoy/skills
# Explain My Code
Analyze a complete code repository as a senior software architect and produce one self-contained, production-grade Markdown document that lets anyone new to the project fully understand the system with no handover meetings or outside help.
## When to Use
- User asks to document, explain, or map a codebase or repository
- User wants an onboarding document for people new to the project
- User wants a system/architecture overview with Mermaid diagrams
- User points at a repo and asks "what does this do / how does it work" AND wants it captured as a written document, not a one-line reply
Do NOT use for bug-finding code review, refactoring plans, or diagram-only output (see negative boundary in description).
## Co-Load Precedence
When co-loading with codebase-to-mermaid: that skill owns standalone diagram generation; this skill embeds diagrams inside the full document. When co-loading with refactoring-analyst: that skill owns refactor planning; this skill only describes the system (Section 13 suggests improvements at a high level, it does not plan the refactor). When co-loading with a code-review skill (e.g. wordpress-architect-review): review owns defect findings; this skill owns architecture explanation (Section 12 lists observations/risks but does not perform line-level review).
## Workflow
### Phase 1: SCOPE THE TARGET
1. Determine the repository root. Default to the current working directory. If the user named a path, use that.
2. If no code is pres