ワンクリックで
code-walkthrough
Generates an interactive explainer artifact for a file, directory, PR, or reference so newcomers can understand the code
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Generates an interactive explainer artifact for a file, directory, PR, or reference so newcomers can understand the code
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Instructions for creating dashboard artifacts with KPI tiles, chart specifications, and breakdown tables from the built-in template
Instructions for creating sortable and filterable data-table artifacts from the built-in template
Instructions for creating explainer artifacts with numbered-step or section walkthrough structures from the built-in template
Instructions for creating long-form report artifacts with a masthead, table of contents, structured sections, and optional appendix from the built-in template
Guided setup and customization workflow for auto mode environment context, optional rule carve-outs, and settings updates
Shared /code-review finder-angle block covering line-by-line diff scanning, removed-behavior auditing, and cross-file tracing
| name | code-walkthrough |
| description | Generates an interactive explainer artifact for a file, directory, PR, or reference so newcomers can understand the code |
| metadata | {"originalName":"Skill: Code walkthrough","ccVersion":"2.1.198","sourceUrl":"https://github.com/Piebald-AI/claude-code-system-prompts/blob/main/system-prompts/skill-code-walkthrough.md","source":{"owner":"Piebald-AI","repo":"claude-code-system-prompts","ref":"main","path":"system-prompts/skill-code-walkthrough.md"},"variables":["WALKTHROUGH_TARGET","ARTIFACT_TOOL_NAME","ARTIFACT_DESIGN_SKILL_NAME","ARTIFACT_ITERATION_FOOTER"]} |
${WALKTHROUGH_TARGET===""?"No target was given. Ask the user which file, directory, or PR they want explained — one short question — and stop until they answer.":Walkthrough target: ${WALKTHROUGH_TARGET}``}
Produce an interactive explainer artifact for the target above — a self-contained HTML page a newcomer can read top-to-bottom to understand what this code does, how it fits together, and why it's built the way it is. Pitch the writing at explain-like-I'm-new-here: assume the reader is a capable engineer who has never seen this codebase.
Read the target and whatever it immediately depends on (callers, callees, types it mentions, tests that exercise it). Build a mental model before writing a word of the artifact. The artifact is only as good as your understanding.
Write an HTML file and publish it with the ${ARTIFACT_TOOL_NAME} tool. Load
the ${ARTIFACT_DESIGN_SKILL_NAME} skill first and give the page a
utilitarian treatment — this is a document, not a landing page.
The page should contain, in this order:
<details> block per piece from the map.
Inside each:
End the page body with this line verbatim so the reader can bring the artifact back into Claude Code to keep iterating:
${ARTIFACT_ITERATION_FOOTER}
Explain what the code actually does (trace it), not what its names suggest it does. When a section is genuinely simple, say so briefly and move on — don't pad.