The toolbox
You will come back to a handful of commands again and again. None of them needs running now: this is the list to keep nearby. Every command takes --help.
Make files
puzzle generate writes a starter view, component, layout or model in the right folder, named the right way. Views and components are PascalCase, models are lowercase and singular. puzzle g is the short form.
Add things
puzzle add piece copies ready-made components from Puzzle Pieces into your app, with anything they depend on. They are plain .pzl files you own and can change. puzzle add theme lists the colour palettes those pieces share. puzzle add skills installs the Puzzle skill, so Claude Code, Codex or Cursor writes correct Puzzle code. puzzle add tailwind wires Tailwind in, and the scaffold already has it.
Check and ship
puzzle check type-checks your scripts and the expressions in your templates (it uses the TypeScript your app installs). puzzle doctor checks the project and your toolchain. puzzle build writes the production bundle to dist/, and puzzle preview serves it the way a real host would.