Quickstart
Prerequisites: Node.js 24+, npm 10+
1. Scaffold a project
bash
npx @slide-spec/cli initThe interactive prompts walk you through project setup: name, title, dates, and optional connector configuration.
This creates a common content/ layout with:
site.yaml- global branding, navigation, linkspresentations/index.yaml- presentation registry with explicit file pathspresentations/<id>/presentation.yaml- slides and contentpresentations/<id>/generated.yaml- generated data (metrics, releases, contributors)
The scaffold uses a conventional folder layout, but the registry points to presentation files explicitly.
2. Edit your content
Start with site.yaml (branding and links), then presentations/index.yaml (listing metadata and file paths), then the presentation.yaml for your deck.
See the concepts page for an overview of how these files work together, or the schema reference for every field.
3. Validate
bash
npx @slide-spec/cli validate4. Build
bash
npx @slide-spec/cli buildOutput goes to ./dist/ - static HTML, CSS, and JS.
5. Preview locally
bash
npx @slide-spec/cli serve6. (Optional) Connect external data
Slide Spec supports connectors that populate generated.yaml with live data. See connectors for available options.
Next steps
- Concepts - understand how Slide Spec projects work
- Schema reference - every YAML file and field
- Templates - the available slide layouts
- Examples - real-world project walkthroughs