create-substrate
v0.1.6
Published
Scaffold a Substrate creative tool playground
Maintainers
Readme
create-substrate
Scaffold a Substrate playground: a Vite + React project with a creative surface, the toolbar and panels around it, and agent skills pre-installed.
npx create-substrateYou are asked for a project name, a surface type and a package manager. Pass flags to skip the prompts:
npx create-substrate my-editor --surface canvas-2d --pm pnpmSurfaces
| --surface | For |
| --- | --- |
| canvas-2d | Shape editors, whiteboards, diagram tools |
| 3d-scene | Product viewers, architectural tools, shader playgrounds |
| animation | Keyframe editors, motion graphics, easing explorers |
| node-editor | Visual programming, shader graphs, data pipelines |
| data-vis | Charts, dashboards, analytics explorers |
| image-gen | AI image tools, prompt-driven workflows |
| blank | Scaffold only; bring your own surface |
Options
| Flag | Description |
| --- | --- |
| --surface <type> | Surface type from the table above |
| --pm <manager> | Package manager: npm, pnpm or bun |
| --skip-install | Skip dependency installation |
| --skip-git | Don't initialise a git repository |
What you get
- A starter page for the chosen surface, built from Substrate components copied into
src/components/substrate/ CLAUDE.mdand.claude/skills/so coding agents know which components exist and how to compose them.mcp.jsonregistering the Substrate MCP server@substrate-kit/clias a dev dependency, for adding more components later:
npx substrate-kit add colour-picker timelineTo add Substrate to an existing project instead, run npx @substrate-kit/cli init.
Docs: substrate.georgedrury.co.uk/docs/create-substrate
Licence
MIT
