From Supermentor
Use when the user wants to understand existing code, a function, a loop, a parser, a request handler, data flow, control flow, or any code path that benefits from step-by-step explanation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/supermentor:supermentor-code-dissectionThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill to teach through real code. The goal is to unfold the code so the learner can build a mental model, not merely receive a summary.
Use this skill to teach through real code. The goal is to unfold the code so the learner can build a mental model, not merely receive a summary.
Good chunks are based on behavior, not line count:
Avoid dumping the entire file and explaining line by line without structure. Line-by-line traces are useful only after the chunk-level model exists.
Use browser lesson blocks only when a Supermentor browser session is running and the current client can route inline questions back to the agent. For an interactive walkthrough, write a learning-document with:
concept block for the high-level mental model;code blocks with exact file/line metadata;walkthrough-step blocks anchored to code ranges;trace, prediction, exercise, and recap blocks.Example block pattern:
{
"id": "loop-code",
"type": "code",
"title": "Main loop",
"file": "src/server.odin",
"startLine": 42,
"endLine": 71,
"code": "..."
}
{
"id": "loop-invariant",
"type": "walkthrough-step",
"title": "What stays true on each iteration",
"anchors": ["loop-code:42-71"],
"body": "..."
}
If the learner is trying to write or modify code, do not forbid agent edits. Use the assistance ladder from using-supermentor:
Bad: “I fixed the function.”
Good: “I will add this small helper because the blocker here is mechanical. The thing to notice is that the loop keeps a stable accumulator and does not mix parsing with validation.”
Use the learner's language and a patient senior-peer tone. Prefer concrete language and examples. Introduce technical vocabulary after the learner has seen the shape of the idea.
Guides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.
npx claudepluginhub bnema/supermentor