Registry / wpultimatesecurity

wpultimatesecurity/wordpress-security-skills/gutenberg-block-editor-security

Use when building dynamic blocks or block-editor features - a render_callback, server-side rendered blocks via ServerSideRender, REST-backed block data, or register_rest_field for the editor. Sanitizes block attributes per type, escapes server render output, sets a real permission_callback on editor REST surfaces, and handles RichText content with wp_kses. Prevents stored XSS and broken access control in the editor.

Agent skill · version 1.0.0 · from wpultimatesecurity/WordPress-Security-Skills

Install

npx yarkr-cli add skill:wpultimatesecurity/wordpress-security-skills/gutenberg-block-editor-security

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:wpultimatesecurity/wordpress-security-skills/gutenberg-block-editor-security
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:wpultimatesecurity/wordpress-security-skills/gutenberg-block-editor-security

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:wpultimatesecurity/wordpress-security-skills/gutenberg-block-editor-security

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.