Skill Detail

WordPress Block Theme Scaffolder

Generates complete WordPress block theme structures using theme.json v3, block patterns via register_block_pattern(), and template parts. Produces FSE-ready themes with proper style variations, typography presets, and wp_enqueue_block_editor_assets integration.

WordPress & CMSClaude Code
WordPress & CMS Claude Code Security Reviewed
Tool match: wordpress
INSTALL WITH ANY AGENT
npx skills add agentskillexchange/skills --skill wordpress-block-theme-scaffolder Copy
Works best when you want a reusable capability, not another fragile one-off prompt.
At a glance
Author
WordPress
Last updated
Mar 24, 2026
Quick brief

WordPress Block Theme Scaffolder automates the creation of Full Site Editing themes by generating the complete directory structure: templates, parts, patterns, and a fully configured theme.json v3 manifest. It produces valid theme.json with typography, color palette, spacing, and layout settings following WordPress core specifications.

How it works

What this skill actually does

Block patterns are created using register_block_pattern() with proper categories assigned via register_block_pattern_category(). Template parts for headers, footers, and sidebars are generated as HTML files in the parts directory with correct template part area declarations. The scaffolder includes style variation JSON files for alternative theme appearances.

Build tooling is configured through @wordpress/scripts with wp-scripts build and wp-scripts start commands. Editor assets load via wp_enqueue_block_editor_assets, and frontend styles use wp_enqueue_block_style for per-block stylesheets. The output includes a functions.php with proper after_setup_theme hooks, textdomain loading, and block style registration.