wp-block-markup
Installation
SKILL.md
WordPress Block Markup Syntax
When to Use
Use this skill when:
- Writing raw block markup for patterns, templates, or REST API content pushes
- Debugging block validation errors ("Block contains unexpected content")
- Converting HTML to block format programmatically
- Working with block templates in PHP
- Understanding how blocks serialize to
post_content
Block Grammar
WordPress blocks use HTML comments as delimiters. The content between comments is valid HTML that the parser reconstructs on load.