@anvpx/motion 0.1.51 → 0.1.52
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/README.md +31 -16
- package/dist/main.js +0 -0
- package/mcpb/motion-kit-0.1.52.mcpb +0 -0
- package/package.json +15 -12
- package/plugins/motion-kit/.claude-plugin/plugin.json +10 -1
- package/plugins/motion-kit/README.md +39 -24
- 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/icon.png +0 -0
- package/plugins/motion-kit/skills/motion-kit/SKILL.md +31 -25
- package/plugins/motion-kit/skills/motion-kit/references/amplify.md +258 -216
- package/plugins/motion-kit/skills/motion-kit/references/authoring-scene.md +4 -0
- package/plugins/motion-kit/skills/motion-kit/references/authoring-style.md +4 -0
- package/plugins/motion-kit/skills/motion-kit/references/common-mistakes.md +71 -58
- package/plugins/motion-kit/skills/motion-kit/references/content-pack.md +10 -1
- package/plugins/motion-kit/skills/motion-kit/references/craft-composition.md +43 -0
- package/plugins/motion-kit/skills/motion-kit/references/craft-critique.md +26 -1
- package/plugins/motion-kit/skills/motion-kit/references/craft-motion.md +28 -0
- package/plugins/motion-kit/skills/motion-kit/references/craft-sound.md +2 -0
- package/plugins/motion-kit/skills/motion-kit/references/craft-type.md +2 -0
- package/plugins/motion-kit/skills/motion-kit/references/critique-repair.md +9 -0
- package/plugins/motion-kit/skills/motion-kit/references/decision-packet.md +10 -0
- package/plugins/motion-kit/skills/motion-kit/references/density.md +12 -5
- package/plugins/motion-kit/skills/motion-kit/references/direction.md +27 -61
- package/plugins/motion-kit/skills/motion-kit/references/faux-ui.md +16 -1
- package/plugins/motion-kit/skills/motion-kit/references/free-storyboard.md +8 -2
- package/plugins/motion-kit/skills/motion-kit/references/index.md +70 -0
- package/plugins/motion-kit/skills/motion-kit/references/intake.md +32 -3
- package/plugins/motion-kit/skills/motion-kit/references/knowledge-routing.md +5 -1
- package/plugins/motion-kit/skills/motion-kit/references/longform.md +4 -0
- package/plugins/motion-kit/skills/motion-kit/references/outline.md +13 -2
- package/plugins/motion-kit/skills/motion-kit/references/patching.md +4 -0
- package/plugins/motion-kit/skills/motion-kit/references/patterns.md +46 -66
- package/plugins/motion-kit/skills/motion-kit/references/quality-bar.md +41 -93
- package/plugins/motion-kit/skills/motion-kit/references/review.md +17 -8
- package/plugins/motion-kit/skills/motion-kit/references/scene-recipes.md +111 -333
- package/plugins/motion-kit/skills/motion-kit/references/setup.md +4 -0
- package/plugins/motion-kit/skills/motion-kit/references/slop.md +46 -40
- package/plugins/motion-kit/skills/motion-kit/references/storyboard-json.md +9 -3
- package/plugins/motion-kit/skills/motion-kit/references/themes.md +4 -0
- package/plugins/motion-kit/skills/motion-kit/references/troubleshooting.md +81 -75
- package/plugins/motion-kit/skills/motion-kit/references/voice.md +10 -0
- package/plugins/motion-kit/skills/motion-kit/references/worked-decisions.md +4 -0
- package/plugins/motion-kit/skills/motion-kit/references/worked-example.md +4 -0
- package/skills/motion-kit/SKILL.md +31 -25
- package/skills/motion-kit/references/amplify.md +258 -216
- package/skills/motion-kit/references/authoring-scene.md +4 -0
- package/skills/motion-kit/references/authoring-style.md +4 -0
- package/skills/motion-kit/references/common-mistakes.md +71 -58
- package/skills/motion-kit/references/content-pack.md +10 -1
- package/skills/motion-kit/references/craft-composition.md +43 -0
- package/skills/motion-kit/references/craft-critique.md +26 -1
- package/skills/motion-kit/references/craft-motion.md +28 -0
- package/skills/motion-kit/references/craft-sound.md +2 -0
- package/skills/motion-kit/references/craft-type.md +2 -0
- package/skills/motion-kit/references/critique-repair.md +9 -0
- package/skills/motion-kit/references/decision-packet.md +10 -0
- package/skills/motion-kit/references/density.md +12 -5
- package/skills/motion-kit/references/direction.md +27 -61
- package/skills/motion-kit/references/faux-ui.md +16 -1
- package/skills/motion-kit/references/free-storyboard.md +8 -2
- package/skills/motion-kit/references/index.md +70 -0
- package/skills/motion-kit/references/intake.md +32 -3
- package/skills/motion-kit/references/knowledge-routing.md +5 -1
- package/skills/motion-kit/references/longform.md +4 -0
- package/skills/motion-kit/references/outline.md +13 -2
- package/skills/motion-kit/references/patching.md +4 -0
- package/skills/motion-kit/references/patterns.md +46 -66
- package/skills/motion-kit/references/quality-bar.md +41 -93
- package/skills/motion-kit/references/review.md +17 -8
- package/skills/motion-kit/references/scene-recipes.md +111 -333
- package/skills/motion-kit/references/setup.md +4 -0
- package/skills/motion-kit/references/slop.md +46 -40
- package/skills/motion-kit/references/storyboard-json.md +9 -3
- package/skills/motion-kit/references/themes.md +4 -0
- package/skills/motion-kit/references/troubleshooting.md +81 -75
- package/skills/motion-kit/references/voice.md +10 -0
- package/skills/motion-kit/references/worked-decisions.md +4 -0
- package/skills/motion-kit/references/worked-example.md +4 -0
package/README.md
CHANGED
|
@@ -61,28 +61,43 @@ The agent first develops a visual argument in an authoring-only `direction.md`:
|
|
|
61
61
|
|
|
62
62
|
## Hosts
|
|
63
63
|
|
|
64
|
-
**
|
|
65
|
-
|
|
64
|
+
**Claude Desktop — one file.** `npx -y @anvpx/motion@latest desktop` writes
|
|
65
|
+
`motion-kit-<version>.mcpb` into the current folder. Open it (double-click, or drag it onto
|
|
66
|
+
Desktop), answer the two settings, and the nine tools appear. The bundle carries **no engine**:
|
|
67
|
+
every tool runs `npx -y @anvpx/motion@latest`, so the engine tracks new releases on its own; pin a
|
|
68
|
+
version in the extension settings when you need reproducible output. The archive is not code-signed,
|
|
69
|
+
so Desktop may ask you to confirm it.
|
|
66
70
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
71
|
+
Tools: `mk_version`, `mk_doctor`, `mk_catalog`, `mk_new`, `mk_validate`, `mk_still`, `mk_preview`,
|
|
72
|
+
`mk_approve`, `mk_render` — each is the CLI command of the same name, and `mk_render` always
|
|
73
|
+
passes `--gated`.
|
|
70
74
|
|
|
71
|
-
**Claude
|
|
72
|
-
shipped skill; import that `skills/motion-kit` folder wherever your Desktop build takes skills
|
|
73
|
-
(or paste `SKILL.md` into the first message). Desktop does not run shell commands, so you run
|
|
74
|
-
the loop yourself in a terminal:
|
|
75
|
+
**Claude Code — one command.** From a clone of this repository:
|
|
75
76
|
|
|
76
77
|
```sh
|
|
77
|
-
|
|
78
|
-
# open out/storyboard.preview/contact.png, then, on your yes:
|
|
79
|
-
mk approve storyboard.json --note "<your words>" && mk render storyboard.json --gated --verify
|
|
78
|
+
claude plugin install motion-kit --marketplace <path to this repo>
|
|
80
79
|
```
|
|
81
80
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
`
|
|
81
|
+
Inside a session the same thing is two lines: `/plugin marketplace add <path>` then
|
|
82
|
+
`/plugin install motion-kit@motion-kit`. For one session without a marketplace:
|
|
83
|
+
`npx -y @anvpx/motion@latest plugin install --out ./motion-kit-plugin` then
|
|
84
|
+
`claude --plugin-dir ./motion-kit-plugin`. Either way you get the skill, the three commands
|
|
85
|
+
(`/motion-kit:mk-new`, `/motion-kit:mk-draft`, `/motion-kit:mk-render`) and shell access to `mk`.
|
|
86
|
+
|
|
87
|
+
**Any terminal or MCP-capable agent.** `mk` is the whole interface; the skill
|
|
88
|
+
(`skills/motion-kit/SKILL.md`, shipped in the package) is the protocol. Without shell access
|
|
89
|
+
(a plain chat window), run the three-command loop yourself — the walkthrough is
|
|
90
|
+
`docs/CLAUDE-DESKTOP.md`.
|
|
91
|
+
|
|
92
|
+
## Updates
|
|
93
|
+
|
|
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 |
|
|
86
101
|
|
|
87
102
|
## The approval gate
|
|
88
103
|
|
package/dist/main.js
CHANGED
|
File without changes
|
|
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.52",
|
|
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",
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"music/catalog.json",
|
|
43
43
|
"music/LICENSE-CC0.txt",
|
|
44
44
|
"packs/**/*",
|
|
45
|
+
"mcpb/*.mcpb",
|
|
45
46
|
"assets.json",
|
|
46
47
|
"templates/**/*",
|
|
47
48
|
"shared/themes/**/*",
|
|
@@ -51,23 +52,25 @@
|
|
|
51
52
|
"icons/LICENSE-lucide",
|
|
52
53
|
"CATALOG.md"
|
|
53
54
|
],
|
|
55
|
+
"scripts": {
|
|
56
|
+
"prepack": "pnpm -w run build && pnpm -w run mcpb"
|
|
57
|
+
},
|
|
54
58
|
"dependencies": {
|
|
55
59
|
"@fontsource/inter": "5.3.0",
|
|
56
60
|
"@fontsource/jetbrains-mono": "5.3.0",
|
|
57
61
|
"@fontsource/source-serif-4": "5.3.1",
|
|
58
62
|
"@fontsource/space-grotesk": "5.3.0",
|
|
59
|
-
"@anvpx/motion-assets": "
|
|
60
|
-
"@anvpx/motion-audio": "
|
|
61
|
-
"@anvpx/motion-build": "
|
|
62
|
-
"@anvpx/motion-cli": "
|
|
63
|
-
"@anvpx/motion-scenes": "
|
|
64
|
-
"@anvpx/motion-schema": "
|
|
65
|
-
"@anvpx/motion-templates": "
|
|
66
|
-
"@anvpx/motion-themes": "
|
|
63
|
+
"@anvpx/motion-assets": "workspace:*",
|
|
64
|
+
"@anvpx/motion-audio": "workspace:*",
|
|
65
|
+
"@anvpx/motion-build": "workspace:*",
|
|
66
|
+
"@anvpx/motion-cli": "workspace:*",
|
|
67
|
+
"@anvpx/motion-scenes": "workspace:*",
|
|
68
|
+
"@anvpx/motion-schema": "workspace:*",
|
|
69
|
+
"@anvpx/motion-templates": "workspace:*",
|
|
70
|
+
"@anvpx/motion-themes": "workspace:*",
|
|
67
71
|
"hyperframes": "0.8.212",
|
|
68
72
|
"postprocessing": "6.39.5",
|
|
69
73
|
"three": "0.186.0",
|
|
70
74
|
"zod": "4.6.7"
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
+
"author": {
|
|
3
|
+
"name": "anvpx",
|
|
4
|
+
"url": "https://www.npmjs.com/package/@anvpx/motion"
|
|
5
|
+
},
|
|
2
6
|
"description": "Brief-to-approved video via the pinned motion-kit CLI: storyboard, preview, gated render.",
|
|
7
|
+
"homepage": "https://www.npmjs.com/package/@anvpx/motion",
|
|
8
|
+
"icon": "./icon.png",
|
|
9
|
+
"keywords": ["video", "motion-graphics", "storyboard", "explainer", "render"],
|
|
10
|
+
"license": "MIT",
|
|
3
11
|
"name": "motion-kit",
|
|
4
|
-
"
|
|
12
|
+
"repository": "https://www.npmjs.com/package/@anvpx/motion",
|
|
13
|
+
"version": "0.1.52"
|
|
5
14
|
}
|
|
@@ -1,39 +1,54 @@
|
|
|
1
1
|
# motion-kit Claude Code plugin
|
|
2
2
|
|
|
3
|
-
Plugin root: `plugins/motion-kit
|
|
4
|
-
folder
|
|
5
|
-
|
|
3
|
+
Plugin root: `plugins/motion-kit/`. `npx -y @anvpx/motion@0.1.52 plugin install` copies
|
|
4
|
+
this exact folder; a Claude Code user installs it from a marketplace instead.
|
|
5
|
+
|
|
6
|
+
## Install
|
|
7
|
+
|
|
8
|
+
From a checkout of the motion-kit source, one command adds the marketplace and installs the
|
|
9
|
+
plugin:
|
|
10
|
+
|
|
11
|
+
```text
|
|
12
|
+
claude plugin install motion-kit --marketplace <path to the checkout>
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Inside a session the same thing is two commands:
|
|
16
|
+
|
|
17
|
+
```text
|
|
18
|
+
/plugin marketplace add <path to the checkout>
|
|
19
|
+
/plugin install motion-kit@motion-kit
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Without a marketplace, for one session:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
npx -y @anvpx/motion@0.1.52 plugin install --out ./motion-kit-plugin
|
|
26
|
+
claude --plugin-dir ./motion-kit-plugin
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
`plugin install` verifies `skills/motion-kit/SKILL.md` sha256 matches after the copy.
|
|
6
30
|
|
|
7
31
|
## Layout
|
|
8
32
|
|
|
9
|
-
- `.claude-plugin/plugin.json` — manifest
|
|
10
|
-
version tracks `@anvpx/motion`).
|
|
33
|
+
- `.claude-plugin/plugin.json` — manifest; version tracks `@anvpx/motion`.
|
|
11
34
|
- `commands/mk-new.md`, `mk-draft.md`, `mk-render.md` — thin wrappers. Every step
|
|
12
|
-
calls `npx -y @anvpx/motion@0.1.
|
|
35
|
+
calls `npx -y @anvpx/motion@0.1.52` (pinned; never unpinned `npx`).
|
|
13
36
|
Surface as `/motion-kit:mk-new`, `/motion-kit:mk-draft`, `/motion-kit:mk-render`.
|
|
14
37
|
- `skills/motion-kit/SKILL.md` — generated from the canonical skill by the
|
|
15
38
|
scaffold; do not edit it here.
|
|
16
39
|
- `skills/motion-kit/references/` — generated from the canonical reference set,
|
|
17
40
|
so every `references/*.md` link resolves after install.
|
|
41
|
+
- `icon.png` — 512×512 listing icon.
|
|
18
42
|
|
|
19
|
-
##
|
|
20
|
-
|
|
21
|
-
The plugin's `.claude-plugin/`, `commands/` and this README are hand-maintained.
|
|
22
|
-
The `skills/motion-kit/` tree is generated. Edit the canonical skill and run
|
|
23
|
-
`pnpm scaffold`; `pnpm scaffold:check` fails on drift. The same scaffold
|
|
24
|
-
generates the core package's `skills/` and `plugins/` trees.
|
|
25
|
-
|
|
26
|
-
## Install
|
|
43
|
+
## Why there is no MCP server here
|
|
27
44
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
45
|
+
Claude Code has a shell, so the skill and the commands run `mk` directly. The MCP
|
|
46
|
+
server exists for Claude Desktop, which has none: it is a separate `.mcpb` that
|
|
47
|
+
`mk desktop` writes out. One artifact per host, deliberately.
|
|
31
48
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
## Desktop (separate track)
|
|
49
|
+
## Source ownership
|
|
35
50
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
51
|
+
The plugin's `.claude-plugin/`, `commands/`, `icon.png` and this README are
|
|
52
|
+
hand-maintained. The `skills/motion-kit/` tree is generated. Edit the canonical
|
|
53
|
+
skill and run `pnpm scaffold`; `pnpm scaffold:check` fails on drift. The same
|
|
54
|
+
scaffold generates the core package's `skills/` and `plugins/` trees.
|
|
@@ -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.52 preview storyboard.json
|
|
9
|
+
npx -y @anvpx/motion@0.1.52 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.52 template list --for "<one-line brief>"
|
|
9
|
+
npx -y @anvpx/motion@0.1.52 template show <template>/<blueprint>
|
|
10
|
+
npx -y @anvpx/motion@0.1.52 new <template>/<blueprint> --set k=v ... --out storyboard.json
|
|
11
|
+
npx -y @anvpx/motion@0.1.52 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.52 render storyboard.json --gated --verify
|
|
9
|
+
npx -y @anvpx/motion@0.1.52 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
|
|
Binary file
|
|
@@ -6,15 +6,24 @@ 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.52`. 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
13
|
1. `mk doctor` once; optional voice rows may be missing, required rows are not.
|
|
14
|
-
2. Extract supplied facts and constraints; ask only material gaps (max 3,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
2. Extract supplied facts and constraints; ask only material gaps (max 3, defaults). Complete brief: no questionnaire (`references/intake.md`). Thin ask: amplify first (`references/amplify.md`), full card in `direction.md` (## Amplification) or `amplify-card.md`, outline = <= 200-word summary.
|
|
15
|
+
Thin-ask mini-card (inline; weak models never lazy-load, so decide here):
|
|
16
|
+
```text
|
|
17
|
+
= subject <user words> / + function <object|quantity|product|process>
|
|
18
|
+
+ world+light+camera+material <one line each>
|
|
19
|
+
+ hero <one moment+sec> / + exclusions <3 not used>
|
|
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`.
|
|
18
27
|
|
|
19
28
|
## Read when
|
|
20
29
|
|
|
@@ -28,21 +37,21 @@ allowed-tools: Bash(mk:*) Bash(npx:*) Read Write
|
|
|
28
37
|
| `references/worked-example.md` | first build; the complete loop and output shapes |
|
|
29
38
|
| `references/free-storyboard.md` | direct route: shape and write the board |
|
|
30
39
|
| `references/storyboard-json.md` | field shapes, overlays, assets, or decoding a validation error |
|
|
31
|
-
| `references/density.md` |
|
|
32
|
-
| `references/scene-recipes.md` |
|
|
33
|
-
| `references/patching.md` |
|
|
40
|
+
| `references/density.md` | thin frame, text-heavy board, or long cut |
|
|
41
|
+
| `references/scene-recipes.md` | type for a beat and prop shape; recipes (short-form/vertical, `stair`, whiteboard, mechanism) |
|
|
42
|
+
| `references/patching.md` | edit after first write, or patch flag refusal |
|
|
34
43
|
| `references/quality-bar.md` | judging the preview and what to say before asking |
|
|
35
|
-
| `references/common-mistakes.md` |
|
|
36
|
-
|
|
44
|
+
| `references/common-mistakes.md` | command refuses, or flag/field in doubt |
|
|
45
|
+
| `references/index.md` | full catalog when unsure which reference to load |
|
|
37
46
|
## Rules
|
|
38
47
|
|
|
39
|
-
1. Never render without the user's explicit yes.
|
|
40
|
-
2. Show `contact.png` to the user
|
|
41
|
-
3. Commands are
|
|
42
|
-
4. After
|
|
43
|
-
5. Props
|
|
44
|
-
6. Packs
|
|
45
|
-
7. Report one line
|
|
48
|
+
1. Never render without the user's explicit yes. Always pass `--gated`; exit 4 means "ask", not "error".
|
|
49
|
+
2. Show `contact.png` to the user, give `clip.mp4`, say what is not previewed (from `preview.json`: `totalSec`, `continuity`, scenes with no still). Ask quotes `continuity` + `totalSec`; `continuity: warn`: fix before asking.
|
|
50
|
+
3. Commands are authority: `mk catalog`, `mk catalog <type>`, `mk template list`, `mk template show`, `mk <command> --help`. Never invent type, prop, flag, theme, duration or number.
|
|
51
|
+
4. After first write use `mk patch`, `mk scene add|remove|move`, `mk fit`; never hand-edit JSON. Any edit re-arms approval: preview and ask again.
|
|
52
|
+
5. 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. Name unsupported effects.
|
|
53
|
+
6. Packs optional: `packs/INDEX.md` beside CLI, <=1200-byte excerpt max; never inline/persist refs.
|
|
54
|
+
7. Report one line; never claim quality from a hash. On Windows use JSON files (`--ops`, `--slots`).
|
|
46
55
|
|
|
47
56
|
## Stages
|
|
48
57
|
|
|
@@ -50,7 +59,7 @@ allowed-tools: Bash(mk:*) Bash(npx:*) Read Write
|
|
|
50
59
|
| --- | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------- |
|
|
51
60
|
| 1 | Intake | topic, audience, length, channel, brand, tone; max 3 questions (`references/intake.md`) | 5-line note |
|
|
52
61
|
| 2 | Brief | <= 8 facts, <= 3 sourced numbers, one arc; `brief.md` | numbers sourced |
|
|
53
|
-
| 3 | Direction | `references/direction.md`: concept, composition, type, motion, sound and divergence; name
|
|
62
|
+
| 3 | Direction | `references/direction.md`: concept, composition, type, motion, sound and divergence; name rejected house habits and one material element per act; then choose realization. Template lookup optional, after design | direction + route justified |
|
|
54
63
|
| 4 | Outline | <= 200 words (`references/outline.md`); stop for "go" unless "just do it" | user confirms |
|
|
55
64
|
| 5 | Instantiate | template: `mk new <t>/<bp> ...`; direct: `references/free-storyboard.md`; authored: `mk scene new` (`references/authoring-scene.md`); assets: `mk assets import` + `--assets`/`--ledger` | 0 errors; build exit 0 |
|
|
56
65
|
| 6 | Fix | smallest `mk patch`; max 3 rounds; same error twice: `mk catalog <type>` + `references/troubleshooting.md`; unknown theme: built-in or `themes/<name>.json` | 0 errors, warnings read |
|
|
@@ -61,19 +70,16 @@ allowed-tools: Bash(mk:*) Bash(npx:*) Read Write
|
|
|
61
70
|
|
|
62
71
|
## Choosing a route
|
|
63
72
|
|
|
64
|
-
Design first,
|
|
73
|
+
Design first, choose template, direct (`free-storyboard.md`) or authored by fit. Catalog defines props, not the idea. Name route + limits. Reuse cites direction line + `mk catalog <type>` check.
|
|
65
74
|
|
|
66
75
|
## How long should it be
|
|
67
76
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
and a recurring motif. A 20–75 s short is an explicit choice, not the default.
|
|
71
|
-
Use the user's length when given. `mk fit --seconds N` adjusts timing, not depth: add beats with `mk scene add`
|
|
72
|
-
rather than stretching into dead time.
|
|
77
|
+
Default **3–5 minutes** for a professional film; read `references/longform.md`. A 20–75 s short is explicit (short/reel/vertical/social/<N> s); "clip" alone is not short.
|
|
78
|
+
Use given length. `mk fit --seconds N` adjusts timing, not depth; add beats with `mk scene add`.
|
|
73
79
|
|
|
74
80
|
## Voice, music and captions (opt-in)
|
|
75
81
|
|
|
76
|
-
`mk voice --preset <id>` -> `mk captions` -> `mk patch --ops`;
|
|
82
|
+
`mk voice --preset <id>` -> `mk captions <manifest> --storyboard storyboard.json --out ops.json` -> `mk patch --ops ops.json`; pass identical `--audio` (+ `--music*` if used) to preview, approve, render. Write numbers as words (`01` -> "zero one"). Music opt-in: mood bed from `music/catalog.json`, not `bed-full.wav`. For narration/short-form, produce timed captions unless declined; preview again after ops. Details: `references/voice.md`.
|
|
77
83
|
|
|
78
84
|
## Failures
|
|
79
85
|
|