WordPress Pro guides the agent through custom theme and plugin development. It plans structure and hooks, implements to WordPress Coding Standards, validates with phpcs, then applies caching, query tuning and a security checklist.
Examples cover nonce verification, input sanitization, output escaping, script enqueuing, prepared database queries and capability checks.
What You Get
- A six-step workflow with a phpcs validation step
- Five code patterns: nonces, sanitization and escaping, enqueuing, prepared queries and capability checks
- Five reference files on themes, plugins, Gutenberg blocks, hooks and filters, and performance and security
- Must-do and must-not lists covering core files, i18n and file uploads
Common Use Cases
- Building a custom theme with child theme support
- Writing a plugin with a settings page
- Creating a dynamic Gutenberg block
- Hardening a site with nonces, escaping and capability checks
What Makes It Unique
Security is part of every step. The rules require nonces on all forms and AJAX requests, sanitization on input, escaping on output, prepared statements for every query and capability checks before privileged actions. It also forbids editing core files and hardcoding table names.
Under The Hood
The skill loads SKILL.md and opens a reference file when the task matches its topic. It tells the agent to write PHP, JavaScript and template files for a theme or plugin in your project and to run phpcs with the WordPress standard in the shell. The examples run database queries through the WordPress database class, using prepared statements. It calls no external services and fetches no web pages. The skill ships no scripts.