Registry / wpultimatesecurity

wpultimatesecurity/wordpress-security-skills/shortcode-block-security

Use when registering a shortcode with add_shortcode or a dynamic block with a render_callback, or processing shortcode / block attributes. Normalizes attributes with shortcode_atts, validates against allowlists, and escapes all rendered output for its context with esc_html, esc_attr, esc_url, or wp_kses_post. Prevents stored and reflected XSS in rendered content.

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

Install

npx yarkr-cli add skill:wpultimatesecurity/wordpress-security-skills/shortcode-block-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/shortcode-block-security
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:wpultimatesecurity/wordpress-security-skills/shortcode-block-security

On Windows, in PowerShell:

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

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