/polymath-learning:code-walkthroughfrom polymath-learning
Explain a piece of code in execution order — entry point, branches, side effects, the surprising line; cite file:line; not a line-by-line rewrite.
Ships in polymath-learning. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Trace one execution path through real code. Output is a guided narrative the reader can follow with the source open beside them.
Mode: analytical — judgment inside a fixed frame. Keep the output shape; every verdict cites its evidence; unknowns are marked [TBD] or [VERIFY], never filled in.
explain skill).Code walkthrough: <entry point> — audience: <tier>
Step 1: [file.py:42] receives the request
Inputs: …
What it does: …
Step 2: [file.py:78] validates the auth
Why this not in middleware: <reason, often a quirk>
Step 3: [util.py:15] formats the output
Side effect: writes to <cache key>
Surprising line:
[file.py:103] — `if x is None or x == "":` looks redundant; it's there
because legacy callers in pre-1.0 send "" while new callers send None.
Where the bugs tend to live:
- <file:line> — race between cache write and read.
- <file:line> — silent fallthrough when auth missing.
What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/explainExplain a concept at a specified audience tier (ELI5 / curious-undergrad / experienced-peer / domain-expert); pick the analogy and abandon it before it lies./feynman-techniqueVerify your understanding of a concept by attempting an undergrad-level explanation; surface exactly where the explanation cracks and study those.Other plugins' skills for the same job
npx claudepluginhub mohammadbafkar/polymath --plugin polymath-learning