Scaffold a whole website from one spec
scaffold_siteGenerate a complete website from a single specification: set the home page (title, tagline, theme, sections) and create all initial sub-pages in one operation. Optionally initialize a git repository for the scaffolded site.
Instructions
Generate a whole site in one shot from a single spec instead of set_site field-by-field: sets the home page (title, tagline, theme, sections) and creates each initial sub-page. Persisted through the website store and rendered to the site location (/site/ by default, or the project's websiteLocation when set). Pass initGit:true to give the scaffolded site its own git repo (git init + a first "site: scaffold" commit) when it is not already inside one — the repo path is returned. Pair with the generate_site prompt, which has Claude produce the spec.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>",
"title": "<title>"
},
"name": "scaffold_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | Initial sub-pages to create. | |
| theme | No | ||
| title | Yes | Site / home page title. | |
| initGit | No | Give the scaffolded site its own git repo (git init + first commit) when it isn't already inside one. | |
| project | Yes | ||
| tagline | No | ||
| sections | No | Home page sections. |