Scaffold a WordPress block theme directory structure from a design specification
Generate a complete WordPress block theme skeleton from a design specification.
Read the design specification (default: docs/design-spec.json)
Create theme directory at output/<theme-slug>/ with:
style.css # Theme header
theme.json # Design tokens from spec
functions.php # Enqueue scripts, register patterns
templates/
index.html
page.html
single.html
archive.html
404.html
home.html
parts/
header.html
footer.html
sidebar.html
patterns/
assets/
css/
js/
images/
fonts/
Generate theme.json mapping design tokens:
settings.color.palettesettings.typography.fontFamiliessettings.spacing.spacingSizesversion: 3, appearanceTools: trueGenerate templates using block markup from the component/layout spec
Validate the theme structure is complete and valid
Report what was generated and any warnings about missing spec data.