wp-block-themes

Triage WordPress block theme roots and validate theme.json structure.

14|1|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/wpgaurav/WordPress-skills --skill wp-block-themes-wpgaurav
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wp-block-themes
Source: https://github.com/wpgaurav/WordPress-skills/tree/main/skills/wordpress/wp-block-themes
Command: npx skills add https://github.com/wpgaurav/WordPress-skills --skill wp-block-themes-wpgaurav

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

WordPress theme developers often struggle to initialize and verify block theme infrastructure, including theme.json, templates, parts, patterns, and Site Editor interactions across themes.

Core Features & Use Cases

  • Triage theme roots and validate directory structure to identify theme roots and ensure proper layout.
  • Validate theme.json (settings, styles) and ensure correct templates, parts, patterns, and style variations are loaded.
  • Debug Site Editor behavior and style hierarchy, including overrides and caching to ensure visual parity with theme.json definitions.
  • Use the provided detection scripts to automate discovery when multiple themes exist and scope changes safely.

Quick Start

Run the triage script against your WordPress theme root to locate the theme and begin troubleshooting.

Frequently Asked Questions about wp-block-themes

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate theme.json settings and styles for a WordPress block theme?

You can validate theme.json by running a triage script against your WordPress theme root to locate the theme and verify its directory structure. This ensures your block theme's settings, styles, templates, and parts are loaded correctly.

Why does my Site Editor display styles that override my theme.json definitions?

Site Editor style overrides and caching issues cause visual discrepancies with theme.json definitions. You can debug this behavior by running triage scripts to locate the theme root and applying safe, incremental changes to troubleshoot the style hierarchy.

What is the best way to troubleshoot block theme template parts and patterns across multiple themes?

The best way to troubleshoot template parts and patterns across multiple themes is using an automated detection script. This script discovers existing theme roots, validates directory structures, and scopes changes safely across your block themes.

How do I locate the correct theme root to start debugging a WordPress block theme?

You locate the correct theme root by running the provided triage script against your WordPress installation. This automates discovery when multiple themes exist, validating the directory structure so you can begin troubleshooting block themes safely.

Can I apply incremental changes to block themes without breaking the Site Editor behavior?

Yes, you can apply safe, incremental changes by using the provided detection scripts to scope modifications. This approach validates theme.json and directory structure while debugging Site Editor behavior and maintaining visual parity with your theme definitions.