Use when developing WordPress block themes: theme.json (global settings/styles), templates and template parts, patterns, style variations, and Site Editor troubleshooting (style hierarchy, overrides, caching).
Plan a WordPress block theme for a print studio site
Start a fresh conversation.
Draft a local WordPress block theme outline for a fictional print studio. Put color and typography defaults in theme.json, choose the reusable template parts and give one event-card pattern. Include checks in the site editor and in a narrow browser without deploying.
User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗
SKILL.md
name: wp-block-themesdescription: "Use when developing WordPress block themes: theme.json (global settings/styles), templates and template parts, patterns, style variations, and Site Editor troubleshooting (style hierarchy, overrides, caching)."compatibility: "Targets WordPress 7.0+ (PHP 7.4.0+). Filesystem-based agent with bash + node. Some workflows require WP-CLI."
styles (how it looks by default): CSS-like rules for elements/blocks
Read:
references/theme-json.md
4) Templates and template parts
Templates live under templates/ and are HTML.
Template parts live under parts/ and must not be nested in subdirectories.
Read:
references/templates-and-parts.md
5) Patterns
Prefer filesystem patterns under patterns/ when you want theme-owned patterns.
Read:
references/patterns.md
6) Style variations
Style variations are JSON files under styles/. Note: once a user picks a style variation, that selection is stored in the DB, so changing the file may not “update what the user sees” automatically.
Read:
references/style-variations.md
Verification
Site Editor reflects changes where expected (Styles UI, templates, patterns).
Frontend renders with expected styles.
If styles aren’t changing, confirm whether user customizations override theme defaults.
Run the repo’s build/lint scripts if assets are involved (fonts, custom JS/CSS build).