What problem does it solve?
This Skill helps catch the WordPress-specific mistakes that often slip into generated or edited code before release, especially security flaws, broken internationalization, misuse of core APIs, and performance issues that only appear at scale.
Core Features & Use Cases
- WordPress security review: Checks for missing escaping, missing sanitization, absent nonce and capability validation, and unsafe SQL involving $wpdb.
- Platform-correct implementation guidance: Enforces use of WordPress core APIs for hooks, HTTP requests, redirects, assets, filesystem operations, and namespacing or prefixing.
- Translation and scaling readiness: Reviews user-facing strings for proper i18n wrappers and text domains, and flags query, caching, and asset-loading patterns that hurt production performance.
- Use cases: Ideal after creating or modifying plugins, themes, blocks, AJAX handlers, REST routes, shortcodes, meta boxes, WP_Query logic, widgets, or WP-CLI commands, and also useful for structured review-only audits.
Quick Start
Use the wp-guard skill to review the changed WordPress plugin files for security, translation readiness, and performance problems before merge.