Show how other parts of the codebase use this code.
Reference related files or modules.
Mention relevant design patterns by name.
Guidelines
Use the code's own variable and function names in the explanation.
If the code is poorly written or confusing, say so constructively with improvement suggestions.
Use analogies for complex concepts when helpful.
For long files, provide a table of contents / map before diving into details.
Include a visual diagram (ASCII or Mermaid) for complex data flows or architectures.
Don't just restate the code in English — explain the why, not just the what.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: maggit-claude-workspace-explain3description: Code Explainer4---56# Code Explainer78Explain code clearly at the right level of detail.910## Workflow11121. **Identify the target:**13 - Specific function, class, file, module, or architectural pattern.14 - If the user points at a file, read it fully before explaining.15162. **Determine the audience level:**17 - If not specified, default to an intermediate developer familiar with the language.18 - Adjust terminology and depth accordingly.19203. **Provide a layered explanation:**2122### Layer 1: One-line summary23What does this code do in plain English?2425### Layer 2: High-level overview26- Purpose and responsibility.27- Where it fits in the larger system (caller/callee relationships).28- Key inputs and outputs.2930### Layer 3: Step-by-step walkthrough31- Walk through the logic sequentially.32- Explain non-obvious decisions and patterns used.33- Note any side effects.3435### Layer 4: Details (on request)36- Edge cases handled.37- Performance characteristics (time/space complexity).38- Potential issues or technical debt.39404. **Add context:**41 - Show how other parts of the codebase use this code.42 - Reference related files or modules.43 - Mention relevant design patterns by name.4445## Guidelines4647- Use the code's own variable and function names in the explanation.48- If the code is poorly written or confusing, say so constructively with improvement suggestions.49- Use analogies for complex concepts when helpful.50- For long files, provide a table of contents / map before diving into details.51- Include a visual diagram (ASCII or Mermaid) for complex data flows or architectures.52- Don't just restate the code in English — explain the *why*, not just the *what*.5354---55> Converted and distributed by [TomeVault](https://tomevault.io/claim/maggit) — claim your Tome and manage your conversions.56<!-- tomevault:4.0:skill_md:2026-04-14 -->
Run npx skillmds@latest add tomevault-io/maggit-claude-workspace-explain in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Code Explainer It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.