Scaffold a classic theme
create_classic_themeScaffold a complete classic PHP theme with Tailwind styling as a draft, including templates and design tokens for predictable, readable output.
Instructions
Scaffold a complete classic PHP theme styled with Tailwind, as a draft. Classic templates with utility classes are far more reliable to generate and to review than nested block markup — the output is readable, diffable and predictable. The scaffold includes style.css, functions.php, header/footer, index, single, page, archive, 404, search, comments, a theme.css holding the design tokens (colors, fonts, radii) that every template reuses, and a Tailwind CDN setup wired to those tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Theme display name, e.g. "Northwind". | |
| slug | No | Theme directory name. Derived from the name if omitted. | |
| author | No | User ID of the author. | wpxmcp |
| tokens | No | Design tokens written into theme.css as CSS custom properties and reused across every template. | |
| site_id | No | Which configured WordPress site to act on. Optional — with a single site configured it is used automatically; with several, the default site is used unless you name one. Run list_sites for valid ids. | |
| as_draft | No | Create it as an editable draft rather than a directly installed theme. Keep true. | |
| description | No | Theme description for style.css. |