Scaffold a Project
The scaffolding script creates a project structure with spec templates ready to go. No dependencies—just Python.
Quick start
Section titled “Quick start”curl -O https://waveform-analytics.github.io/spec-driven-site/scaffold.pypython scaffold.pyThe script will ask for:
- Project name — Used for the directory and in generated files
- One-line description — What the project does
- Project type — Affects which templates are included:
- Data pipeline — Adds data flow architecture template
- Analysis tool — General structure
- Algorithm implementation — Adds algorithm and validation templates
- General — Basic structure
- AI tool — Creates the appropriate config file:
- Claude Code →
.claude/CLAUDE.md - Cursor →
.cursorrules - GitHub Copilot →
.github/copilot-instructions.md - Other/None → Skips AI config
- Claude Code →
What you get
Section titled “What you get”Directoryyour-project/
Directoryspecs/
- spec-format.md How to write specs (reference this!)
- 00-overview.md Your project overview (start here)
Directory01-requirements/
- functional.md Requirements template
Directory02-architecture/
- data-flow.md If you chose “Data pipeline”
Directory03-implementation/
- …
Directory04-algorithms/ If you chose “Algorithm implementation”
- algorithm-template.md
Directory05-validation/ If you chose “Algorithm implementation”
- validation-plan.md
Directory99-decisions/
- adr-000-template.md Decision record template
Directorysrc/
- …
Directorytests/
- …
- .claude/CLAUDE.md If you chose Claude Code
- CONTRIBUTING.md
- README.md
The templates
Section titled “The templates”Each generated file includes inline guidance explaining what to write. The guidance appears in HTML comments or bracketed placeholders:
<!--This is your project's overview spec. It should answer:- What problem does this project solve?- Who is it for?- What are the key capabilities?
Delete these instructions once you've written the overview.-->
## Problem Statement
[What problem are you solving? Why does it matter?]Fill in the brackets, delete the comments as you go.
After scaffolding
Section titled “After scaffolding”-
cd your-project -
Open
specs/00-overview.mdand describe your project -
Read
specs/spec-format.mdto understand how specs work here -
Run
git initto start version control -
Start a conversation with your AI assistant about requirements
Next step
Section titled “Next step”Once you have a project, write your first spec.