Guides WordPress plugin development: architecture, hooks, activation/deactivation/uninstall, Settings API, security (nonces/capabilities/sanitization/escaping), data storage, cron, and release packaging.
How this skill is triggered — by the user, by Claude, or both
Slash command
/wordpress-agent-skills-9:wp-plugin-developmentThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill for plugin work such as:
Use this skill for plugin work such as:
$wpdb->prepare()).node skills/wp-project-triage/scripts/detect_wp_project.mjsnode skills/wp-plugin-development/scripts/detect_plugins.mjsIf this is a full site repo, pick the specific plugin under wp-content/plugins/ or mu-plugins/ before changing code.
Guidelines:
is_admin() (or admin hooks) to reduce frontend overhead.See:
references/structure.mdActivation hooks are fragile; follow guardrails:
uninstall.php or register_uninstall_hook)See:
references/lifecycle.mdPrefer Settings API for options:
register_setting(), add_settings_section(), add_settings_field()sanitize_callbackSee:
references/settings-api.mdBefore shipping:
$_POST / $_GET; use wp_unslash() and specific keys.$wpdb->prepare() for SQL; avoid building SQL with string concatenation.See:
references/security.mdSee:
references/data-and-cron.mdSee:
references/debugging.mdFor canonical detail, consult the Plugin Handbook and security guidelines before inventing patterns.
3plugins reuse this skill
First indexed Jun 6, 2026
npx claudepluginhub joshuarweaver/cascade-code-general-misc-4 --plugin wordpress-agent-skills-9Guides modern WordPress plugin development: scaffolding, debugging, testing, and refactoring. Covers WooCommerce, Gutenberg blocks, custom post types, WordPress REST API, hooks, admin pages, WPCS, PHPUnit, Playwright, and wp-scripts.
Develops WordPress plugins with proper architecture, hooks, admin interfaces, REST API endpoints, security practices, and WordPress 7.0 features like RTC, AI connectors, and DataViews.
Develops custom WordPress themes and plugins, Gutenberg blocks, WooCommerce stores, and REST API endpoints with security hardening and performance optimization.