Capability
Other metadata
- compatibility
- Targets WordPress 6.9+ (PHP 7.2.24+). Filesystem-based agent with bash + node. Some workflows require WP-CLI.
Topics
- wordpress
- block-themes
- theme-json
- site-editor
- templates
- patterns
- style-variations
- php
What it does
Guides WordPress block theme development with theme.json editing, templates, template parts, patterns, and style variations for WordPress 6.9+. Use this when building or debugging block themes, including style hierarchy troubleshooting and Site Editor issues.
Generated from the current SKILL.md.
Frequently asked
Does this skill work with WordPress versions before 6.9?
No. The skill targets WordPress 6.9+ (PHP 7.2.24+). Block theme features and theme.json schema versions vary significantly across core releases, so earlier versions are not supported.
Can I use this skill to convert a classic theme to a block theme?
Yes. The skill includes guidance in `references/creating-new-block-theme.md` for converting classic themes, though it recommends starting from a known-good scaffold or exporting from a WP environment rather than building from scratch.
What should I do if theme.json changes don't appear in the Site Editor or frontend?
Start with `references/debugging.md`. Common causes are editing the wrong theme root, invalid theme.json syntax, user customizations overriding theme defaults, or caching. The skill covers the style hierarchy (core defaults → theme.json → child theme → user customizations) to help diagnose which layer is controlling the output.
Does this skill handle block theme assets like fonts and custom CSS builds?
The skill covers theme.json, templates, patterns, and style variations but expects you to run the repo's own build/lint scripts if custom assets (fonts, compiled CSS/JS) are involved.
Generated from the current SKILL.md. These answers refresh after source changes.