@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.
Files changed (55) hide show
  1. package/CATALOG.md +23 -7
  2. package/README.md +7 -7
  3. package/mcpb/{motion-kit-0.1.54.mcpb → motion-kit-0.1.94.mcpb} +0 -0
  4. package/package.json +9 -9
  5. package/plugins/motion-kit/.claude-plugin/plugin.json +1 -1
  6. package/plugins/motion-kit/README.md +3 -3
  7. package/plugins/motion-kit/commands/mk-draft.md +2 -2
  8. package/plugins/motion-kit/commands/mk-new.md +4 -4
  9. package/plugins/motion-kit/commands/mk-render.md +2 -2
  10. package/plugins/motion-kit/skills/motion-kit/SKILL.md +57 -49
  11. package/plugins/motion-kit/skills/motion-kit/references/amplify.md +258 -258
  12. package/plugins/motion-kit/skills/motion-kit/references/common-mistakes.md +67 -66
  13. package/plugins/motion-kit/skills/motion-kit/references/design-taste.md +114 -0
  14. package/plugins/motion-kit/skills/motion-kit/references/direction.md +33 -21
  15. package/plugins/motion-kit/skills/motion-kit/references/free-storyboard.md +2 -2
  16. package/plugins/motion-kit/skills/motion-kit/references/index.md +17 -4
  17. package/plugins/motion-kit/skills/motion-kit/references/intake.md +5 -7
  18. package/plugins/motion-kit/skills/motion-kit/references/patching.md +1 -0
  19. package/plugins/motion-kit/skills/motion-kit/references/patterns.md +1 -1
  20. package/plugins/motion-kit/skills/motion-kit/references/quality-bar.md +37 -4
  21. package/plugins/motion-kit/skills/motion-kit/references/review.md +17 -17
  22. package/plugins/motion-kit/skills/motion-kit/references/scene-recipes.md +114 -111
  23. package/plugins/motion-kit/skills/motion-kit/references/slop.md +46 -46
  24. package/plugins/motion-kit/skills/motion-kit/references/storyboard-json.md +25 -25
  25. package/plugins/motion-kit/skills/motion-kit/references/themes.md +1 -1
  26. package/plugins/motion-kit/skills/motion-kit/references/troubleshooting.md +81 -81
  27. package/plugins/motion-kit/skills/motion-kit/references/visual-forms.md +54 -0
  28. package/plugins/motion-kit/skills/motion-kit/references/voice.md +15 -13
  29. package/plugins/motion-kit/skills/motion-kit/references/world-design.md +112 -0
  30. package/shared/themes/bold-dark.json +18 -1
  31. package/shared/themes/bold-light.json +18 -1
  32. package/shared/themes/calm-dark.json +19 -2
  33. package/shared/themes/calm-light.json +19 -2
  34. package/shared/themes/tech-dark.json +19 -9
  35. package/shared/themes/tech-light.json +19 -9
  36. package/skills/motion-kit/SKILL.md +57 -49
  37. package/skills/motion-kit/references/amplify.md +258 -258
  38. package/skills/motion-kit/references/common-mistakes.md +67 -66
  39. package/skills/motion-kit/references/design-taste.md +114 -0
  40. package/skills/motion-kit/references/direction.md +33 -21
  41. package/skills/motion-kit/references/free-storyboard.md +2 -2
  42. package/skills/motion-kit/references/index.md +17 -4
  43. package/skills/motion-kit/references/intake.md +5 -7
  44. package/skills/motion-kit/references/patching.md +1 -0
  45. package/skills/motion-kit/references/patterns.md +1 -1
  46. package/skills/motion-kit/references/quality-bar.md +37 -4
  47. package/skills/motion-kit/references/review.md +17 -17
  48. package/skills/motion-kit/references/scene-recipes.md +114 -111
  49. package/skills/motion-kit/references/slop.md +46 -46
  50. package/skills/motion-kit/references/storyboard-json.md +25 -25
  51. package/skills/motion-kit/references/themes.md +1 -1
  52. package/skills/motion-kit/references/troubleshooting.md +81 -81
  53. package/skills/motion-kit/references/visual-forms.md +54 -0
  54. package/skills/motion-kit/references/voice.md +15 -13
  55. package/skills/motion-kit/references/world-design.md +112 -0
@@ -4,83 +4,84 @@ These are the failures that waste the most time. Each row is wrong -> right -> w
4
4
 
5
5
  ## Workflow
6
6
 
7
- | Wrong | Right | Why |
8
- | --- | --- | --- |
9
- | `mk render` after "looks good" | `mk preview`, show `contact.png`, hear an explicit yes, then `mk approve` | The gate exists so the user sees the film before paying for it |
10
- | "They said yes earlier" | Ask again for the current preview | Any edit re-arms approval; an old yes is for an old board |
11
- | Hand-edit the JSON after the first write | `mk patch`, `mk scene`, `mk fit` | The approval and preview bind to the exact bytes and structure |
12
- | Approve on the user's silence | Ask again with the contact path | Silence is not consent |
13
- | Skip preview because the board "looks fine" | Preview every board before asking | JSON is not a frame; lint is not composition |
14
- | Write a second board as "backup" | Patch the one board | Two files diverge and the approval points at neither |
15
- | Promise a feature the engine does not have | Name the unsupported effect and choose a native route | The user will see the gap at preview |
7
+ | Wrong | Right | Why |
8
+ | ------------------------------------------- | ------------------------------------------------------------------------- | -------------------------------------------------------------- |
9
+ | `mk render` after "looks good" | `mk preview`, show `contact.png`, hear an explicit yes, then `mk approve` | The gate exists so the user sees the film before paying for it |
10
+ | "They said yes earlier" | Ask again for the current preview | Any edit re-arms approval; an old yes is for an old board |
11
+ | Hand-edit the JSON after the first write | `mk patch`, `mk scene`, `mk fit` | The approval and preview bind to the exact bytes and structure |
12
+ | Approve on the user's silence | Ask again with the contact path | Silence is not consent |
13
+ | Skip preview because the board "looks fine" | Preview every board before asking | JSON is not a frame; lint is not composition |
14
+ | Write a second board as "backup" | Patch the one board | Two files diverge and the approval points at neither |
15
+ | Promise a feature the engine does not have | Name the unsupported effect and choose a native route | The user will see the gap at preview |
16
16
 
17
17
  ## Schema and props
18
18
 
19
- | Wrong | Right | Why |
20
- | --- | --- | --- |
21
- | `"version": 2` or a migration step | `"version": 1`; no migration command exists | There is one live schema discriminator, not a version history |
22
- | `"meta": { "aspect": "9:16" }` | `"width": 1080, "height": 1920` | The frame is pixels; there is no `aspect` key |
23
- | Adding a helpful key such as `"note"` or `"layoutHint"` | Only keys from `mk catalog <type>` | Props are strict; unlisted keys are rejected |
24
- | `"id": "Intro Scene"` | `"id": "intro-scene"` | Ids must be lowercase slugs |
25
- | Overlay without `over` | `"layer": "overlay", "over": "intro", "duration": 3` | An overlay must know which base scene it covers |
26
- | Overlay with `transition` | Remove `transition` | Overlays fade themselves; the schema rejects it |
27
- | `over`/`offset` on a base scene | Put them only on `layer: "overlay"` scenes | Base scenes advance the timeline |
28
- | `meta.theme: "calm-light"` on a hand-written board | Use a built-in theme or vendor the theme into `themes/` | `mk validate` does not resolve themes; preview does |
29
- | Copying only `storyboard.json` to a new folder | Copy `themes/` and `.mk/` beside it | Themes and template provenance resolve beside the board |
30
- | Summing durations to predict the total | Read `preview.json` `totalSec`, or the `mk patch`/`mk fit`/`mk scene add`/`mk preview` line | Transitions overlap; `mk validate` reports errors, not duration |
31
- | `code.highlight: 1` | `"highlight": [1]` (array of line numbers) | The prop is a list, not a scalar |
32
- | `media-frame.image` is a URL | A local path plus an `assets.json` ledger row | Remote assets fail closed |
33
- | `"image": "assets/x.png"` while `--assets assets` | `"image": "x.png"`; ledger `assets.json` | Asset refs are relative to the assets dir, not the project |
34
- | An icon name invented from memory | `mk icon search <word>` | Icon names are a finite set |
19
+ | Wrong | Right | Why |
20
+ | ------------------------------------------------------- | ------------------------------------------------------------------------------------------- | --------------------------------------------------------------- |
21
+ | `"version": 2` or a migration step | `"version": 1`; no migration command exists | There is one live schema discriminator, not a version history |
22
+ | `"meta": { "aspect": "9:16" }` | `"width": 1080, "height": 1920` | The frame is pixels; there is no `aspect` key |
23
+ | Adding a helpful key such as `"note"` or `"layoutHint"` | Only keys from `mk catalog <type>` | Props are strict; unlisted keys are rejected |
24
+ | `"id": "Intro Scene"` | `"id": "intro-scene"` | Ids must be lowercase slugs |
25
+ | Overlay without `over` | `"layer": "overlay", "over": "intro", "duration": 3` | An overlay must know which base scene it covers |
26
+ | Overlay with `transition` | Remove `transition` | Overlays fade themselves; the schema rejects it |
27
+ | `over`/`offset` on a base scene | Put them only on `layer: "overlay"` scenes | Base scenes advance the timeline |
28
+ | `meta.theme: "calm-light"` on a hand-written board | Use a built-in theme or vendor the theme into `themes/` | `mk validate` does not resolve themes; preview does |
29
+ | Copying only `storyboard.json` to a new folder | Copy `themes/` and `.mk/` beside it | Themes and template provenance resolve beside the board |
30
+ | Summing durations to predict the total | Read `preview.json` `totalSec`, or the `mk patch`/`mk fit`/`mk scene add`/`mk preview` line | Transitions overlap; `mk validate` reports errors, not duration |
31
+ | `code.highlight: 1` | `"highlight": [1]` (array of line numbers) | The prop is a list, not a scalar |
32
+ | `media-frame.image` is a URL | A local path plus an `assets.json` ledger row | Remote assets fail closed |
33
+ | `"image": "assets/x.png"` while `--assets assets` | `"image": "x.png"`; ledger `assets.json` | Asset refs are relative to the assets dir, not the project |
34
+ | An icon name invented from memory | `mk icon search <word>` | Icon names are a finite set |
35
35
 
36
36
  ## CLI
37
37
 
38
- | Wrong | Right | Why |
39
- | --- | --- | --- |
40
- | `mk new ... --set items=["A","B"]` | Put arrays and objects in `--slots slots.json`; `--set` lists are pipe-separated | `mk new` does not parse a JSON array in `--set`; `mk scene add` does |
41
- | `mk new ... --set title.text=...` | `mk patch` after `mk new` | `--set` is top-level only |
42
- | `mk scene add caption ...` with no `--over` | `--over intro` and `--offset 0` | Overlay types require their base scene |
43
- | `mk fit --seconds 50` on a 25 s board | Add scenes first, then fit | Fit moves about 1.4x and refuses outside the range; it never distorts |
44
- | `mk approve` with different flags than `mk preview` | Use the identical `--out`, `--assets`, `--ledger`, `--audio`, `--music` | Approve infers the pack inputs; a mismatch exits 2 |
45
- | Following the printed `approve:` hint after `preview --out` | Repeat the same `--out` and asset/audio flags | The hint may omit `--out`; approve then looks in the default folder |
46
- | `mk approve` before `mk preview` | Preview first | There is no pack for the current inputs |
47
- | `mk preview` on a long board without `--full` | `mk preview --full`; the default clip is a 2 s/scene, 30 s-max trailer | A trailer samples entrances and can flash/pop; it is not the film |
48
- | `preview.json` `continuity: warn` | Fix the cut (crossfade/match/bridge); re-preview | A luma jump >70 is a flash/pop, not an effect |
49
- | Lint: `icon-grid content (est. …) exceeds …` | Split the scene, shorten the title, or use 4 cards; re-preview | A 5-card two-row grid plus a two-line title clips the frame |
50
- | Caption band covers base text (`text_occluded`) | Move/remove the base content; run `hyperframes check` at caption times | A readable caption that hides the banner is still a broken frame |
51
- | `mk preview` on a narrated board with no `--audio` | `mk voice --preset <id>`, then `mk preview --full --audio <manifest>` | Silent narration is an unrendered film; `--allow-silent` is explicit |
52
- | `mk render --verify --format webm` | Verify the mp4 master, then convert | `--verify` is mp4-only |
53
- | `mk captions manifest.json --out ops.json` with no storyboard | Add `--storyboard storyboard.json` | Ops need scene-relative paths |
54
- | `mk assets import logo.png --dir assets` | Add `--licence MIT --source-url <url>` | Every imported asset needs provenance |
55
- | `mk voice` on a machine with no venv | `mk doctor`; install Python 3.12 + the voice extras, or ship silent | Voice is opt-in and fails closed |
56
- | `mk patch` path into a missing parent | Add the parent first, or target an existing path | Patch stops at the first op that cannot apply |
57
- | `npx -y @anvpx/motion@0.1.54` returns 404 | stop; verify the exact release on npm, or use a local checkout/tarball only if the user has one | do not silently fall back to an unpinned npx |
38
+ | Wrong | Right | Why |
39
+ | --------------------------------------------------------------------- | -------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
40
+ | `mk new ... --set items=["A","B"]` | Put arrays and objects in `--slots slots.json`; `--set` lists are pipe-separated | `mk new` does not parse a JSON array in `--set`; `mk scene add` does |
41
+ | `mk new ... --set title.text=...` | `mk patch` after `mk new` | `--set` is top-level only |
42
+ | `mk scene add caption ...` with no `--over` | `--over intro` and `--offset 0` | Overlay types require their base scene |
43
+ | `mk fit --seconds 50` on a 25 s board | Add scenes first, then fit | Fit moves about 1.4x and refuses outside the range; it never distorts |
44
+ | `mk approve` with different flags than `mk preview` | Use the identical `--out`, `--assets`, `--ledger`, `--audio`, `--music` | Approve infers the pack inputs; a mismatch exits 2 |
45
+ | Following the printed `approve:` hint after `preview --out` | Repeat the same `--out` and asset/audio flags | The hint may omit `--out`; approve then looks in the default folder |
46
+ | `mk approve` before `mk preview` | Preview first | There is no pack for the current inputs |
47
+ | `mk preview` on a long board without `--full` | `mk preview --full`; the default clip is a 2 s/scene, 30 s-max trailer | A trailer samples entrances and can flash/pop; it is not the film |
48
+ | `preview.json` `continuity: warn` | Fix the cut (crossfade/match/bridge); re-preview | A luma jump >70 is a flash/pop, not an effect |
49
+ | Lint: `icon-grid content (est. …) exceeds …` | Split the scene, shorten the title, or use 4 cards; re-preview | A 5-card two-row grid plus a two-line title clips the frame |
50
+ | Caption band covers base text (`text_occluded`) | Move/remove the base content; run `hyperframes check` at caption times | A readable caption that hides the banner is still a broken frame |
51
+ | `mk preview` on a narrated board with no `--audio` | `mk voice --preset <id>`, then `mk preview --full --audio <manifest>` | Silent narration is an unrendered film; `--allow-silent` is explicit |
52
+ | `mk render --verify --format webm` | Verify the mp4 master, then convert | `--verify` is mp4-only |
53
+ | `mk captions manifest.json --out ops.json` with no storyboard | Add `--storyboard storyboard.json` | Ops need scene-relative paths |
54
+ | `mk assets import logo.png --dir assets` | Add `--licence MIT --source-url <url>` | Every imported asset needs provenance |
55
+ | `mk voice` on a machine with no venv | `mk doctor`; install Python 3.12 + the voice extras, or ship silent | Voice is opt-in and fails closed |
56
+ | `mk patch` path into a missing parent | Add the parent first, or target an existing path | Patch stops at the first op that cannot apply |
57
+ | `npx -y @anvpx/motion@0.1.94` resolves a different build than the pin | re-run with the exact pin from `SKILL.md`; report the version you ran | do not silently fall back to an unpinned npx |
58
58
 
59
59
  ## Windows
60
60
 
61
- | Wrong | Right | Why |
62
- | --- | --- | --- |
63
- | `mk patch board.json --op` with inline JSON containing quotes | Put the op in `fixes.json` and use `--ops fixes.json` | Shell quoting mangles nested JSON |
64
- | `mk new --slots <(echo ...)` | Write `slots.json` and pass `--slots slots.json` | Process substitution is not PowerShell |
65
- | `$json = @'...'@; mk patch --op $json` | Same file route | Multi-line quoted JSON breaks on some shells |
61
+ | Wrong | Right | Why |
62
+ | ------------------------------------------------------------- | ----------------------------------------------------- | -------------------------------------------- |
63
+ | `mk patch board.json --op` with inline JSON containing quotes | Put the op in `fixes.json` and use `--ops fixes.json` | Shell quoting mangles nested JSON |
64
+ | `mk new --slots <(echo ...)` | Write `slots.json` and pass `--slots slots.json` | Process substitution is not PowerShell |
65
+ | `$json = @'...'@; mk patch --op $json` | Same file route | Multi-line quoted JSON breaks on some shells |
66
66
 
67
67
  ## Quality
68
68
 
69
- | Wrong | Right | Why |
70
- | --- | --- | --- |
71
- | Three static scenes in a row | Give base scenes a `move`, or vary the shot | Lint flags `flat-motion`; the film reads as slides |
72
- | Thin ask treated as tiny brief / "clip" defaulted to 20-45 s | Run `amplify.md`, write full card in `direction.md` (## Amplification) or `amplify-card.md`, summarize in outline; default 180-300 s unless user asks for short/reel/vertical/social/<N> s | Outline must stay <=200 words; do not paste full card |
73
- | 3D/world effects invented as props | Run `mk catalog scene3d` (or type used), map world/light/camera/material to real props, name unsupported effects as `!` drops with replacements | Never invent prop names, model imports, or engine capabilities |
74
- | A paragraph on one slide | One idea, at most six words per line | Viewers read the headline, not the paragraph |
75
- | All text the same size | One clear hierarchy: headline, support, one hero number | Equal weight means no entry point |
76
- | Decoration to fill space | Remove an element, enlarge the type, or split the beat | Empty space is not a defect; clutter is |
77
- | Claiming "premium" or "AAA" from a contact sheet | Describe what the preview proves and what it does not | A still cannot prove motion, voice or the full render |
78
- | Ignoring a lint warning because exit is 0 | Read every warning; fix or record a deliberate waiver | Warnings are the engine's cheapest review |
79
- | Invented facts untagged | Tag every fact user/derived/invented; never render an invented fact | Untagged invented stats ship as evidence |
80
- | Subject under one third of frame height | Enlarge the subject or pull the camera back | Small subjects read as missing in product demos |
81
- | Subtitle over the subject | Move the subject or the caption band | Covered action is an unreadable frame |
82
- | Filling every amplify slot | Fill the slots, then delete two; name the two left thin (e.g. no blueprint grid, no callout arrows, no glow) | A full card was never edited; the quantity branch lost a point when full |
83
- | `Divergence: no recent work available` | State the assumed look plus `Assumed/unresolved`; `unavailable` alone is a dodge | An unstated default is a template, not a decision |
69
+ | Wrong | Right | Why |
70
+ | ------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
71
+ | Three static scenes in a row | Give base scenes a `move`, or vary the shot | Lint flags `flat-motion`; the film reads as slides |
72
+ | Thin ask treated as tiny brief / "clip" defaulted to 20-45 s | Run `amplify.md`, write the full card in `direction.md` (## Amplification), summarize in outline; one-sentence ask defaults to 45-90 s, a brief with an argument to 180-300 s | Outline must stay <=200 words; do not paste full card |
73
+ | 3D/world effects invented as props | Run `mk catalog scene3d` (or type used), map world/light/camera/material to real props, name unsupported effects as `!` drops with replacements | Never invent prop names, model imports, or engine capabilities |
74
+ | A paragraph on one slide | One idea, at most six words per line | Viewers read the headline, not the paragraph |
75
+ | All text the same size | One clear hierarchy: headline, support, one hero number | Equal weight means no entry point |
76
+ | Decoration to fill space | Remove an element, enlarge the type, or split the beat | Empty space is not a defect; clutter is |
77
+ | Claiming "premium" or "AAA" from a contact sheet | Describe what the preview proves and what it does not | A still cannot prove motion, voice or the full render |
78
+ | Ignoring a lint warning because exit is 0 | Read every warning; fix or record a deliberate waiver | Warnings are the engine's cheapest review |
79
+ | Invented facts untagged | Tag every fact user/derived/invented; never render an invented fact | Untagged invented stats ship as evidence |
80
+ | Subject under one third of frame height | Enlarge the subject or pull the camera back | Small subjects read as missing in product demos |
81
+ | Subtitle over the subject | Move the subject or the caption band | Covered action is an unreadable frame |
82
+ | Template for a concrete visual subject | Direct route with a scene3d/kinetic scene, named camera and light | Templates show words about nouns; only staged scenes show the noun |
83
+ | Filling every amplify slot | Fill the slots, then delete two; name the two left thin (e.g. no blueprint grid, no callout arrows, no glow) | A full card was never edited; the quantity branch lost a point when full |
84
+ | `Divergence: no recent work available` | State the assumed look plus `Assumed/unresolved`; `unavailable` alone is a dodge | An unstated default is a template, not a decision |
84
85
 
85
86
  When the same error appears twice, stop changing flags. Run `mk catalog <type>`, compare the scene to its example, and rewrite that one scene through `mk patch`. Three rounds is the budget; then show the user the options.
86
87
 
@@ -88,4 +89,4 @@ When the same error appears twice, stop changing flags. Run `mk catalog <type>`,
88
89
 
89
90
  **Applicability:** a command refuses, a flag/field is in doubt, or output looks wrong. **Counterexample:** a warning can be a deliberate waiver recorded in the plan; a flag may be correct in a different context; a row's fix is the common fix, not the only fix. **Provenance:** motion-kit synthesis from observed failures on the current CLI surface, not an exhaustive or vendor-verified list.
90
91
 
91
- **Check:** the chosen row's symptom matches the exact first `E` line or observed behavior; the fix was verified against `mk <command> --help` or `mk catalog <type>` before applying. If the fix changes nothing after one try, stop and switch rows.
92
+ **Check:** the chosen row's symptom matches the exact first `E` line or observed behavior; the fix was verified against `mk <command> --help` or `mk catalog <type>` before applying. If the fix changes nothing after one try, stop and switch rows.
@@ -0,0 +1,114 @@
1
+ # Design taste: the bar, the laws, the refusals
2
+
3
+ Distilled for motion-kit from two public design skills (Leonxlnx `design-taste-frontend` and Paul
4
+ Bakaus `impeccable`, both MIT/Apache-2.0): the parts that decide whether a frame looks designed or
5
+ assembled. Apply it while choosing the world and the scenes, then judge the frames against it.
6
+
7
+ **The bar:** a still from the film could stand alone as a poster for the subject. If a frame could
8
+ be rebuilt as a slide with a logo, a gradient and a rounded card, it fails.
9
+
10
+ ## Ten laws
11
+
12
+ 1. **One picture per beat.** Cover the words: what is left must still carry the beat. A picture,
13
+ a diagram, a place, a comparison or a measured display — not a card with a heading.
14
+ 2. **Show the subject.** Every film shows the thing it is about, at true scale, whole, with a
15
+ different view each beat. A film that never shows its subject is a mood piece and must say so.
16
+ 3. **Full-bleed.** The frame is the world; type lives in it with a scrim or a clear margin, never
17
+ in a box on a flat ground. Equal left and right edges, no floating card in a dead field.
18
+ 4. **Three type voices, not one.** A frame reads as authored when the type has roles, not when it
19
+ has one family. The engine ships three faces per theme, and every theme's display face is
20
+ deliberately different from its sans:
21
+ - `--mk-font-display` — the **statement**. One per frame, at the largest step
22
+ (`--mk-font-size-title`/`display`/`hero`). This is a serif on the editorial skins and a
23
+ grotesque on the tech/default skins.
24
+ - `--mk-font-sans` — **body and sub-copy**, at `md`/`lg`.
25
+ - `--mk-font-mono` — the **tracked system voice**: eyebrows, labels, axis names, folios.
26
+ Small (`sm`), weight 600, `letter-spacing: 0.2em`, uppercase.
27
+ An eyebrow is allowed when it carries information the heading cannot (context, place, source,
28
+ count). An eyebrow above every heading, carrying nothing, is still a refusal. No gradient
29
+ text; emphasis is weight, size or space. Tracking no tighter than -0.04em.
30
+ 5. **One palette, one light.** A ground, an ink and one accent, picked from the subject's use
31
+ scene (who, where, what light). No violet default. Light has a direction and a reason; shadows
32
+ have offset and blur, not a colored halo.
33
+ 6. **Depth or nothing.** Overlap, atmosphere, a horizon or a foreground object gives depth. Glass,
34
+ blur, glow and particles as decoration are refused; if the frame is flat, commit to flat with
35
+ scale and contrast.
36
+ 7. **One authored motion moment.** One beat where the world moves (a camera move, a draw, a
37
+ reveal, a count), plus quiet entrances. Not the same fade-up on every beat, not an effect per
38
+ frame. Ease out from a visible default.
39
+ 8. **Content first.** One hard fact on the first beat; plain words; every promise pictured;
40
+ mechanism and evidence for anything the audience must believe; no invented number, name or
41
+ quote. Details carry the film: the part, the place, the quantity, the actor.
42
+ 9. **Sound is part of the picture.** Narration names what the frame shows; the bed runs to the last
43
+ frame; captions sit in their lane and stay readable at phone width.
44
+ 10. **Check the frames, not the prose.** Contrast, edges, overflow, legibility at 390 px, and
45
+ whether a named element is actually visible. A direction that describes a world the frames do
46
+ not contain is a defect in the film, not a note.
47
+
48
+ ## Refusals (the AI defaults)
49
+
50
+ Reaching for one of these when the brief leaves the axis free means no decision was made. Rewrite
51
+ the element, do not soften it.
52
+
53
+ - Same-size cards of icon + heading + text as the film's structure; nested cards.
54
+ - The hero-metric template: one big number, small label, supporting stats, accent rule.
55
+ - A kicker/eyebrow above **every** heading; section numbers 01/02/03 that carry no information.
56
+ (One eyebrow that states the context, place or source is good practice — see law 4.)
57
+ - Title → bullets → stat → outro as the whole film.
58
+ - Gradient text, violet/lavender accents, glassmorphism as decoration, colored one-pixel
59
+ border-left, hard offset "neobrutalist" shadows outside a neobrutalist world.
60
+ - Sparklines, progress rings, soft rounded rectangles standing in for content.
61
+ - Monospace as a costume for "technical"; emoji or unicode glyphs as icons.
62
+ - A geometric mask or radial cutout standing in for a photographed subject.
63
+ - Light or dark picked by category rather than by the scene the film depicts.
64
+ - Captions or credits under every visual; placeholders, sample labels, invented mock data.
65
+
66
+ ## The frame recipe (copy these values)
67
+
68
+ A beat that looks designed, not assembled, is built from four layers. Use the theme tokens; the
69
+ numbers below are the defaults they resolve to.
70
+
71
+ | Layer | Rule |
72
+ | ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
73
+ | **Context line** | `--mk-font-mono`, `sm` (28 px), weight 600, `letter-spacing: 0.2em`, uppercase, `--mk-color-muted`. Says where, when or whose — never a decorative label. |
74
+ | **Statement** | `--mk-font-display`, `title` (96 px) or `display` (128 px), weight 700, `line-height` 0.96–1.04, `letter-spacing: -0.02em`. Two lines maximum. |
75
+ | **Sub-copy** | `--mk-font-sans`, `lg` (48 px), weight 400, `--mk-color-muted`. One sentence, at most 12 words. |
76
+ | **Ground** | The world's own ground, full bleed. If the scene has no picture, give it a horizon and one light (see law 6) — never a flat panel behind a text block. |
77
+
78
+ Colour: one accent from the theme, used at **one** level for one purpose (the word that matters,
79
+ the line that lands). Do not pair `--mk-color-accent` with `--mk-color-accent2` in the same
80
+ frame — two accents read as an accidental gradient. Ink steps come from `fg`, `muted` and
81
+ `onDeep`; that is the ramp.
82
+
83
+ Vertical rhythm: context → statement → sub-copy, each on the same left edge, with the gaps in the
84
+ ratio 1 : 2 : 1. One alignment per frame; do not centre a block that the rest of the film sets
85
+ left.
86
+
87
+
88
+
89
+ | The beat needs | Reach for | Not |
90
+ | -------------------------------- | ----------------------------------------------------------- | ----------------- |
91
+ | A place, time of day, weather | `world` (coast/desert/forest/city/interior/space) with type | a title card |
92
+ | An object, atmosphere, camera | `scene3d` with stage/light/camera/bokeh/volumetric | an abstract card |
93
+ | The real product, person or room | `media-frame` with supplied, ledgered images | a fake 3D body |
94
+ | A mechanism or system | `flow`/`steps`/`timeline` with named parts | three equal cards |
95
+ | A quantity or change | `chart`/`stair`/`compare`/`table` | a lone `stat` |
96
+ | One claim, one line | `poster`/`kinetic`/`sticker` | `bullets` |
97
+
98
+ A film of 4+ base beats needs at least a third visual-bearing (`world`, `scene3d`, `media-frame`,
99
+ `chart`, `flow`, `steps`, `timeline`, `compare`, `icon-grid`, `kinetic`, `stair`, `table`, `code`,
100
+ `waveform`). The lint warns when none is present; treat the warning as a blocking defect.
101
+
102
+ ## Expand a thin prompt (do not hardcode)
103
+
104
+ A one-line ask names a subject, not a film. Expand it with **true** material, never with a stock
105
+ example (no default fish, turtle, camera or architecture demo): who watches and where; the one
106
+ thing they must understand; the place and time; what surrounds the subject in that place; the
107
+ light; what moves. If the expansion invents a fact about the subject, cut it. If it invents only
108
+ the staging (a coast at dusk, a workshop bench, a city at night), keep it and say so in
109
+ `direction.md`.
110
+
111
+ Example: "a heat pump" -> winter dusk on a house wall, outdoor coil outside, warm room inside,
112
+ one loop diagram that returns three times. "A rugged camera" -> a coast at dawn, salt haze, one
113
+ lit body on wet rock, the product absent unless photos are supplied. Never reuse the example's
114
+ subject; reuse the method.
@@ -12,6 +12,11 @@ not a storyboard field, CLI command, runtime schema or approval receipt.
12
12
  connection, separation, transformation, rhythm, or a relationship you invent.
13
13
  3. Sketch two genuinely different ways to show that relationship in words or
14
14
  rough frames. Choose by the brief, reading conditions and available evidence.
15
+ Run the swap test: if this direction could carry any other script unchanged,
16
+ it is a template, not a direction — take the direct route. A concrete visual
17
+ subject (animal, place, object, food, person) with no brand lock realizes
18
+ direct with at least one scene3d/kinetic/sticker scene, a named camera move
19
+ and a named light; record why if a template is chosen anyway.
15
20
  4. Describe the chosen composition before naming a scene type. Map it to the
16
21
  engine afterward. A missing catalog layout can be authored; a missing engine
17
22
  capability must be investigated and named.
@@ -30,29 +35,38 @@ precedents, with their failure modes and counterexamples, are in
30
35
  ## Record decisions, not adjectives
31
36
 
32
37
  Keep each entry to a decision and its reason. Invent other axes when useful.
33
- For thin asks, include `## Amplification` with the full card from `amplify.md`
34
- (or keep it in `amplify-card.md` and reference it). Do not hide invented facts;
38
+ For thin asks, include `## Amplification` with the full card from `amplify.md`.
39
+ Do not hide invented facts;
35
40
  list them under `Missing`/`facts` with tags and sources/assumptions. For 3D/object
36
41
  films, state world, light, camera move (reason + end state), materials, and related
37
42
  environment objects. For quantity films, state the legible unit, threshold event,
38
43
  and on-screen provenance (rate/term/assumption). For reference-video input, record
39
44
  the traced shot/beat mapping and any deliberate divergence.
40
45
 
41
- | Decision | Record |
42
- | ---------------- | ------------------------------------------------------------------------ |
43
- | Viewer + idea | intended change, central relationship, narrative turn |
44
- | Composition | hierarchy, alignment/grid, negative space, scale/crop, depth |
45
- | Type | role of words, hierarchy, line breaks, pairing and reading rhythm |
46
- | Color + material | value structure, semantic accents, light/texture if meaningful |
47
- | Motion | what changes, why, spatial continuity, easing, overlap, rest |
48
- | Sound | silence/voice/music/effects, focus, transitions and mix arc |
49
- | References | source and the principle borrowed; rights for actual assets |
50
- | Exclusions | habits that would weaken this idea, with reasons |
51
- | Realization | template/direct/authored or mixed, known limits and proof needed |
52
- | Callback | one object that returns at least three times, and what changes each time |
53
- | Missing | what the brief did not supply, and the value this film sets instead |
46
+ ### The slide-deck test
47
+
48
+ Before writing scenes, cover the words and look at the planned frames. If what
49
+ remains is a logo, a gradient and a card, the film is a deck. Name the **world**
50
+ in one line — ground, light direction and quality, material, depth cue, camera —
51
+ and the **visual form** of every beat (`visual-forms.md`). A film of 4+ base
52
+ scenes with no visual-bearing beat is unfinished: add a chart, diagram, 3D stage,
53
+ media frame, kinetic run or comparison before previewing.
54
+
55
+ | Decision | Record |
56
+ | ---------------- | ---------------------------------------------------------------------------------------- |
57
+ | Viewer + idea | intended change, central relationship, narrative turn |
58
+ | Composition | hierarchy, alignment/grid, negative space, scale/crop, depth |
59
+ | Type | role of words, hierarchy, line breaks, pairing and reading rhythm |
60
+ | Color + material | value structure, semantic accents, light/texture if meaningful |
61
+ | Motion | what changes, why, spatial continuity, easing, overlap, rest |
62
+ | Sound | silence/voice/music/effects, focus, transitions and mix arc |
63
+ | References | source and the principle borrowed; rights for actual assets |
64
+ | Exclusions | habits that would weaken this idea, with reasons |
65
+ | Realization | template/direct/authored or mixed, known limits and proof needed |
66
+ | Callback | one object that returns at least three times, and what changes each time |
67
+ | Missing | what the brief did not supply, and the value this film sets instead |
54
68
  | Facts | carried verbatim from card; = user / + placeholder never renders / ! dropped with source |
55
- | Packet | inputs used, commands run, and what proves the film worked |
69
+ | Packet | inputs used, commands run, and what proves the film worked |
56
70
 
57
71
  The **Missing** entry is the one that keeps a film honest: every number, name or
58
72
  assumption the film invents goes there with the value chosen ("rate: 6 %, because the
@@ -61,8 +75,9 @@ brief gave none"). A published prompt collection measured this session keeps the
61
75
  corrections — and every one of its twelve sampled entries states what the shared prompt
62
76
  left out. We write the film; the entry is how we admit what we decided for the user.
63
77
 
64
- Do not fill every entry with an effect. Silence, a flat field, one typeface or a
65
- locked camera can be deliberate choices. Numerical timing is provisional until
78
+ Do not fill every entry with an effect. Silence, a typeface or a locked camera can
79
+ be deliberate, but "flat field plus cards" is not a look: state the ground, light
80
+ and material that make the frame a place. Numerical timing is provisional until
66
81
  tested against reading, narration and preview evidence.
67
82
 
68
83
  ## The house look
@@ -108,6 +123,3 @@ It extends the existing original-authoring route and deterministic custom-scene
108
123
  contract. It is useful for bespoke briefs; an established brand system may need
109
124
  only a short delta note. Check: a person who did not make the film can explain its visual argument
110
125
  without knowing any template or scene names; Facts carried verbatim with =/+//! tags; house-look choose-against-2 recorded; last-film audit done.
111
-
112
-
113
-
@@ -3,14 +3,14 @@
3
3
  A direct storyboard is a first-class realization, not a fallback. Develop `direction.md` first, then choose this route when catalog components express the intended composition. Original authored scenes can share the same board. Say which route you took and why; a distinct look may require authored composition rather than only a new catalog sequence.
4
4
 
5
5
  1. Shape beats from the visual argument and narrative turn in the direction; use `craft-narrative.md` for an unresolved sequencing question. Then map realization to `mk catalog` (index, one line per type), and `mk catalog <type>` for each supported type you use. Never read `CATALOG.md` in full or scene source to invent prop shapes.
6
- 2. Write the initial storyboard JSON (`references/storyboard-json.md`): `version`, `meta` (title, width/height, fps, theme), then one scene per beat with unique kebab-case ids. Give every base scene a `duration` and a `move` (default `push-in`, 6 s when none fits); `layer: "overlay"` scenes need `over`, `offset`, `duration`. About 250 tokens per scene; a 20-75 s short is typically 3 beats. Use a built-in theme (`default`, `dark`, `tech-dark`, `calm-dark`) or vendor a theme into `themes/`; `mk validate` does not resolve themes, `mk preview` does.
6
+ 2. Write the initial storyboard JSON (`references/storyboard-json.md`): `version`, `meta` (title, width/height, fps, theme), then one scene per beat with unique kebab-case ids. Give every base scene a `duration` and a `move` (default `push-in`, 6 s when none fits); `layer: "overlay"` scenes need `over`, `offset`, `duration`. About 250 tokens per scene; a 20-75 s short is typically 3 beats. Use a built-in theme (`default`, `dark`, `paper`, `tech-dark`, `calm-dark`) or vendor a theme into `themes/`; `mk validate` does not resolve themes, `mk preview` does.
7
7
  3. A template is optional reference: `mk template show <t>` gives its styles, themes and `copy.md` tone, and `mk new <t>/<bp> --out storyboard.json` gives a working frame with `.mk/<name>/template.json` provenance and paired-theme preview stills. Use either when it saves work; skip both when it does not. A storyboard without a template has no template provenance, and that is valid.
8
8
  4. After the first write, edit only through `mk patch`, `mk scene add|remove|move` and `mk fit` (`patching.md`). Never hand-rewrite the file; the approval hash and the preview binding depend on deliberate, reviewable edits.
9
9
  5. `mk validate storyboard.json`; read the total from `mk patch`/`mk fit`/`mk preview` and compare it with the brief, then continue at the **Fix** row in `SKILL.md`.
10
10
 
11
11
  If the user asked for the storyboard only, stop after `mk validate` (SKILL step 4) and say that no preview or render was run. If no interactive user exists, stop after the outline and return it with the board; never self-approve.
12
12
 
13
- Liquid look: `scene3d` offers only `knot|gem|sphere|torus` (`themes.md` 3D); no liquid model — log as `! drop` per `amplify.md`, then `mk catalog <type>` for the replacement.
13
+ Liquid look: `scene3d` offers only `knot|gem|cut|sphere|torus` (`themes.md` 3D); no liquid model — log as `! drop` per `amplify.md`, then `mk catalog <type>` for the replacement.
14
14
 
15
15
  A brand colour or custom theme: copy a vendored theme to `themes/brand.json`, change colours, set `meta.theme` to `brand`, then preview (build resolves the theme and runs contrast lint; `mk validate` alone does not). Theme authoring details: `references/authoring-style.md`.
16
16
 
@@ -1,10 +1,11 @@
1
1
  # Reference index (full catalog)
2
2
 
3
3
  Every file in `references/`. SKILL.md lists the most common ones; this file is the complete
4
- catalog with a one-line trigger. Load one at a time. Total reference size is large; do not
5
- read more than the one you need.
4
+ catalog with a one-line trigger. Load only what a named question needs; for one
5
+ decision that is usually one file, never more than two.
6
6
 
7
7
  ## Intake and brief
8
+
8
9
  - `intake.md` — topic, audience, length, channel, brand, tone; max 3 questions with defaults; reference video as input
9
10
  - `brief.md` (in root) — not a reference; the brief file you write
10
11
  - `outline.md` — <= 200-word outline; stop for "go"
@@ -12,26 +13,32 @@ read more than the one you need.
12
13
  - `density.md` — a frame feels thin, a board is mostly sentences, a cut runs minutes
13
14
 
14
15
  ## Direction and design
16
+
15
17
  - `direction.md` — concept, composition, type, motion, sound, divergence; reference video as structure source
16
18
  - `knowledge-routing.md` — one unresolved craft/technical decision; lazy craft-card index
17
19
  - `worked-example.md` — first build; complete loop and output shapes
18
20
  - `worked-decisions.md` — worked decisions
19
21
 
20
22
  ## Amplification and structure
23
+
21
24
  - `amplify.md` — thin ask -> 13-slot card; fill by function; three restraints; build the world; fact tagging; opt-in audio
22
25
  - `free-storyboard.md` — direct route: shape and write the board
23
26
  - `storyboard-json.md` — field shapes, overlays, assets, decoding validation errors
24
27
  - `patching.md` — any edit after first write, patch flag refusal
25
28
 
26
29
  ## Scenes and types
30
+
27
31
  - `scene-recipes.md` — choose a type for a beat and copy its prop shape (incl. short-vertical, deterministic-plates, mechanism-explainer, whiteboard)
28
32
  - `authoring-scene.md` — authored scenes
29
33
  - `authoring-style.md` — style
30
34
  - `faux-ui.md` — faux product UI (living screenshots)
31
35
 
32
36
  ## Craft cards (load one per decision)
37
+
33
38
  - `craft-color.md` — color
34
39
  - `craft-composition.md` — composition, grids, depth, world, 3D scene richness
40
+ - `visual-forms.md` — form per beat, slide-deck test, visual density
41
+ - `world-design.md` — audience, content spine, world, shot list, engine boundary
35
42
  - `craft-critique.md` — critique, review, product-demo review gate
36
43
  - `craft-motion.md` — motion as explanation, measured laws
37
44
  - `craft-narrative.md` — narrative
@@ -39,6 +46,7 @@ read more than the one you need.
39
46
  - `craft-type.md` — typography
40
47
 
41
48
  ## Quality and review
49
+
42
50
  - `quality-bar.md` — judging the preview and what to say before asking
43
51
  - `review.md` — review
44
52
  - `critique-repair.md` — repair after critique
@@ -47,24 +55,29 @@ read more than the one you need.
47
55
  - `slop.md` — anti-slop, never-ship list, measured craft laws
48
56
 
49
57
  ## Voice, music, captions
58
+
50
59
  - `voice.md` — voice presets, music beds, captions, audio approval, mix numbers
51
60
 
52
61
  ## Themes and long form
62
+
53
63
  - `themes.md` — theme or 3D look
54
64
  - `longform.md` — 3-5 minute film, acts, beat budget, motif, long-form sound
55
65
 
56
66
  ## Templates and authoring
67
+
57
68
  - `setup.md` — setup
58
69
  - `decision-packet.md` — decision packet
59
70
  - `patterns.md` — patterns (landed from reference distillation)
60
71
 
61
72
  ## Authoring contract
73
+
62
74
  - `amplify.md` (see above)
63
75
  - `content-pack.md` (see above)
64
76
 
65
77
  ## When unsure
66
- Load `knowledge-routing.md` first; it is the lazy index of craft decisions. Then load the one reference it points to. Never load more than two references per turn.
78
+
79
+ Load `knowledge-routing.md` first; it is the lazy index of craft decisions. Then load the one reference it points to. Never load more than two references for one decision.
67
80
 
68
81
  ## Applicability, counterexample and provenance
69
82
 
70
- This index lists every reference file with a one-line trigger; it is a catalog, not a reading order for all files. Load one reference at a time; total reference size is large. Check: load at most two references per turn; verify the file exists before loading.
83
+ This index lists every reference file with a one-line trigger; it is a catalog, not a reading order for all files. Load only what a named question needs; total reference size is large. Check: at most two references for one decision; verify the file exists before loading.
@@ -42,14 +42,15 @@ aspect and copy fit.
42
42
  An ask that names a subject and nothing else has handed its decisions to the
43
43
  engine's defaults. Do not ask the user to answer twelve questions: expand the ask
44
44
  yourself into the card in `amplify.md`, mark every item you proposed, write the
45
- full card in `direction.md` under `## Amplification` (or `amplify-card.md`), and
45
+ full card in `direction.md` under `## Amplification`, and
46
46
  show a short summary with the outline. Fill the SKILL.md Step 2 mini-card first (forced shape), then expand to the full card.
47
47
  The outline stays <= 200 words; never paste
48
48
  the full card into it. The user deletes a line they dislike; the film is still theirs.
49
49
 
50
- Length: "clip" alone is not short-form — propose 180-300 s for a professional film
51
- unless the user states short/reel/vertical/social/<N> s. Ask only if the length
52
- materially changes the result and is not inferable (counts toward the 3-question cap).
50
+ Length: "clip" alone is not short-form — propose 45-90 s for a one-sentence ask,
51
+ or 180-300 s only when the brief already carries an argument. Ask only if the
52
+ length materially changes the result and is not inferable (counts toward the
53
+ 3-question cap).
53
54
 
54
55
  An original brief does not need a template search and must not be turned into a
55
56
  menu. Templates help repeat an approved system; they do not define the creative
@@ -67,8 +68,6 @@ If the user supplies a reference video, reverse-engineer it before authoring:
67
68
  3. Derive the beat map and visual argument from that structure; each beat traces to one or more shots or is stated as a deliberate divergence. Realize beats only with supported `mk catalog` types/authored scenes; drop or replace unsupported effects by name.
68
69
  4. Never fabricate a shot, claim, voice, or detail the reference does not contain.
69
70
 
70
- ## Applicability, counterexample and provenance
71
-
72
71
  ## Applicability, counterexample and provenance
73
72
 
74
73
  Extracting supplied facts and capping questions at three is motion-kit
@@ -77,4 +76,3 @@ no questions; a one-line ask is amplified into the card with proposed defaults
77
76
  marked. An intake that invents a fact the brief did not supply fails this
78
77
  section. Check: every question asked names a missing fact that changes the
79
78
  result, and the total is <= 3.
80
-
@@ -20,6 +20,7 @@ RFC 6902 subset: `add`, `replace`, `remove`, `move` (`from`, `path`), `test`. Pa
20
20
  - `__proto__`, `constructor`, `prototype` and command-shaped keys (`command`, `argv`, `shell`, `filter`, `executable`, `env`) are refused in paths and values.
21
21
  - The result goes through the full validator and lint. Output is at most 3 lines: `patch ok | 2 ops | changed /a, /b`, then `scenes 5 | total 25s | 0 errors, 1 warnings`, plus the first warning.
22
22
  - Several changes that are only valid together (a longer text and a longer duration) belong in one patch.
23
+ - A patch that leaves any error is refused and writes nothing (`patch refused, nothing written: N errors`). When the board already has errors, put **every** repair that clears them into one `--ops` file; a single small patch cannot chip away at a broken board one error at a time.
23
24
 
24
25
  Feedback to change, smallest first:
25
26
 
@@ -94,4 +94,4 @@ A motion-graphics method states prohibitions as tests; adopt one: scenes must ch
94
94
 
95
95
  ## Applicability, counterexample and provenance
96
96
 
97
- The rhythm, motion and deck-test observations are heuristics from an unqualified corpus (2,462 works / 585 prompts, 751 shared prompts, one music-video method, one motion-graphics method). They are not measured laws: speech, silence, slow cinema, long takes and opacity-led films are valid counterexamples. The `mk validate` warnings (`flat-motion`, `hold-after-accent`, `linear-ease`) report real levels; read them before changing a deliberate stillness or constant-speed move. Landed-pattern checks are motion-kit predicates, not engine-enforced rules. Verify any figure against its source before repeating it.
97
+ The rhythm, motion and deck-test observations are heuristics from an unqualified corpus (2,462 works / 585 prompts, 751 shared prompts, one music-video method, one motion-graphics method). They are not measured laws: speech, silence, slow cinema, long takes and opacity-led films are valid counterexamples. The `mk validate` warnings (`flat-motion`, `hold-after-accent`, `linear-ease`) report real levels; read them before changing a deliberate stillness or constant-speed move. Landed-pattern checks are motion-kit predicates, not engine-enforced rules. Verify any figure against its source before repeating it.