dreamboard
Installation
SKILL.md
Dreamboard CLI
Goal
Create and iterate on a Dreamboard game locally, then sync authored changes, compile, run, and test against the current reducer-native scaffold.
Prereqs
- Dreamboard CLI installed and available as
dreamboardInstall withnpm install -g dreamboard - Authenticated via
dreamboard login
Source Of Truth
Use the generated reference files in references/ as the detailed reference
set. They are synced from the public docs with
pnpm --dir apps/dreamboard-cli run sync:skill-docs.
- Quickstart: references/quickstart.md
- Tutorial: references/building-your-first-game.md
- Rules: references/rule-authoring.md
- Manifest: references/manifest-authoring.md
- Reducer: references/reducer.md
- Game interface: references/game-interface.md
- Testing: references/testing.md
Current Scaffold
The current scaffold centers on these files:
- authored source:
rule.md,manifest.json - reducer:
app/game-contract.ts,app/game.ts,app/phases/*.ts,app/setup-profiles.ts - UI:
ui/App.tsx - tests:
test/bases/*.base.ts,test/scenarios/*.scenario.ts,test/testing-types.ts
Command Flow
Use the commands for different kinds of state:
dreamboard syncUpload local authored changes and advance the remote authored head. Run this after editingrule.md,manifest.json, or authored source files that should be part of the next remote build.dreamboard compileCompile the current remote authored head. Run this aftersync, or re-run it after a failed compile when you have not made new authored edits.dreamboard pullReconcile remote authored changes into the current workspace. Run this when someone else advanced the remote authored head ordreamboard statusshows authored statebehindordiverged.
Quick rule:
- edited files locally:
dreamboard syncthendreamboard compile - compile failed but you have not edited files since:
dreamboard compileagain - remote authored head moved:
dreamboard pullfirst
Workflow
Use this order by default:
- Write or revise
rule.md. - Align
manifest.jsonto the rules. - Run
dreamboard sync. - Implement reducer state, phases, actions, and views in
app/. - Implement the playable UI in
ui/App.tsx. - Run
dreamboard compile. - Generate test artifacts with
dreamboard test generate. - Run scenarios with
dreamboard test run. - Validate the local runtime with
dreamboard run.
Guardrails
manifest.jsonandrule.mdare the source of truth for scaffolding.- Run
dreamboard syncafter authored changes to keep generated files and the remote authored head in sync. dreamboard pullreconciles authored divergence into the current workspace.dreamboard compileis separate from authored sync; failed compiles do not mean the workspace needs a pull or another sync unless you changed authored files again.- Use
dreamboard statusto distinguish authored sync from compile health before deciding whether the next command should besync,compile, orpull. - Re-run
dreamboard test generateafter runtime-shape changes inmanifest.jsonorapp/. - Keep reducer-owned UI data in views; do not reintroduce the old
shared/ui-args.tspattern in new scaffolds.
Editable Surface
Edit:
rule.mdmanifest.jsonapp/game-contract.tsapp/game.tsapp/phases/*.tsapp/setup-profiles.tsui/App.tsxtest/bases/*.base.tstest/scenarios/*.scenario.ts
Do not edit generated or framework-owned files such as:
app/index.tsshared/manifest-contract.tsshared/generated/ui-contract.tsui/index.tsxtest/generated/*
Framework Feedback
Use feedback.md in the game project root to record framework issues, missing features, or workflow friction. Include reproduction steps, expected behavior, and actual behavior when possible.
Related skills