LaunchKit · 2026

Setup & Installation

npx skills add https://github.com/WordPress/agent-skills --skill wp-plugin-development
or paste the link and ask your coding assistant to install it
https://github.com/WordPress/agent-skills/tree/trunk/skills/wp-plugin-development
View on GitHub

What This Skill Does

Guides development of WordPress plugins from initial architecture through release packaging. Covers the full lifecycle: hooks, activation and uninstall routines, Settings API, data storage, cron jobs, and security patterns like nonces, capability checks, and SQL sanitization.

Rather than cross-referencing the Plugin Handbook, security docs, and WP-CLI guides separately, this skill encodes the correct order of operations and common failure modes in one place.

When to use it

  • Scaffolding a plugin with a single bootstrap file and hook-based loader
  • Adding a settings page using the Settings API with proper sanitization callbacks
  • Writing activation and uninstall routines that safely migrate or remove database data
  • Fixing CSRF and privilege escalation bugs by auditing nonce and capability usage
  • Packaging a plugin release with build artifacts and a compliant readme.txt