| name | code-review |
| description | Security and WordPress coding standards code review for PHP, JavaScript/TypeScript, or CSS. |
WordPress Code Review
Review the specified WordPress code against this project's standards, WordPress best practices, and security requirements.
What to review
If the user specifies files or a PR, review those. Otherwise, review the current uncommitted changes.
PHP Checklist
Standards
Security
WordPress Patterns
Code Style
Performance
JavaScript / Block Editor Checklist
Accessibility Checklist
i18n Checklist
SCSS / CSS Checklist
Output format
Report issues grouped by severity:
Critical (must fix before merge — security or data loss risk)
Major (should fix — bugs, missing WP patterns, accessibility)
Minor (nice to fix — style, performance hints)
Praise (note what is done well)
For each issue, include: file path, line number (if known), description, and a suggested fix.