@anvpx/motion 0.1.56 → 0.1.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CATALOG.md +23 -7
- package/README.md +7 -7
- package/mcpb/{motion-kit-0.1.56.mcpb → motion-kit-0.1.94.mcpb} +0 -0
- package/package.json +9 -9
- package/plugins/motion-kit/.claude-plugin/plugin.json +1 -1
- package/plugins/motion-kit/README.md +3 -3
- package/plugins/motion-kit/commands/mk-draft.md +2 -2
- package/plugins/motion-kit/commands/mk-new.md +4 -4
- package/plugins/motion-kit/commands/mk-render.md +2 -2
- package/plugins/motion-kit/skills/motion-kit/SKILL.md +57 -50
- package/plugins/motion-kit/skills/motion-kit/references/amplify.md +258 -258
- package/plugins/motion-kit/skills/motion-kit/references/common-mistakes.md +67 -67
- package/plugins/motion-kit/skills/motion-kit/references/design-taste.md +114 -0
- package/plugins/motion-kit/skills/motion-kit/references/direction.md +28 -21
- package/plugins/motion-kit/skills/motion-kit/references/free-storyboard.md +2 -2
- package/plugins/motion-kit/skills/motion-kit/references/index.md +17 -4
- package/plugins/motion-kit/skills/motion-kit/references/intake.md +5 -7
- package/plugins/motion-kit/skills/motion-kit/references/patching.md +1 -0
- package/plugins/motion-kit/skills/motion-kit/references/patterns.md +1 -1
- package/plugins/motion-kit/skills/motion-kit/references/quality-bar.md +37 -4
- package/plugins/motion-kit/skills/motion-kit/references/review.md +17 -17
- package/plugins/motion-kit/skills/motion-kit/references/scene-recipes.md +114 -111
- package/plugins/motion-kit/skills/motion-kit/references/slop.md +46 -46
- package/plugins/motion-kit/skills/motion-kit/references/storyboard-json.md +25 -25
- package/plugins/motion-kit/skills/motion-kit/references/themes.md +1 -1
- package/plugins/motion-kit/skills/motion-kit/references/troubleshooting.md +81 -81
- package/plugins/motion-kit/skills/motion-kit/references/visual-forms.md +54 -0
- package/plugins/motion-kit/skills/motion-kit/references/voice.md +15 -13
- package/plugins/motion-kit/skills/motion-kit/references/world-design.md +112 -0
- package/shared/themes/bold-dark.json +18 -1
- package/shared/themes/bold-light.json +18 -1
- package/shared/themes/calm-dark.json +19 -2
- package/shared/themes/calm-light.json +19 -2
- package/shared/themes/tech-dark.json +19 -9
- package/shared/themes/tech-light.json +19 -9
- package/skills/motion-kit/SKILL.md +57 -50
- package/skills/motion-kit/references/amplify.md +258 -258
- package/skills/motion-kit/references/common-mistakes.md +67 -67
- package/skills/motion-kit/references/design-taste.md +114 -0
- package/skills/motion-kit/references/direction.md +28 -21
- package/skills/motion-kit/references/free-storyboard.md +2 -2
- package/skills/motion-kit/references/index.md +17 -4
- package/skills/motion-kit/references/intake.md +5 -7
- package/skills/motion-kit/references/patching.md +1 -0
- package/skills/motion-kit/references/patterns.md +1 -1
- package/skills/motion-kit/references/quality-bar.md +37 -4
- package/skills/motion-kit/references/review.md +17 -17
- package/skills/motion-kit/references/scene-recipes.md +114 -111
- package/skills/motion-kit/references/slop.md +46 -46
- package/skills/motion-kit/references/storyboard-json.md +25 -25
- package/skills/motion-kit/references/themes.md +1 -1
- package/skills/motion-kit/references/troubleshooting.md +81 -81
- package/skills/motion-kit/references/visual-forms.md +54 -0
- package/skills/motion-kit/references/voice.md +15 -13
- package/skills/motion-kit/references/world-design.md +112 -0
package/CATALOG.md
CHANGED
|
@@ -11,8 +11,8 @@ hero | base | Landing-page hero: kicker, big headline with [x] accents, subline
|
|
|
11
11
|
poster | base | Type-led statement: 1-3 oversized lines with [x] accents, optional kicker and foot; outline draws the last line as outline type and accent words keep their gradient fill. | lines
|
|
12
12
|
bullets | base | Short list of 1-6 points with an optional heading. | items
|
|
13
13
|
stat | base | One hero number with label, unit, delta and context; counts up. | value,label
|
|
14
|
-
flow | base | Node-and-arrow diagram (2-8 nodes) laid out left-right or top-bottom. | nodes,edges
|
|
15
|
-
outro | base | Closing
|
|
14
|
+
flow | base | Node-and-arrow diagram (2-8 nodes) laid out left-right or top-bottom, with an optional statement title above the chain: the point the diagram proves, not a label. | nodes,edges
|
|
15
|
+
outro | base | Closing beat on a horizon ground (its own deep sky and ground plane, whatever the theme): title, up to 3 lines and up to 4 credits. No decorative arcs. | title
|
|
16
16
|
lower-third | overlay | Name plate with optional title at the lower edge. | name
|
|
17
17
|
bug | overlay | Corner word mark or ledger image; give exactly one of text or image. | -
|
|
18
18
|
progress | overlay | Thin progress bar over the scene or the whole timeline. | -
|
|
@@ -32,9 +32,10 @@ kpi-grid | base | 2-6 headline numbers side by side, each with label, unit, chan
|
|
|
32
32
|
chart | base | Animated bar, line or donut chart for ranking, trend or share, with values shown and an optional highlight. | kind
|
|
33
33
|
stair | base | Two series over time: compound growth as annual steps and the same deposit earning simple interest as a straight line, with the year the gap reaches one deposit marked. | title
|
|
34
34
|
table | base | Small data table or ranked list (2-5 columns, 2-8 rows) with row-by-row reveal and one optional highlighted row. | columns,rows
|
|
35
|
-
scene3d | base | WebGL stage (vendored three.js) with a depth rig: stage diorama|plinth|grid|floor (each owns its own furniture), compare off|behind|front (a second object for scale/occlusion), contact rest|sink (a body the ground takes), annotate off|span (type that measures the picture), composition overlay|column|inset|bare (where the copy lives), camera orbit|dolly|crane|push|macro|high|low|static, depth single|layer|tunnel, material clay|gloss|metal|emissive|glass|wire, volumetric off|soft|dense, reflector off|gloss|mirror, layout card|film (film = full-bleed with a scrim), plus post/light/hdri and model knot|gem|cut|sphere|torus. The flat 2D canvas fallback paints the same stage, camera path and depth bands without WebGL. 3D output is machine+GPU stable, not portable. | -
|
|
35
|
+
scene3d | base | WebGL stage (vendored three.js) with a depth rig: stage diorama|plinth|grid|floor (each owns its own furniture), compare off|behind|front|apart (a second object for scale/occlusion), contact rest|sink (a body the ground takes), annotate off|span (type that measures the picture), composition overlay|column|inset|full|plate|bare (where the copy lives), camera orbit|dolly|crane|push|macro|tele|high|low|pan|tilt|static, bokeh off|subtle|strong (WebGL only), depth single|layer|tunnel, material clay|gloss|metal|emissive|glass|wire, volumetric off|soft|dense, reflector off|gloss|mirror, layout card|film (film = full-bleed with a scrim), plus post/light/hdri and model knot|gem|cut|sphere|torus. The flat 2D canvas fallback paints the same stage, camera path and depth bands without WebGL. 3D output is machine+GPU stable, not portable. | -
|
|
36
36
|
sticker | base | Pop-comic sticker slam: 1-5 short phrases slam in with outline type, tilt and a starburst; for hooks, myth-vs-fact and punchy shorts. | words
|
|
37
37
|
waveform | base | Audio waveform from precomputed peaks: bars rise as the playhead sweeps; for voice agents, podcasts and narrated reports. Peaks are storyboard data, never decoded audio. | peaks
|
|
38
|
+
world | base | Designed environment with integrated type: pick terrain coast|desert|forest|city|interior|space and time dawn|day|dusk|night|storm; deterministic sky, horizon, ground, weather and parallax, no stock asset and no named subject. Give `stops` (2-4 labels) to draw a mechanism as a lit path of labelled posts across the ground, or `balance` (two 1-3 item lists plus an optional verdict) to stand a ledger of what arrives against what leaves in the same place. Use it for an opening, a mechanism, a comparison, a turn or a closing beat. | title
|
|
38
39
|
Detail: `mk catalog <type>`. Props are strict; unlisted keys are rejected.
|
|
39
40
|
```
|
|
40
41
|
|
|
@@ -87,7 +88,8 @@ props: {"value":42,"label":"Users"}
|
|
|
87
88
|
```
|
|
88
89
|
|
|
89
90
|
```
|
|
90
|
-
flow (base): Node-and-arrow diagram (2-8 nodes) laid out left-right or top-bottom.
|
|
91
|
+
flow (base): Node-and-arrow diagram (2-8 nodes) laid out left-right or top-bottom, with an optional statement title above the chain: the point the diagram proves, not a label.
|
|
92
|
+
title text<=64
|
|
91
93
|
nodes * {id,label}[2..8]
|
|
92
94
|
edges * {from,to,label}[]
|
|
93
95
|
direction lr|tb = "lr"
|
|
@@ -95,7 +97,7 @@ props: {"nodes":[{"id":"a","label":"A"},{"id":"b","label":"B"}],"edges":[{"from"
|
|
|
95
97
|
```
|
|
96
98
|
|
|
97
99
|
```
|
|
98
|
-
outro (base): Closing
|
|
100
|
+
outro (base): Closing beat on a horizon ground (its own deep sky and ground plane, whatever the theme): title, up to 3 lines and up to 4 credits. No decorative arcs.
|
|
99
101
|
title * text
|
|
100
102
|
lines text[..3]
|
|
101
103
|
credits text[..4]
|
|
@@ -289,7 +291,7 @@ props: {"title":"Top regions","columns":["Region","Revenue"],"rows":[["North","$
|
|
|
289
291
|
```
|
|
290
292
|
|
|
291
293
|
```
|
|
292
|
-
scene3d (base): WebGL stage (vendored three.js) with a depth rig: stage diorama|plinth|grid|floor (each owns its own furniture), compare off|behind|front (a second object for scale/occlusion), contact rest|sink (a body the ground takes), annotate off|span (type that measures the picture), composition overlay|column|inset|bare (where the copy lives), camera orbit|dolly|crane|push|macro|high|low|static, depth single|layer|tunnel, material clay|gloss|metal|emissive|glass|wire, volumetric off|soft|dense, reflector off|gloss|mirror, layout card|film (film = full-bleed with a scrim), plus post/light/hdri and model knot|gem|cut|sphere|torus. The flat 2D canvas fallback paints the same stage, camera path and depth bands without WebGL. 3D output is machine+GPU stable, not portable.
|
|
294
|
+
scene3d (base): WebGL stage (vendored three.js) with a depth rig: stage diorama|plinth|grid|floor (each owns its own furniture), compare off|behind|front|apart (a second object for scale/occlusion), contact rest|sink (a body the ground takes), annotate off|span (type that measures the picture), composition overlay|column|inset|full|plate|bare (where the copy lives), camera orbit|dolly|crane|push|macro|tele|high|low|pan|tilt|static, bokeh off|subtle|strong (WebGL only), depth single|layer|tunnel, material clay|gloss|metal|emissive|glass|wire, volumetric off|soft|dense, reflector off|gloss|mirror, layout card|film (film = full-bleed with a scrim), plus post/light/hdri and model knot|gem|cut|sphere|torus. The flat 2D canvas fallback paints the same stage, camera path and depth bands without WebGL. 3D output is machine+GPU stable, not portable.
|
|
293
295
|
title text<=60
|
|
294
296
|
caption text<=140
|
|
295
297
|
model text
|
|
@@ -297,7 +299,8 @@ scene3d (base): WebGL stage (vendored three.js) with a depth rig: stage diorama|
|
|
|
297
299
|
light studio|sunset|night|soft|sweep = "studio"
|
|
298
300
|
material clay|gloss|metal|emissive|glass|wire = "clay"
|
|
299
301
|
hdri neutral|studio|sunset|night = "neutral"
|
|
300
|
-
camera orbit|dolly|crane|push|macro|tele|high|low|static = "orbit"
|
|
302
|
+
camera orbit|dolly|crane|push|macro|tele|high|low|pan|tilt|static = "orbit"
|
|
303
|
+
bokeh off|subtle|strong = "off"
|
|
301
304
|
depth single|layer|tunnel = "single"
|
|
302
305
|
volumetric off|soft|dense = "off"
|
|
303
306
|
reflector off|gloss|mirror = "off"
|
|
@@ -326,3 +329,16 @@ waveform (base): Audio waveform from precomputed peaks: bars rise as the playhea
|
|
|
326
329
|
label text<=40
|
|
327
330
|
props: {"peaks":[0.2,0.4,0.6,0.8,0.6,0.4,0.3,0.5,0.7,0.9,0.7,0.5,0.4,0.3,0.2,0.1],"label":"Intro"}
|
|
328
331
|
```
|
|
332
|
+
|
|
333
|
+
```
|
|
334
|
+
world (base): Designed environment with integrated type: pick terrain coast|desert|forest|city|interior|space and time dawn|day|dusk|night|storm; deterministic sky, horizon, ground, weather and parallax, no stock asset and no named subject. Give `stops` (2-4 labels) to draw a mechanism as a lit path of labelled posts across the ground, or `balance` (two 1-3 item lists plus an optional verdict) to stand a ledger of what arrives against what leaves in the same place. Use it for an opening, a mechanism, a comparison, a turn or a closing beat.
|
|
335
|
+
title * text<=64
|
|
336
|
+
kicker text<=28
|
|
337
|
+
subtitle text<=120
|
|
338
|
+
terrain coast|desert|forest|city|interior|ocean|space = "coast"
|
|
339
|
+
time dawn|day|dusk|night|storm = "dusk"
|
|
340
|
+
layout overlay|lower|center = "overlay"
|
|
341
|
+
stops text<=40[2..4]
|
|
342
|
+
balance {left,right,verdict}
|
|
343
|
+
props: {"title":"The light does not wait","terrain":"coast","time":"dusk","layout":"overlay"}
|
|
344
|
+
```
|
package/README.md
CHANGED
|
@@ -91,13 +91,13 @@ Inside a session the same thing is two lines: `/plugin marketplace add <path>` t
|
|
|
91
91
|
|
|
92
92
|
## Updates
|
|
93
93
|
|
|
94
|
-
| surface | follows new releases
|
|
95
|
-
| ------------------------------ |
|
|
96
|
-
| CLI (`npx -y ...@latest`) | yes
|
|
97
|
-
| Desktop bundle | engine yes, bundle no | every tool runs `@latest`; Desktop has no extension auto-update, so open a newer `.mcpb` only when the tool list changes
|
|
98
|
-
| Claude Code plugin, local path | yes
|
|
99
|
-
| Claude Code plugin, git source | when you update
|
|
100
|
-
| `--plugin-dir` folder, skills | no
|
|
94
|
+
| surface | follows new releases | how |
|
|
95
|
+
| ------------------------------ | --------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
|
|
96
|
+
| CLI (`npx -y ...@latest`) | yes | the dist-tag is resolved on every run |
|
|
97
|
+
| Desktop bundle | engine yes, bundle no | every tool runs `@latest`; Desktop has no extension auto-update, so open a newer `.mcpb` only when the tool list changes |
|
|
98
|
+
| Claude Code plugin, local path | yes | the marketplace reads the folder in place; edits apply at the next session start or `/reload-plugins` |
|
|
99
|
+
| Claude Code plugin, git source | when you update | third-party marketplaces default to no auto-update: turn it on under `/plugin` → Marketplaces, or run `claude plugin update` |
|
|
100
|
+
| `--plugin-dir` folder, skills | no | they pin `@<x.y.z>` on purpose; re-run `mk plugin install` after a release |
|
|
101
101
|
|
|
102
102
|
## The approval gate
|
|
103
103
|
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anvpx/motion",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.94",
|
|
4
4
|
"description": "Storyboard JSON to animated video, rendered locally with HyperFrames: the mk CLI plus the full pipeline.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "anvpx",
|
|
@@ -57,14 +57,14 @@
|
|
|
57
57
|
"@fontsource/jetbrains-mono": "5.3.0",
|
|
58
58
|
"@fontsource/source-serif-4": "5.3.1",
|
|
59
59
|
"@fontsource/space-grotesk": "5.3.0",
|
|
60
|
-
"@anvpx/motion-assets": "0.1.
|
|
61
|
-
"@anvpx/motion-audio": "0.1.
|
|
62
|
-
"@anvpx/motion-build": "0.1.
|
|
63
|
-
"@anvpx/motion-cli": "0.1.
|
|
64
|
-
"@anvpx/motion-scenes": "0.1.
|
|
65
|
-
"@anvpx/motion-schema": "0.1.
|
|
66
|
-
"@anvpx/motion-templates": "0.1.
|
|
67
|
-
"@anvpx/motion-themes": "0.1.
|
|
60
|
+
"@anvpx/motion-assets": "0.1.94",
|
|
61
|
+
"@anvpx/motion-audio": "0.1.94",
|
|
62
|
+
"@anvpx/motion-build": "0.1.94",
|
|
63
|
+
"@anvpx/motion-cli": "0.1.94",
|
|
64
|
+
"@anvpx/motion-scenes": "0.1.94",
|
|
65
|
+
"@anvpx/motion-schema": "0.1.94",
|
|
66
|
+
"@anvpx/motion-templates": "0.1.94",
|
|
67
|
+
"@anvpx/motion-themes": "0.1.94",
|
|
68
68
|
"hyperframes": "0.8.212",
|
|
69
69
|
"postprocessing": "6.39.5",
|
|
70
70
|
"three": "0.186.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# motion-kit Claude Code plugin
|
|
2
2
|
|
|
3
|
-
Plugin root: `plugins/motion-kit/`. `npx -y @anvpx/motion@0.1.
|
|
3
|
+
Plugin root: `plugins/motion-kit/`. `npx -y @anvpx/motion@0.1.94 plugin install` copies
|
|
4
4
|
this exact folder; a Claude Code user installs it from a marketplace instead.
|
|
5
5
|
|
|
6
6
|
## Install
|
|
@@ -22,7 +22,7 @@ Inside a session the same thing is two commands:
|
|
|
22
22
|
Without a marketplace, for one session:
|
|
23
23
|
|
|
24
24
|
```bash
|
|
25
|
-
npx -y @anvpx/motion@0.1.
|
|
25
|
+
npx -y @anvpx/motion@0.1.94 plugin install --out ./motion-kit-plugin
|
|
26
26
|
claude --plugin-dir ./motion-kit-plugin
|
|
27
27
|
```
|
|
28
28
|
|
|
@@ -32,7 +32,7 @@ claude --plugin-dir ./motion-kit-plugin
|
|
|
32
32
|
|
|
33
33
|
- `.claude-plugin/plugin.json` — manifest; version tracks `@anvpx/motion`.
|
|
34
34
|
- `commands/mk-new.md`, `mk-draft.md`, `mk-render.md` — thin wrappers. Every step
|
|
35
|
-
calls `npx -y @anvpx/motion@0.1.
|
|
35
|
+
calls `npx -y @anvpx/motion@0.1.94` (pinned; never unpinned `npx`).
|
|
36
36
|
Surface as `/motion-kit:mk-new`, `/motion-kit:mk-draft`, `/motion-kit:mk-render`.
|
|
37
37
|
- `skills/motion-kit/SKILL.md` — generated from the canonical skill by the
|
|
38
38
|
scaffold; do not edit it here.
|
|
@@ -5,8 +5,8 @@ description: Preview a motion-kit storyboard (stills, contact sheet, draft clip)
|
|
|
5
5
|
Run the pinned CLI for every step; never use an unpinned invocation.
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npx -y @anvpx/motion@0.1.
|
|
9
|
-
npx -y @anvpx/motion@0.1.
|
|
8
|
+
npx -y @anvpx/motion@0.1.94 preview storyboard.json
|
|
9
|
+
npx -y @anvpx/motion@0.1.94 approve storyboard.json --note "<user words>"
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
Follow `skills/motion-kit/SKILL.md` stages 7-8 (preview, show + approve).
|
|
@@ -5,10 +5,10 @@ description: Start a motion-kit video (intake, brief, template pick, storyboard)
|
|
|
5
5
|
Run the pinned CLI for every step; never use an unpinned invocation.
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npx -y @anvpx/motion@0.1.
|
|
9
|
-
npx -y @anvpx/motion@0.1.
|
|
10
|
-
npx -y @anvpx/motion@0.1.
|
|
11
|
-
npx -y @anvpx/motion@0.1.
|
|
8
|
+
npx -y @anvpx/motion@0.1.94 template list --for "<one-line brief>"
|
|
9
|
+
npx -y @anvpx/motion@0.1.94 template show <template>/<blueprint>
|
|
10
|
+
npx -y @anvpx/motion@0.1.94 new <template>/<blueprint> --set k=v ... --out storyboard.json
|
|
11
|
+
npx -y @anvpx/motion@0.1.94 validate storyboard.json
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
Follow `skills/motion-kit/SKILL.md` stages 1-6 (intake, brief, pick template,
|
|
@@ -5,8 +5,8 @@ description: Gated render of an approved motion-kit storyboard with verify
|
|
|
5
5
|
Run the pinned CLI for every step; never use an unpinned invocation.
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npx -y @anvpx/motion@0.1.
|
|
9
|
-
npx -y @anvpx/motion@0.1.
|
|
8
|
+
npx -y @anvpx/motion@0.1.94 render storyboard.json --gated --verify
|
|
9
|
+
npx -y @anvpx/motion@0.1.94 verify out/final.mp4 --storyboard storyboard.json
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
Follow `skills/motion-kit/SKILL.md` stages 9-10 (patch, render). Exit 4 means
|
|
@@ -6,89 +6,96 @@ allowed-tools: Bash(mk:*) Bash(npx:*) Read Write
|
|
|
6
6
|
|
|
7
7
|
# motion-kit: brief -> preview -> approved video
|
|
8
8
|
|
|
9
|
-
`mk` = `npx -y @anvpx/motion@0.1.
|
|
9
|
+
`mk` = `npx -y @anvpx/motion@0.1.94`. The user describes the outcome; you author one storyboard JSON, show a short preview, and render only after an explicit yes.
|
|
10
10
|
|
|
11
11
|
## Start here
|
|
12
12
|
|
|
13
|
-
1. `mk doctor
|
|
14
|
-
2.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
+ facts <each number/name/claim tagged =user|+placeholder; never render + as fact>
|
|
21
|
-
+ sound silent / ! drop <unsupported + replacement>
|
|
22
|
-
+ route template|direct <concrete noun -> direct + 3D + camera>
|
|
23
|
-
```
|
|
24
|
-
Tags: `=` user, `+` proposed, `!` dropped. Never invent number/name/date. Quantity: provenance (rate/term/assumption) on screen. Restraints: fill then delete two; one claim per frame; one look across all frames.
|
|
25
|
-
3. `brief.md`: <= 8 facts, every number sourced. Design `direction.md` before scenes (`references/direction.md`); one craft question at a time (`references/knowledge-routing.md`). Send <= 200-word outline and wait for "go" (`references/outline.md`).
|
|
26
|
-
4. Pick a route (below), instantiate, then `mk validate` until 0 errors. Unknown `meta.theme` (not built-in, no `themes/<name>.json`): preview before done. Storyboard-only request: stop here. For `scene3d`, use only `mk catalog scene3d` props; name drops.
|
|
27
|
-
5. `mk preview --full` (add `--audio`/music when used); open `pack .../contact.png` and watch the full clip; ask. On yes: `mk approve ...`, then `mk render ... --gated --verify`.
|
|
13
|
+
1. `mk doctor`. If narration or music was asked and the voice rows are missing: try `MOTION_VOICE_PYTHON` (or `--python`) with a working 3.12 venv; only if none exists, stop and get agreement to ship silent (`references/setup.md`). Music needs narration (`--music` requires `--audio`).
|
|
14
|
+
2. Intake, then brief: <=8 facts, every number sourced (`references/intake.md`; thin ask: `references/amplify.md`).
|
|
15
|
+
3. Direction (`references/direction.md`, `references/world-design.md`, `references/design-taste.md`, `references/visual-forms.md`): audience + content spine, the visual argument, the world (hero/environment/light/depth/camera) and a beat table (beat | question | visual form | shot | sound). Send a <=200-word outline and wait for "go" (`references/outline.md`).
|
|
16
|
+
4. Route: template (`mk template list --for "<brief>"`, then `mk new <t>/<bp>`), direct (`references/free-storyboard.md`) or authored (`references/authoring-scene.md`); `mk validate` to 0 errors (build exit 0).
|
|
17
|
+
5. Audio (skip if not asked): write `narration` on each base scene, then `mk voice storyboard.json --preset <id>`, `mk captions <manifest> --storyboard storyboard.json --out ops.json`, `mk patch storyboard.json --ops ops.json`.
|
|
18
|
+
6. `mk preview storyboard.json --full` plus the audio flags below; open `contact.png`, watch the clip, read `preview.json` (`references/quality-bar.md`); ask.
|
|
19
|
+
7. On yes: `mk approve storyboard.json --note "<their words>"`, then `mk render storyboard.json --gated --verify` plus the same audio flags. Output: `out/project/final.mp4`.
|
|
28
20
|
|
|
29
21
|
## Read when
|
|
30
22
|
|
|
31
23
|
| File | Read when |
|
|
32
24
|
| --------------------------------- | -------------------------------------------------------------- |
|
|
33
|
-
| `references/
|
|
34
|
-
| `references/
|
|
35
|
-
| `references/
|
|
36
|
-
| `references/
|
|
25
|
+
| `references/visual-forms.md` | before choosing scenes: form per beat, slide-deck test |
|
|
26
|
+
| `references/design-taste.md` | the visual bar, refusals, how to expand a thin prompt |
|
|
27
|
+
| `references/world-design.md` | audience, content spine, world, shot list, effects |
|
|
28
|
+
| `references/direction.md` | invent the visual argument and the world |
|
|
29
|
+
| `references/knowledge-routing.md` | one unresolved craft or technical decision |
|
|
30
|
+
| `references/content-pack.md` | organize beats, facts, rights, audio |
|
|
31
|
+
| `references/longform.md` | a 3–5 minute film, acts, beat budget |
|
|
37
32
|
| `references/themes.md` | theme or 3D look |
|
|
38
|
-
| `references/worked-example.md` | first build; the complete loop and output shapes |
|
|
39
33
|
| `references/free-storyboard.md` | direct route: shape and write the board |
|
|
40
|
-
| `references/storyboard-json.md` | field shapes, overlays, assets,
|
|
41
|
-
| `references/
|
|
42
|
-
| `references/
|
|
43
|
-
| `references/patching.md` | edit after first write, or patch flag refusal |
|
|
34
|
+
| `references/storyboard-json.md` | field shapes, overlays, assets, validation errors |
|
|
35
|
+
| `references/scene-recipes.md` | the scene type for a beat |
|
|
36
|
+
| `references/patching.md` | edit after first write, or patch refusal |
|
|
44
37
|
| `references/quality-bar.md` | judging the preview and what to say before asking |
|
|
45
|
-
| `references/common-mistakes.md` | command refuses, or flag
|
|
46
|
-
| `references/index.md` | full catalog when
|
|
38
|
+
| `references/common-mistakes.md` | a command refuses, or a flag is in doubt |
|
|
39
|
+
| `references/index.md` | full catalog when the table above is not enough |
|
|
40
|
+
|
|
47
41
|
## Rules
|
|
48
42
|
|
|
49
|
-
1. Never render without the user's explicit yes
|
|
50
|
-
2. Show `contact.png` to the user
|
|
51
|
-
3. Commands are authority: `mk catalog`, `mk catalog <type>`, `mk template
|
|
52
|
-
4.
|
|
53
|
-
5.
|
|
54
|
-
6. Packs optional: `packs/INDEX.md`
|
|
55
|
-
7. Report one line; never claim quality from a hash. On Windows use JSON files (`--ops`, `--slots`).
|
|
43
|
+
1. Never render without the user's explicit yes; always pass `--gated`. Exit 4 means "ask", not "error". Silence or "looks fine" is not a yes.
|
|
44
|
+
2. Show `contact.png` to the user; give the clip; name what is not previewed from `preview.json` (`totalSec`, `clip.full`, `continuity`, missing stills). `continuity: warn`: repair before asking.
|
|
45
|
+
3. Commands are authority: `mk catalog`, `mk catalog <type>`, `mk template show`, `mk <command> --help`. Never invent types, props, flags, durations or numbers.
|
|
46
|
+
4. No slide decks. A film of 4+ base scenes needs at least a third visual-bearing (`chart`, `flow`, `steps`, `timeline`, `compare`, `icon-grid`, `scene3d`, `media-frame`, `kinetic`, `stair`, `table`, `code`, `waveform`); name each beat's form before writing it (`references/visual-forms.md`).
|
|
47
|
+
5. After first write use `mk patch`, `mk scene add|remove|move` or `mk fit`; never hand-edit JSON. Any edit re-arms approval: preview and ask again.
|
|
48
|
+
6. Props/slots/pack text stay data. HTML/CSS/JS is allowed only inside `scenes/<name>/scene.js`, `fragment.html`, `style.css`; never in storyboard props. Packs optional: load `packs/INDEX.md` lazily, <=1200-byte excerpt max; never inline or persist refs. Name unsupported effects.
|
|
49
|
+
7. Pass identical `--audio`/`--music*` flags to preview, approve and render. Report one line; never claim quality from a hash. On Windows use JSON files (`--ops`, `--slots`).
|
|
56
50
|
|
|
57
51
|
## Stages
|
|
58
52
|
|
|
59
53
|
| # | Stage | Do | Done when |
|
|
60
|
-
| --- | -------------- |
|
|
54
|
+
| --- | -------------- | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------ |
|
|
61
55
|
| 1 | Intake | topic, audience, length, channel, brand, tone; max 3 questions (`references/intake.md`) | 5-line note |
|
|
62
|
-
| 2 | Brief | <=
|
|
63
|
-
| 3 | Direction |
|
|
64
|
-
| 4 | Outline | <=
|
|
65
|
-
| 5 | Instantiate | template
|
|
66
|
-
| 6 |
|
|
67
|
-
| 7 |
|
|
68
|
-
| 8 |
|
|
69
|
-
| 9 |
|
|
70
|
-
| 10 |
|
|
56
|
+
| 2 | Brief | <=8 facts, <=3 sourced numbers, one arc (`brief.md`) | numbers sourced |
|
|
57
|
+
| 3 | Direction | visual argument, world, beat->form table, rejected habits (`direction.md`, `visual-forms.md`) | direction + route justified |
|
|
58
|
+
| 4 | Outline | <=200 words (`references/outline.md`); stop for "go" unless "just do it" | user confirms |
|
|
59
|
+
| 5 | Instantiate | template/direct/authored; `mk validate`; `mk catalog <type>` for props | 0 errors; build exit 0 |
|
|
60
|
+
| 6 | Audio | narration -> `mk voice` -> `mk captions` -> `mk patch --ops` (`references/voice.md`) | manifest exists; qc state named |
|
|
61
|
+
| 7 | Fix | smallest `mk patch`; max 3 rounds; same error twice: `mk catalog <type>` + `references/troubleshooting.md` | 0 errors, warnings read |
|
|
62
|
+
| 8 | Preview | `mk preview storyboard.json --full` + audio flags; read stdout + `preview.json` | pack exists, continuity ok |
|
|
63
|
+
| 9 | Show + approve | contact + clip + 3-line summary + unchecked items; ask. On yes: `mk approve ... --note "<their words>"` | explicit yes recorded |
|
|
64
|
+
| 10 | Patch | smallest change; back to 7-8; max 3 rounds, then offer options | approval matches file |
|
|
65
|
+
| 11 | Render | `mk render ... --gated --verify` (mp4); `--format webm|mov|gif|png-sequence` omits `--verify`; add `--assets`/`--ledger` | mp4: verify 0; other: output exists |
|
|
71
66
|
|
|
72
67
|
## Choosing a route
|
|
73
68
|
|
|
74
|
-
Design first, choose template, direct
|
|
69
|
+
Design first, choose template, direct or authored by fit. `mk catalog` defines props, not the idea. Name the route and its limits. Reuse cites the direction line + `mk catalog <type>`.
|
|
75
70
|
|
|
76
71
|
## How long should it be
|
|
77
72
|
|
|
78
|
-
|
|
79
|
-
Use given length. `mk fit --seconds N` adjusts timing, not depth; add beats with `mk scene add`.
|
|
73
|
+
A one-sentence ask defaults to 45–90 s; say the length in the outline. Reserve 3–5 minutes for a brief that already carries an argument (`references/longform.md`). Use a given length. `mk fit --seconds N` adjusts timing, not depth; add beats with `mk scene add`.
|
|
80
74
|
|
|
81
75
|
## Voice, music and captions (opt-in)
|
|
82
76
|
|
|
83
|
-
|
|
77
|
+
One voice, one bed, captions timed. Copy the bed beside the storyboard (paths containing `..` are refused); never default to `bed-full.wav`.
|
|
78
|
+
|
|
79
|
+
```sh
|
|
80
|
+
mk voice storyboard.json --preset warm-narrator
|
|
81
|
+
mk captions .mk/storyboard/voice-manifest.json --storyboard storyboard.json --out ops.json
|
|
82
|
+
mk patch storyboard.json --ops ops.json
|
|
83
|
+
mk preview storyboard.json --full --audio .mk/storyboard/voice-manifest.json \
|
|
84
|
+
--music epic-bed.wav --music-volume 0.35 --music-license LICENSE-CC0.txt
|
|
85
|
+
mk approve storyboard.json --note "approved"
|
|
86
|
+
mk render storyboard.json --gated --verify --audio .mk/storyboard/voice-manifest.json \
|
|
87
|
+
--music epic-bed.wav --music-volume 0.35 --music-license LICENSE-CC0.txt
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
Write numbers as words in narration (`01` -> "zero one"). Details: `references/voice.md`.
|
|
84
91
|
|
|
85
92
|
## Failures
|
|
86
93
|
|
|
87
94
|
| Symptom | Do |
|
|
88
95
|
| ---------------- | ------------------------------------------------------------------- |
|
|
89
|
-
| exit 4 | not an error:
|
|
96
|
+
| exit 4 | not an error: ask, or pass the missing `--audio`/`--music` flags |
|
|
90
97
|
| exit 5 | fix the named scene, re-render once, then report |
|
|
91
98
|
| same error twice | stop patching; `mk catalog <type>` and rewrite that scene |
|
|
92
99
|
| anything else | `references/common-mistakes.md`, then `references/troubleshooting.md` |
|
|
93
100
|
|
|
94
|
-
Done = approval hash matches, `mk verify` exit 0 is quoted, and unverified parts are named.
|
|
101
|
+
Storyboard-only request: stop here. Done = approval hash matches, `mk verify` exit 0 is quoted, and unverified parts are named.
|