
Wp Block Themes
wordpress/agent-skillsOfficial
Filesystem-based workflow for building WordPress block themes with theme.json, templates, patterns, and style variations.
- skills.sh installs
- 6.5K
- GitHub stars
- 2.4K
- last updated
- Aug 21, 2026
What it does
- Covers theme.json settings and styles, templates and template parts, patterns, style variations, and Site Editor troubleshooting
- Includes detection scripts (
detect_wp_project.mjs,detect_block_themes.mjs) and reference guides for each authoring area - Explains the style hierarchy so that theme.json edits overridden by user customizations are diagnosed quickly
- Designed for developers targeting WordPress 7.0+ who need to build or debug block themes
Install
$ npx -y skills add wordpress/agent-skills --skill wp-block-themes -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
WP Block Themes
When to use
Use this skill for block theme work such as:
- editing
theme.json(presets, settings, styles, per-block styles) - adding or changing templates (
templates/*.html) and template parts (parts/*.html) - adding patterns (
patterns/*.php) and controlling what appears in the inserter - adding style variations (
styles/*.json) - debugging “styles not applying” / “editor doesn’t reflect theme.json”
Inputs required
- Repo root and which theme is targeted (theme directory if multiple exist).
- Target WordPress version range (theme.json version and features vary by core version).
- Where the issue manifests: Site Editor, post editor, frontend, or all.
Procedure
0) Triage and locate block theme roots
- Run triage:
node skills/wp-project-triage/scripts/detect_wp_project.mjs
- Detect theme roots + key folders:
node skills/wp-block-themes/scripts/detect_block_themes.mjs
If multiple themes exist, pick one and scope all changes to that theme root.
1) Create a new block theme (if needed)
If you are creating a new block theme from scratch (or converting a classic theme):
Details
- Repository
- github.com/wordpress/agent-skills
- Categories
- PHP & Laravel, Frontend & UI Code
More from wordpress/agent-skills
All 17- Wordpress Router6.3K
- Wp Wpcli And Ops6.2K
- Wp Project Triage6.2K
- Wp Block Development6.1K
- Wp Playground5.3K
- Wp Phpstan5.1K
- Wp Abilities Api4.8K
- Wp Interactivity Api4.6K
- Wpds4.5K
- Blueprint4.1K
- Wp Plugin Directory Guidelines4.1K
- Wp Abilities Audit3.1K
- Wp Abilities Verify3K
- Wp Plugin Development9K
- Wp Performance7K
- Wp Rest Api6.6K
Similar to Wp Block Themes
More PHP & Laravel
wordpress-block-editor-fsebobmatnyc/claude-mpm-skills484 installsModern WordPress FSE theme and custom block development covering theme.json, HTML templates, and block.json for WordPress 6.7+.
wp-patternsWordPress/agent-skills2.7K installsGuide for creating and reviewing WordPress block patterns, covering registration, block markup, theme.json design tokens, and accessibility.
wp-block-developmentwordpress/agent-skills6.1K installsStructured workflow for building WordPress Gutenberg blocks, covering block.json, registration, rendering, and migrations.
wordpress-theme-developmentsickn33/agentic-awesome-skills195 installsStructured WordPress theme development workflow covering templates, block editor support, and WordPress 7.0 features.
shopify-liquidshopify/shopify-ai-toolkit13.1K installsThis is a comprehensive Shopify theme development skill that enforces best practices through a search-then-validate workflow. Every response must search the Liq
shopify-liquid-themesbenjaminsehl/liquid-skills4K installsShopify Liquid theme code generator with schema JSON, LiquidDoc headers, translation keys, and CSS/JS patterns.