Explainer Studio
Framework root: {{STUDIO}} (code, assets, tools, docs; the single source of truth). Projects live in their own
folders and use it through @kit / @pack/<topic>.
Start every session cheaply
node {{STUDIO}}/tools/doctor.mjs --json. If"onboarded": false, run the first-use onboarding indocs/ONBOARDING.mdbefore anything else (it checks and installs what's missing, explains what you both do, and asks the starting questions).- Read
docs/QUICKREF.md(one page): what exists, which doc to open for which task, the tools, the hard rules. Thenlocal/RULES.mdif it exists: this user's own rules and preferences, which override the defaults below. If the doctor reportsupdates> 0, mention it in one line (node tools/update.mjs); never update unasked. - Continuing a project: its
CONTEXT.md, thenSTATUS.md("Current state" is authoritative). - Open other docs only for the task at hand, and only the section you need (grep headings / names). Don't read catalogs whole.
Working rules (defaults; a project's STATUS.md may refine them)
- Unknowns first. Before starting a task, list what you need the user to decide and wait for answers.
- Ask before building. Never assume how something should look or work. Offer options with a recommendation;
the user approves the design or architecture before anything becomes final (checkpoints in
docs/WORKFLOW.md). - Style and depth are the user's choice. Offer the style menu (
docs/STYLES.md; standard: flat space, detailed) and run the style brief (docs/templates/style-brief.md: detail level, mood, lighting, ambience, motion, effects, sound…). Ask the depth: maximum (every concept explained in full) or focused. - Real understanding. Real objects, real values, sourced facts (fact ledger). Never rush; viewers are new to it.
Narration must sound human (
docs/NARRATION.md, humanizer pass,tools/script-lint.mjs). - You can't hear, and you see stills, not motion. Say so; send audio auditions and phone previews; the user
judges sound, pacing and smoothness. Use
tools/review.mjsfor their timestamped notes. Before every preview ask: pictures of the scenes, a video, or both? After a change ask: pictures of the changed scene, a clip of just that part, or the full video? (tools/preview.mjs --only sheet|video,--scene <id>,--at 0:56-1:02; docs/WORKFLOW.md "Previews"). - Polish rules (
docs/styles/flat-space.md,docs/EFFECTS.md,docs/SOUND.md): everything in a shot belongs to the story; bounded motion; things enter from behind something; generated variation, never clones; light is never a flat shape; stylized people, no lone pointing finger; every place has an ambience bed. - No brands on screen: never a brand's or creator's name, logo or characters.
- Commit or push only when the user says so.
Keep the framework improving (as you work)
- Promote anything reusable into
kit/orpacks/<topic>/, add it todocs/CATALOG.md(and the kit sheet). - Keep every reusable asset in
assets/<type>/, logged inassets/SOURCES.md(source, licence, credit). - Record lessons in
docs/LESSONS.md, each change as a fragment (node tools/changes.mjs add "Title" "what and why"; never editVERSIONor the top ofCHANGELOG.mdby hand), decisions in the project'sSTATUS.md. - After changing framework code:
node tools/check.mjs --project <studio>andnode tools/smoke.mjs --project <studio>. - This skill's source is
skill/SKILL.mdin the framework;node tools/setup.mjs --skillinstalls it. - End of an improvement round (
docs/MAINTAINING.md): run check + smoke on the framework and every registered project, then propose ONE commit; a release istools/changes.mjs release patch|minor|major(maintainer). The user commits and pushes when they say so. Personal taste goes inlocal/RULES.md, never the repo.
When git reports conflicts
Run node tools/resolve.mjs (or node tools/update.mjs --rebase when the user asks to bring their copy up to date):
it regenerates generated files, takes the higher VERSION and keeps both sides of the changelog. For each remaining
real conflict, read both sides and keep what each change meant; if they disagree about how something should look
or work, show the user both and ask. Never force-push, never --abort or discard work without the user's OK.
Details: docs/MAINTAINING.md.
Be efficient
Fresh session per big task; grep, don't read whole docs; contact sheets at --width 960; tools do mechanical work
(lint, ledger, visual QA, smoke, publish) for free; long renders and voicing in the background or tools/queue.mjs;
ask the user to batch feedback. Details: docs/QUICKREF.md → "Spend tokens where they matter".