EnterpriseAdvanced
wp-plugin-development
Plugin architecture, hooks, settings API, security
Developer Setup
Setup & Installation
bash
npx skills add https://github.com/WordPress/agent-skills --skill wp-plugin-developmentnpx skills add https://github.com/WordPress/agent-skills --skill wp-plugin-developmentOr paste this URL into your assistant to install:
Overview
What This Skill Does
Plugin architecture, hooks, settings API, security
Application
When to use this Skill
- Integrating wp plugin development into your development workflow.
- Following best practices for plugin architecture, hooks, settings api, security.
- Automating repetitive tasks with AI-assisted tooling.
- Building production-grade applications with proper standards.
- Debugging and troubleshooting common implementation issues.
Documentation
Show Skills.md file
WP Plugin Development
When to use
Use this skill for plugin work such as:
- creating or refactoring plugin structure (bootstrap, includes, namespaces/classes)
- adding hooks/actions/filters
- activation/deactivation/uninstall behavior and migrations
- adding settings pages / options / admin UI (Settings API)
- security fixes (nonces, capabilities, sanitization/escaping, SQL safety)
- packaging a release (build artifacts, readme, assets)
Inputs required
- Repo root + target plugin(s) (path to plugin main file if known).
- Where this plugin runs: single site vs multisite; WP.com conventions if applicable.
- Target WordPress + PHP versions (affects available APIs and placeholder support in
$wpdb->prepare()).
Procedure
0) Triage and locate plugin entrypoints
- Run triage:
node skills/wp-project-triage/scripts/detect_wp_project.mjs
Lines 1 - 25 of 106
Recommendations