About code-explanation
A skill for explaining code, architecture, and technical concepts at a depth suited to the audience. It uses a structured workflow and examples to support clear knowledge transfer.
Key features
- 01Audience-calibrated explanations
- 02Progressive explanation structure
- 03Examples for clarity
- 04Accuracy and clarity checks
Use cases
- 01Explaining code or system behavior
- 02Teaching technical concepts
- 03Clarifying frameworks or domains
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ nickcrew/ claude-cortex --skill code-explanationAfter installing, type/code-explanationin Claude Code to confirm it loaded.
Bundled filesreferences/explain.mdreferences/pedagogical-methodology.md
Details
From the project READMECode Explanation
Overview
Provide clear explanations of code and concepts with appropriate depth, structure, and examples. Adapt the output to the audience level.
When to Use
- Explaining code, architecture, or system behavior
- Producing educational explanations for knowledge transfer
- Clarifying framework or domain concepts
Avoid when:
- The request is strictly documentation generation (use documentation-production)
Quick Reference
| Task | Load reference |
|---|---|
| Explanation workflow | skills/code-explanation/references/explain.md |
| Pedagogical Methodology | skills/code-explanation/references/pedagogical-methodology.md |
Workflow
- Identify target, audience level, and format.
- Load the explanation reference.
- Analyze the code or concept.
- Structure the explanation with progressive depth.
- Validate accuracy and clarity.
Output
- Structured explanation with examples
- Notes on assumptions and follow-ups
Common Mistakes
- Skipping audience level calibration
- Explaining without verifying source behavior
Comments
Markdown supported