wp-block-markup

Community

Master WordPress block markup with confidence.

Authorwpgaurav
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Developers and content editors often struggle to understand and validate how WordPress Gutenberg blocks are delimited, nested, and serialized in post_content. This skill clarifies block markup syntax, the delimiter conventions, and how block attributes are stored and reconstructed by the save() method.

Core Features & Use Cases

  • Explains the three block forms (balanced, self-closing, and nested blocks) and how to serialize attributes between the HTML and comment JSON representations.
  • Provides concrete examples of paragraph, image, list, and group blocks, plus the rules for nesting and inner blocks.
  • Use cases include debugging "Block contains unexpected content" errors, converting HTML to block markup for templates, and validating generated markup against Gutenberg expectations.

Quick Start

Convert a sample HTML block into the corresponding Gutenberg block markup and explain the mapping.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: wp-block-markup
Download link: https://github.com/wpgaurav/WordPress-skills/archive/main.zip#wp-block-markup

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.