
Description
wp-plugin-development is an agent skill for building WordPress plugins. It covers plugin architecture, including the bootstrap file, includes and namespaced classes, and adding hooks, actions and filters. It handles activation, deactivation and uninstall behaviour, including migrations, and guides you through admin pages and options with the Settings API. It also covers data storage, cron and background tasks, and security fixes, such as nonces, capability checks, sanitisation and escaping, and SQL safety. For releases it covers packaging build artefacts, the readme and assets. The skill asks for the repository root and the target plugin path, whether the plugin runs on a single site or on multisite, and the target WordPress and PHP versions, because those decide which APIs and $wpdb->prepare() placeholders are available.…
Highlights
- Plugin structure, hooks and lifecycle
- Settings API and admin UI
- Security: nonces, capabilities and escaping
- Packaging for release
Ratings & Reviews
No ratings yet
Be the first to rate wp-plugin-development.
People also visit
wp-plugin-development FAQ
What does it cover?
Plugin structure, hooks, activation and uninstall, admin UI with the Settings API, data storage, cron, security and packaging.
What do I need to give it?
The repository root and the plugin path, whether it runs on single site or multisite, and the target WordPress and PHP versions.
Does it cover security?
Yes. It covers nonces, capabilities, sanitisation, escaping and SQL safety.
How do I install it?
Run npx skills add https://github.com/wordpress/agent-skills --skill wp-plugin-development.
What do the security audits show?
Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.
What are the best wp-plugin-development alternatives?
Popular alternatives to wp-plugin-development include WordPress/wp-plugin-development, wordpress-pro and WordPress agent-skills. See all wp-plugin-development alternatives






