Code Diff Walkthrough
- Lab Skill
- v1.0.0
- Product marketing
A silent code-change explainer: a diff walked beat-by-beat on an editorial page — hunks light red-removal/green-addition, tokens morph between code states, the file tree lights, a cream diagram traces the runtime, and a stat lands.
範例 · 2
線上執行
在 SandBase sandbox 中執行 Code Diff Walkthrough 的範例,並在此立即查看結果。
運作方式
- 01
Author the beats
Code Diff Walkthrough reads a JSON sheet of up to 24 beats, each with a kind, duration and payload: a hook stating the change, a change card, a file tree, diff hunks with added and removed lines, a before and after morph, a highlighted line, a mechanism diagram, an impact stat and an end card. You write the diff lines and copy for each brief.
- 02
Build the editorial page
An editorial cream page holds a navy code surface with the repository and branch in the top corners. Hunks light red for removals and green for additions, tokens morph between code states, file tree rows light as visited, and a cream node diagram traces the runtime path of the change.
- 03
Render
The silent film renders at 1920 by 1080 and 30 fps through HyperFrames on a paused timeline, so any frame can be seeked. Both samples, a retry-with-backoff fix in English and a cache layer in Chinese, were rendered from a fresh extraction with deterministic seeking verified.
常見問題
What does Code Diff Walkthrough explain?
Code Diff Walkthrough explains a code change as a sequence of guided beats: what changed, which files, the diff itself, how the code morphs, the runtime mechanism and the impact. It suits release-note and changelog films, pull request and refactor explainers, and engineer-facing B-roll.
Does Code Diff Walkthrough read my repository?
No. Code Diff Walkthrough draws only the diff lines, file list and node graph you write into the sheet. It does not connect to Git or read files, so paste only code you are allowed to show publicly and keep secrets out of the lines.
Does Code Diff Walkthrough need a key?
No. Code Diff Walkthrough renders locally with Chrome, FFmpeg and HyperFrames and uses no keys, model calls or paid services. A film costs only render time, and the same sheet always gives the same frames. Nothing it draws is fetched from the network, and the palette in the sheet keeps the look consistent across films.
How many beats can Code Diff Walkthrough use?
Code Diff Walkthrough accepts 1 to 24 beats, each with its own duration. A typical film runs a hook, the change, the file tree, one or two diffs, a morph, the mechanism, the impact and an end card. Keep each hunk short enough to read in its beat.
Can Code Diff Walkthrough show a refactor with no behaviour change?
Yes. The Chinese sample adds a cache layer with the same behaviour, using the morph and mechanism beats to show the structure change and an impact beat for the result. Label any performance number with where it came from. The file tree shows which files moved.
更多 Skills
所有 Product marketing Skills →Pixel Story
Turn a product brief into a pixel film with clear actions, scene traversal and a memorable payoff.

Device fan
Turn a brand, one headline and context into a calm device-showcase card.

Floating phones
Turn a brand, one headline and context into a warm-ivory card with floating phone screens and playful, friendly doodles.

Floating analytics dashboard
Turn a brand, one headline and context into a split-column card: a narrow charcoal brand column anchoring a large white analytics dashboard that floats across a vivid violet gradient field.

Minimal handheld product
Turn a brand, one headline and context into a high-key studio card: a softly lit hand holding an original compact pale device against a seamless gray background, with broad empty space and a tiny red light as the only accent.

Appliance exploded poster
Turn a household appliance into a polished 16:9 exploded-view poster: part groups separated along one axis, with a title and three to five exact labels.

