wp-blocks

Validate WordPress block markup by simulating editor behavior with Playwright.

1|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/RebelliousSmile/my-claude-marketplace --skill wp-blocks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wp-blocks
Source: https://github.com/RebelliousSmile/my-claude-marketplace/tree/main/plugins/sc-js/skills/wp-blocks
Command: npx skills add https://github.com/RebelliousSmile/my-claude-marketplace --skill wp-blocks

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the validation of WordPress block markup, ensuring that dynamically generated content maintains integrity across the editor.

Core Features & Use Cases

  • Automated Markup Validation: Validates block markup across the editor to prevent content issues during editing.
  • Editor Simulation: Uses Playwright to simulate the editor environment and check block validity.
  • Use Case: For WordPress developers working with Frontend System (FSE) or generating content outside the editor, this Skill helps identify and fix invalid blocks before deployment.

Quick Start

Run the action '01-validate-roundtrip' to check the validity of all WordPress blocks on your site.

Frequently Asked Questions about wp-blocks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate WordPress block markup automatically?

To validate WordPress block markup automatically, this Skill simulates the editor environment using Playwright and compares dynamically generated HTML against expected outputs to identify invalid blocks.

Why does my custom block markup show as invalid in the WordPress editor?

Custom block markup shows as invalid in the WordPress editor when dynamically generated content loses integrity during editing; simulating editor behavior helps identify these mismatches before deployment.

Do I need Playwright to check WordPress block validity?

Yes, you need Playwright to check WordPress block validity because it simulates the editor environment required to dynamically generate and compare HTML output for validation.

Can I use automated block validation for WordPress FSE projects?

Yes, you can use automated block validation for WordPress Full Site Editing (FSE) projects to ensure dynamically generated content maintains markup integrity across the editor.

What is the best way to test dynamically generated WordPress blocks outside the editor?

The best way to test dynamically generated WordPress blocks outside the editor is simulating the editor environment to compare generated HTML with expected outputs and prevent content issues.

What are the limitations of using Playwright for WordPress block validation?

Limitations of using Playwright for WordPress block validation include requiring WordPress REST API access and being primarily suited for FSE projects or custom block generation workflows.