All guides
No guide matches your search.
Theme development
Review, build or debug classic, child, hybrid and block themes. Covers templates, theme.json, patterns and moving a classic theme to blocks.
On this page
When to use it
Use this skill when a theme renders the wrong template, ignores your styles, or needs to move from classic to block. It covers classic, child, hybrid and block themes: the template hierarchy, Site Editor overrides, theme.json versions and style layers, patterns and template parts, fonts and images.
It does not cover block internals or visual redesign. Those go to other skills.
Where it stops
- Block registration,
save, deprecations and the Interactivity API:wp-devkit-block-development. - Visual redesign, user journeys and tokens as design decisions:
wp-devkit-ui-design. - Plugin-owned behavior such as custom post types, shortcodes and integrations: keep it out of presentation changes.
- Escaping and authorization in depth:
wp-devkit-security-review. WCAG conformance:wp-devkit-wcag-review.
Run a review in Claude
With the plugin loaded, start a read-only review of a bounded target:
/wp-devkit:theme-review <target-path>The short form /wp-devkit:theme runs a quick scan.
Run a review in Codex, ChatGPT or Antigravity
Name the installed skill and keep the request small. Replace the target with your files or journey.
$wp-devkit-theme-development
Review the target without editing files.
Read the project instructions and the skill's engineering contract first.
Separate confirmed findings from candidates and state the evidence and checks you could not run.The engineering contract is the set of rules every DevKit skill follows. It defines how findings are classified and how severe each one is.
Reference files
The agent loads only the file that matches your task.
template-ownership-and-hierarchy.md: used to find which template serves a request and whether the Site Editor has a saved override.theme-json-and-styles.md: used fortheme.json, style layers, fonts and style variations.patterns-assets-and-i18n.md: used for patterns, template parts, scripts and styles, images, translation and RTL.classic-to-block-migration.md: used when you convert a classic or hybrid theme to a block theme.theme-development-workbook.md: used to triage symptoms, work through example decisions, recognize harmless look-alikes and choose verification steps.
How a review runs
- The agent finds the theme type and traces the request through the template hierarchy. It checks for database overrides before it blames a file (
template-ownership-and-hierarchy.md). - It resolves styles across the core, theme, child and user layers. It also checks that the
theme.jsonversion and features match the oldest WordPress release you support (theme-json-and-styles.md). - It inspects patterns, template parts, enqueueing, images, fonts, translation and right-to-left (RTL) layout (
patterns-assets-and-i18n.md). Plugin-owned behavior stays out of the theme. - For a conversion, it lists templates, menus, widgets, shortcodes, Customizer settings and URLs. Each one gets a destination, and the plan keeps a way to roll back (
classic-to-block-migration.md). - It uses rendered evidence: screens at several widths, keyboard use, long translations and RTL. It reports what it could not observe. It does not edit templates or saved user styles during a review.
For the decision table, symptoms, false positives, severity and acceptance checks, the agent reads theme-development-workbook.md.
What you get back
A review starts with the result and the scope it covered. Each confirmed concern lists the file and line, who is affected, what triggers it, the path that reaches it, the impact, the confidence, a minimal fix and a regression check. Candidates and items that are not established appear in a separate list.
An implementation report names the layer that owns the change, the files changed, the commands run with their exit codes, the widths and locales checked, the checks that were not run, and a rollback. A pass at one width says nothing about other widths, locales, plugins or saved user styles.
Note
Reviews are read-only. A clean review covers only the inspected scope and does not certify the project. Ask for implementation as a separate, bounded task with a regression check.
Where to go next
Use review to fix to turn findings into a bounded change. Use Doctor and reports for environment and evidence tooling.
Was this page helpful?