3D Exploded Breakdown (breakdown)
┌──────────────────────┐
│ PHONE / EXPLODED VIEW│ mono header
│ ▱▱▱▱▱▱ ──── 01 Glass
│ ▱ 9:41 ▱ ── 02 Screen
│ ▱▱▱▱▱▱ ──── 03 Frame │ layers lift apart, the phone turns slowly
│ ▱▱▱▱▱▱ ──── 04 Board │ leader lines draw out to the labels
│ ▱▱▱▱▱▱ ──── 05 Battery
│ ▱▱▱▱▱▱ ──── 06 Back │
└──────────────────────┘
Setup Check
SKILL_DIR is the directory containing this SKILL.md file (check the path in <skills>).
SKILL_DIR="$(python3 -c 'import os,sys; print(os.path.realpath(sys.argv[1]))' "<directory containing this SKILL.md>")"
KIT="$(python3 -c 'import os,sys; print(os.path.realpath(os.path.join(sys.argv[1], "..", "..", "kit")))' "$SKILL_DIR")"
[ -s "$KIT/node_modules/three/build/three.module.js" ] || bash "$KIT/setup.sh"
Requires ffmpeg, node (18+), python3 (3.9+), and WebGL via headless Chrome.
Steps
- Define the 6 layers. The default 3D model is a smartphone with 6 layers (top to bottom): cover glass, display, frame, logic board, battery, back glass. Craft literal specs (e.g.
["Battery", "3,582 mAh"]) or dry humor (e.g.["Battery", "never enough"]). - Write the spec. Create
<name>.breakdown.jsonusing the schema below. - Validate & quick snapshot.
Inspect the snapshot PNG withpython3 "$SKILL_DIR/build.py" <name>.breakdown.json --check python3 "$SKILL_DIR/build.py" <name>.breakdown.json --snap 3.8read_fileto verify label alignment before the full render. - Render. Run:
Takes ~1.5 minutes (apython3 "$SKILL_DIR/build.py" <name>.breakdown.jsonsub_timeline_readiness_timeoutwarning is normal). - Visual QA (Required). Inspect
<name>.breakdown.sheet.jpgwithread_file:- All 6 labels sit cleanly to the right of the phone and inside the red safe-area box.
- Numbers run
01to06from top to bottom without overlap or truncation.
- Hand over. Return clickable links to the
.mp4and.sheet.jpg.
Spec Schema
{
"title": "Phone",
"subtitle": "Exploded view",
"labels": [
["Cover glass", "toughened · 0.6 mm"],
["OLED display", "6.3 in · 120 Hz"],
["Titanium frame", "grade 5 · 7.8 mm"],
["Logic board", "3 nm chip · 8 GB"],
["Battery", "3,582 mAh"],
["Back glass", "matte · magnet ring"]
],
"time": "9:41",
"date": "Saturday 1 November",
"accent": "#F08A5D"
}
labels(required): Exactly 6 entries, top layer first, each["Name", "short note"]. Keep names <= ~16 chars and notes <= ~22 chars. Use["", ""]to hide a layer's label.title/subtitle: Uppercase monospace header.time/date: Shown on the lock screen layer.accent: 6-digit hex color for label numbers, leader dots, and battery stripe.hold(optional): Extra seconds at the end.out(optional): Custom output.mp4path.
Custom Layered Device (Advanced)
For another flat layered object (tablet, smartwatch, card wallet, laptop lid), copy "$SKILL_DIR/template.html" next to the spec and add "template": "template.html" to the spec:
- Adjust
PW,PL,PR(width, length, corner radius) and build layers withslab(w, l, r, thickness, material)+tex(w, h, draw). - Update
part(y),Y0(assembled heights),ORDER, andANCHORS([partIndex, [x, y, z]]). - Check with
--snap 1.0,3.8(assembled at1.0, exploded + labelled at3.8).
Taste Rules
- Six labels max, crisp and plain. Facts or dry wit — never marketing slogans.
- Preserve the dark studio backdrop and clean right-hand label column.