@anvpx/motion 0.1.54 → 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.54.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 -49
- package/plugins/motion-kit/skills/motion-kit/references/amplify.md +258 -258
- package/plugins/motion-kit/skills/motion-kit/references/common-mistakes.md +67 -66
- package/plugins/motion-kit/skills/motion-kit/references/design-taste.md +114 -0
- package/plugins/motion-kit/skills/motion-kit/references/direction.md +33 -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 -49
- package/skills/motion-kit/references/amplify.md +258 -258
- package/skills/motion-kit/references/common-mistakes.md +67 -66
- package/skills/motion-kit/references/design-taste.md +114 -0
- package/skills/motion-kit/references/direction.md +33 -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
|
@@ -87,20 +87,16 @@
|
|
|
87
87
|
"font": {
|
|
88
88
|
"$type": "fontFamily",
|
|
89
89
|
"sans": {
|
|
90
|
-
"$
|
|
90
|
+
"$type": "fontFamily",
|
|
91
|
+
"$value": ["Inter", "system-ui", "sans-serif"]
|
|
91
92
|
},
|
|
92
93
|
"display": {
|
|
94
|
+
"$type": "fontFamily",
|
|
93
95
|
"$value": ["Space Grotesk", "system-ui", "sans-serif"]
|
|
94
96
|
},
|
|
95
97
|
"mono": {
|
|
96
|
-
"$
|
|
97
|
-
|
|
98
|
-
"ui-monospace",
|
|
99
|
-
"SFMono-Regular",
|
|
100
|
-
"Menlo",
|
|
101
|
-
"Consolas",
|
|
102
|
-
"monospace"
|
|
103
|
-
]
|
|
98
|
+
"$type": "fontFamily",
|
|
99
|
+
"$value": ["JetBrains Mono", "ui-monospace", "Consolas", "monospace"]
|
|
104
100
|
}
|
|
105
101
|
},
|
|
106
102
|
"fontSize": {
|
|
@@ -356,5 +352,19 @@
|
|
|
356
352
|
}
|
|
357
353
|
]
|
|
358
354
|
}
|
|
355
|
+
},
|
|
356
|
+
"terrain": {
|
|
357
|
+
"light": {
|
|
358
|
+
"$type": "color",
|
|
359
|
+
"$value": "#c6bdb0"
|
|
360
|
+
},
|
|
361
|
+
"mid": {
|
|
362
|
+
"$type": "color",
|
|
363
|
+
"$value": "#a29788"
|
|
364
|
+
},
|
|
365
|
+
"deep": {
|
|
366
|
+
"$type": "color",
|
|
367
|
+
"$value": "#776c5f"
|
|
368
|
+
}
|
|
359
369
|
}
|
|
360
370
|
}
|
|
@@ -6,88 +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
|
-
```
|
|
23
|
-
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.
|
|
24
|
-
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`).
|
|
25
|
-
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.
|
|
26
|
-
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`.
|
|
27
20
|
|
|
28
21
|
## Read when
|
|
29
22
|
|
|
30
23
|
| File | Read when |
|
|
31
24
|
| --------------------------------- | -------------------------------------------------------------- |
|
|
32
|
-
| `references/
|
|
33
|
-
| `references/
|
|
34
|
-
| `references/
|
|
35
|
-
| `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 |
|
|
36
32
|
| `references/themes.md` | theme or 3D look |
|
|
37
|
-
| `references/worked-example.md` | first build; the complete loop and output shapes |
|
|
38
33
|
| `references/free-storyboard.md` | direct route: shape and write the board |
|
|
39
|
-
| `references/storyboard-json.md` | field shapes, overlays, assets,
|
|
40
|
-
| `references/
|
|
41
|
-
| `references/
|
|
42
|
-
| `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 |
|
|
43
37
|
| `references/quality-bar.md` | judging the preview and what to say before asking |
|
|
44
|
-
| `references/common-mistakes.md` | command refuses, or flag
|
|
45
|
-
| `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
|
+
|
|
46
41
|
## Rules
|
|
47
42
|
|
|
48
|
-
1. Never render without the user's explicit yes
|
|
49
|
-
2. Show `contact.png` to the user
|
|
50
|
-
3. Commands are authority: `mk catalog`, `mk catalog <type>`, `mk template
|
|
51
|
-
4.
|
|
52
|
-
5.
|
|
53
|
-
6. Packs optional: `packs/INDEX.md`
|
|
54
|
-
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`).
|
|
55
50
|
|
|
56
51
|
## Stages
|
|
57
52
|
|
|
58
53
|
| # | Stage | Do | Done when |
|
|
59
|
-
| --- | -------------- |
|
|
54
|
+
| --- | -------------- | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------ |
|
|
60
55
|
| 1 | Intake | topic, audience, length, channel, brand, tone; max 3 questions (`references/intake.md`) | 5-line note |
|
|
61
|
-
| 2 | Brief | <=
|
|
62
|
-
| 3 | Direction |
|
|
63
|
-
| 4 | Outline | <=
|
|
64
|
-
| 5 | Instantiate | template
|
|
65
|
-
| 6 |
|
|
66
|
-
| 7 |
|
|
67
|
-
| 8 |
|
|
68
|
-
| 9 |
|
|
69
|
-
| 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 |
|
|
70
66
|
|
|
71
67
|
## Choosing a route
|
|
72
68
|
|
|
73
|
-
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>`.
|
|
74
70
|
|
|
75
71
|
## How long should it be
|
|
76
72
|
|
|
77
|
-
|
|
78
|
-
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`.
|
|
79
74
|
|
|
80
75
|
## Voice, music and captions (opt-in)
|
|
81
76
|
|
|
82
|
-
|
|
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`.
|
|
83
91
|
|
|
84
92
|
## Failures
|
|
85
93
|
|
|
86
94
|
| Symptom | Do |
|
|
87
95
|
| ---------------- | ------------------------------------------------------------------- |
|
|
88
|
-
| exit 4 | not an error:
|
|
96
|
+
| exit 4 | not an error: ask, or pass the missing `--audio`/`--music` flags |
|
|
89
97
|
| exit 5 | fix the named scene, re-render once, then report |
|
|
90
98
|
| same error twice | stop patching; `mk catalog <type>` and rewrite that scene |
|
|
91
99
|
| anything else | `references/common-mistakes.md`, then `references/troubleshooting.md` |
|
|
92
100
|
|
|
93
|
-
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.
|