/han-coding:code-walkthrough [size: small | medium | large | dynamic] [target: a file, directory, symbol, PR reference, or plan — defaults to the current branch's changes]from han-coding
Walks through code changes step by step from the entry point, explaining each chunk in plain language. Defaults to current branch; supports file, directory, symbol, PR, or plan context.
Ships in han-coding. 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.
Read when SKILL.md points to them.
which git 2>/dev/null || echo "not installed"which gh 2>/dev/null || echo "not installed"git branch --show-current 2>/dev/null || echo "no git branch"git symbolic-ref --short refs/remotes/origin/HEAD 2>/dev/null || echo unknowngit rev-parse --show-toplevel 2>/dev/null || pwdfind . -maxdepth 1 -name "CLAUDE.md" -type ffind . -maxdepth 3 -name "project-discovery.md" -type fbash "${CLAUDE_PLUGIN_ROOT}/scripts/han-config-dir.sh" 2>/dev/null || echo "$HOME/.claude"cat .han/config.md 2>/dev/null || echo ""As your first action, use the Read tool on .han/config.md inside the personal config directory path above. A read
that returns no file is no personal configuration: continue silently. When that file or the project .han/config.md
probe supplies content, apply it per config-rule.md, which governs precedence
between the two files, relative-path resolution, and what to do with a file that reads but cannot be used.
Read these before doing anything. They constrain every step below.
code-overview's job, and the understanding this skill exists to build comes from stopping long enough to ask a
question. The single exception is an explicit request for more than one step ("show me the rest", "give me the next
three"), which you honor as asked.han-coding/skills/code-review/SKILL.md), never a bare filename (SKILL.md) and never
a path fragment. BECAUSE a bare filename is unsearchable and ambiguous in any repository with a SKILL.md, an
index.ts, or a README.md in more than one directory, and the learner's next move is reliably to open the file
themselves.han-communication:explanation-guidance (Step 3) and hold it for every turn of the session.code-review's job, and a learner who cannot
yet follow the flow has no basis to evaluate a critique of it. Saying "this is the part people find confusing" as
navigation is fine; saying "this should have been extracted" is not.code-overview's output, and the absence
of one here is what keeps the two skills distinct.Bind $size. If the first positional argument is small, medium, large, or dynamic, bind $size to it.
Anything else is part of the target, not a size; bind $size to the literal none provided.
Note tool availability. Read git installed and gh installed from Project Context. If git installed is empty or
reads not installed, git is unavailable — see the degraded paths below.
Resolve the target by this fixed precedence, so an ambiguous string never silently selects the wrong scope:
#82, https://github.com/owner/repo/pull/82) → that pull request's changes.
Requires gh.Handle the unresolvable and empty cases (state the problem plainly and stop; never guess):
gh unavailable or unreachable → say so and offer a local target instead.Resolve project context. If CLAUDE.md is present, read its ## Project Discovery section for conventions; fall
back to project-discovery.md. These settle language and framework questions so the explorers infer less. If neither
exists, note that surrounding-code inference applies and pass that into the briefs.
Classify the target's size. Default to small, and stay at the smaller band when a signal is borderline.
Apply the size override. If $size is not none provided, use it: a band value is the band and skips the
signal-based classification, while dynamic forces the signal-based classification even when the project config sets a
default band. If $size is none provided and the project config supplies a band via default-swarm-size (per
../../references/config-rule.md), use that band and name the config as the source in
Step 3's announcement. A conversational override ("walk me through it in detail") is equivalent.
Gather the input. For a branch or pull request, capture the change set and its intent:
default branch), falling back to main or
master. Capture git diff {default-branch}...HEAD for committed work, then git diff and git diff --cached for
uncommitted work, each as its own Bash command so a large diff streams incrementally. Capture
git log {default-branch}..HEAD --pretty=format:%B for intent. When gh is available, also run
gh pr view --json title,body to pick up the change's stated purpose; if no pull request exists for the branch, skip
this without failing.gh pr view {ref} --json title,body for intent and gh pr diff {ref} for the change
set.Dispatch han-core:codebase-explorer to trace the flow. Scale the count to the band and launch every agent in a
single message so they run concurrently:
Each brief must contain the resolved target (and, for a change, the changed-file set and the captured intent), the project conventions from Step 1 or a note that surrounding-code inference applies, and the instruction to report where the flow starts and the order it runs in — the entry point a request, command, or event actually arrives at, each subsequent hop, and which changed files sit on that path versus off it — as concrete findings citing repository-root-relative paths. Instruct each explorer to report what it found and not to assess quality, and to say so plainly where the entry point or the why is not recoverable rather than inferring one.
Wait for the whole wave before building the itinerary. Dispatching to trace the flow rather than reading everything inline keeps the main context lean, which matters here BECAUSE this session runs across many turns and a context exhausted at step 2 cannot finish the walk.
Invoke han-communication:explanation-guidance to surface Han's standard for explaining technical work to a reader who
will not implement it. It runs inline and hands control straight back. That standard governs every turn of this session,
BECAUSE every turn goes to a person who is trying to learn the code rather than write it.
Order the itinerary by the flow, starting at the entry point. Read references/walkthrough-step-format.md and apply its ordering rules. Each step is one stop on the execution path, identified by its full repository-root-relative path and the one idea it teaches. Bound the length to the band: roughly three to five steps at small, five to eight at medium, and eight to twelve at large. Where the flow is longer than the band allows, keep the stops where the change's behavior actually turns and fold the pass-through hops into the neighboring step.
Reserve the closing step for everything off the flow — tests, documentation, index entries, configuration, mechanical renames — with one line each on why it changed. Every changed file lands either on the flow or in that closing step; none is dropped.
Announce the walk in one short turn, then present step 1 in that same turn. The announcement states what is being
walked, the size band and why, and the number of steps ahead — for example,
Walking the current branch, size medium: 6 steps following a review request from the slash command through agent dispatch. Name tool degradation in the same line when it applies, and name the config when it supplied the band. Do NOT
stop for approval here: this skill is read-only and re-runnable, so a gate on a reversible operation only trains the
learner to approve without reading. Honor any adjustment they make.
This is the loop the whole skill exists for. Repeat it until the itinerary is done.
next, continue, go on) → present the next step.If a step's file cannot be read or a symbol no longer resolves, say exactly what failed, skip that step, and continue the walk. NEVER abandon the session over one unreadable file, BECAUSE the learner keeps the value of every step already walked and every step still ahead.
After the last flow step, present the closing turn:
code-review to audit the change, code-overview for a written document they can keep or share, investigate
to chase a bug they spotted. Recommend nothing about the code itself.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub amirbiron/han --plugin han-coding11 skills in this plugin
/architectural-analysisPerforms deep architectural analysis of a specified module, directory, or feature area by examining structural coupling, data flow, concurrency patterns, risk, and SOLID alignment. Use when the user wants to assess, evaluate, or review the architecture, design quality, dependency structure, coupling, cohesion, or technical debt of an existing part of the codebase. Not for investigating specific bugs, runtime errors, or failures — use investigate. Not for test planning — use automated-test-planning. Not for file-level code review — use code-review. Not for researching open-ended options, prior art, or how something works — use research. Not for designing a new interface or contract — use design-an-api. Not for writing documentation or architectural decision records./automated-test-planningProduce a standalone test plan by analyzing code for test coverage gaps and edge cases. Use when you need to create, generate, or draft a test plan for a branch, need to analyze test coverage, or need to identify what tests to write for specific files or directories. Does not produce a plain-language plan for a person to run tests by hand — use manual-test-planning for that. Does not write test code — use tdd to implement behavior test-first. Does not refine existing plans — use iterative-plan-review. Does not review code quality, security, or style — use code-review for full code review. Does not evaluate architectural testability or structural coupling — use architectural-analysis for architectural assessment.
2 plugins ship this exact skill · first indexed Aug 21, 2026
Other plugins' skills for the same job