Agent skill

WP Theme Development Skill: Review Block and Classic Themes

The wp-theme-development skill has an AI coding agent review WordPress block and classic theme code, from theme.json and templates to template parts, global styles and migration.

Install
git submodule add https://github.com/jorgerosal/wordpress-skills.git .claude/plugins/wordpress-skills
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the wp-theme-development skill?

The wp-theme-development skill is a SKILL.md in jorgerosal/wordpress-skills for WordPress 6.6+ theme review. Your AI coding agent detects the theme type, checks theme.json, templates, template parts and block patterns, and reports findings by file with CRITICAL, WARNING and INFO severity.

The wp-theme-development skill is a WordPress theme code review workflow for WordPress 6.6+, with a primary focus on block themes and secondary coverage of classic themes for migration guidance.

Its core principle is that block themes use HTML templates with block markup and theme.json for global settings and styles. The skill treats theme.json v3 as the single source of truth for design configuration.

What the review checks

  • theme.json structure and version, including the v3 defaults for font sizes and spacing sizes.
  • Block template hierarchy in templates/, and classic hierarchy in PHP files.
  • Template parts in parts/, registered in theme.json with a header, footer or uncategorized area.
  • Global styles, style variations, block patterns in themes and child theme compatibility.
  • Hardcoded styles in block templates and style.css.

How findings are reported

The skill auto-detects the theme type as block, classic, hybrid, child or WordPress.org, and adjusts guidance accordingly. Findings are grouped by file with line numbers, CRITICAL, WARNING or INFO severity labels, and BAD and GOOD code pairs.

Who the wp-theme-development skill is for

Best for

  • Reviewing a block theme's theme.json, HTML templates and template parts before shipping.
  • Assessing a classic theme for migration to a block theme.
  • Checking WordPress.org theme submission readiness against Theme Check compliance.

Not for

  • Running one evidence-led review across performance, accessibility, SEO and best practices with a re-check step, which the web-quality-audit skill covers.
  • Auditing an interface against WCAG 2.2 with a severity rating, a criterion and remediation steps, which the accessibility-audit skill covers.
  • Critiquing wireframes and mockups with a five-second test and severity levels, which the design-critiquer skill covers.