WordPress Block Builder

Free Verified 368 lines By Thrivemattic Content Marketing CRO

Description

Generate valid WordPress Gutenberg block markup that passes editor validation on the first try. Covers Cover blocks, Query Loops, navigation menus, template parts, and theme.json design tokens — all deployable via WP-CLI. Includes attribute-to-HTML mapping rules, anti-patterns that break validation, and layout width control for breaking out of theme constraints.

How It Works

WordPress Block Builder — Key Components Block Markup JSON + HTML contract Attribute mapping Validation rules has-text-color class Cover Block Background images Dim ratio overlay isDark/isLight modes Plain img (not wp:image) Query Loop Blog card grids Post template layout Pagination controls inherit: true vs false Navigation wp_navigation posts Menu ref by ID Template parts Header/Footer areas Layout & Width alignfull breakout contentSize control Constrained vs Flex WP-CLI Deploy wp post create/update Docker -u 33:33 theme.json tokens Anti-Patterns wp:image in Cover Missing CSS classes HTML comments Click to enlarge

What Claude Learns

  • Block Markup Syntax
  • Cover Block Pattern
  • Query Loop Grid
  • Navigation Menus
  • Template Parts
  • Layout Width Control
  • WP-CLI Deployment
  • SEO Meta Tags
  • theme.json Tokens
  • Anti-Patterns

Installation

1. Run: npx mkt-skills install wordpress-blocks
2. Or manually copy SKILL.md to ~/.claude/skills/wordpress-blocks/SKILL.md
3. Restart Claude Code to load the skill

Use Cases

Block Markup Syntax

Cover Block Pattern

Query Loop Grid

Navigation Menus

Template Parts

Related Skills

Frequently Asked Questions

How detailed is the WordPress Block Builder skill?
WordPress Block Builder contains 368 lines of structured instructions covering 10 key areas. It provides comprehensive guidance including specific implementation patterns, not just surface-level tips.
Is WordPress Block Builder free to use?
Yes, WordPress Block Builder is completely free. You can download the SKILL.md file or copy it to your clipboard directly from the skill page.
What will Claude Code learn from this skill?
Claude Code will gain expertise in: Block Markup Syntax; Cover Block Pattern; Query Loop Grid; and 7 more areas.
Download SKILL.md GitHub