wp-plugin-development
This skill guides agents through developing WordPress plugins, including architecture setup, WordPress hooks and lifecycle management, admin interfaces using…
Identity proven by GitHub's verified organisation badge (Automattic)
- Agents
- Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode
- License
- No license stated
- Pin
- 48d4aa2pinned Oct 9, 2026
- Context cost
- about 900 tokenswhen the skill loads
- GitHub stars
- 211on automattic/agent-skills
- Scripts
- 1 script
What it does
“Use when developing WordPress plugins: architecture and hooks, activation/deactivation/uninstall, admin UI and Settings API, data storage, cron/tasks, security (nonces/capabilities/sanitization/escaping), and release packaging.”
Generated summary from the skill's own text
This skill guides agents through developing WordPress plugins, including architecture setup, WordPress hooks and lifecycle management, admin interfaces using the Settings API, security hardening with nonces and sanitization, and release packaging. It targets WordPress 6.9+ with PHP 7.2.24+ and uses bash and Node.js for filesystem operations, with optional WP-CLI integration.
When to use it
- Building new plugins or refactoring existing plugin code structure
- Adding hooks, settings pages, or admin UI to WordPress plugins
- Implementing activation, deactivation, and uninstall behavior
- Fixing security issues like CSRF protection, input sanitization, or SQL safety
When not to
- WordPress versions below 6.9 or PHP below 7.2.24
- Theme development or WordPress core modifications
- Projects requiring only theme customization without plugin code
Install
No license stated: install from the publisher's repository, and ask the author before you reuse or share it.
These commands install from the publisher's repository and need no account.
skills CLI
npx skills add automattic/agent-skills --skill wp-plugin-developmentInstalls from the repository's default branch, which may have changed since the commit we checked.
GitHub CLI 2.90 or later
gh skill install automattic/agent-skills wp-plugin-development@48d4aa21d0da0e7bda1c7ac155fef2e16b87aa25Installs the commit we checked (48d4aa2).
Copy by hand
Download the folder at 48d4aa2 and put it in .claude/skills/wp-plugin-development for Claude Code and in .agents/skills/wp-plugin-development for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.
Claude Code plugin
/plugin install build-with-wordpress@claude-plugins-officialThe publisher's plugin in Claude's official marketplace. It may hold more than this skill, and we have not pinned it.
Copy for your agent
A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.
Prompt
Install the agent skill "wp-plugin-development" by Automattic. Source, pinned to commit 48d4aa21d0da0e7bda1c7ac155fef2e16b87aa25: https://github.com/automattic/agent-skills/tree/48d4aa21d0da0e7bda1c7ac155fef2e16b87aa25/skills/wp-plugin-development 1. Download that folder at exactly this commit. Do not use the default branch. 2. Copy every file unchanged, keeping the folder structure, into .claude/skills/wp-plugin-development/ for Claude Code and .agents/skills/wp-plugin-development/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist. 3. Do not edit the files, and do not run any script in the folder unless I ask you to. 4. When you are done, list the files you copied and where you put them. Its license is restricted or not stated. Show me the license terms from the repository before you copy anything. Listing and checks: https://www.agentnative.dev/skills/automattic/wp-plugin-development
SKILL.md at the pin
The license of this skill does not let us show its files here.
Files
- SKILL.md4.0 KB · 89f320ecffc5
- references/
- data-and-cron.md678 B · 6a21d6a919b5
- debugging.md559 B · 045e6cfe9bfc
- lifecycle.md854 B · 231fb911cff2
- security.md787 B · 95c923157212
- settings-api.md703 B · 535fde7f0194
- structure.md401 B · 00ae05f608a5
- scripts/
- detect_plugins.mjs2.8 KB · 3fe7315c5756
8 files, 11 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.
Skill folder on GitHub at 48d4aa2More from Automattic
annotate
This skill opens a browser with annotation tools that let users click page elements and leave feedback, then the agent reads those annotations and applies the…
Claude Code, Codex, Cursor +3 · about 1K tokens · pinned 6 days ago
block-content
This skill instructs agents to write editable WordPress block markup for block themes, enforcing use of core blocks over HTML, managing layout cascades, and…
Claude Code, Codex, Cursor +3 · about 4.4K tokens · pinned 6 days ago
hosting-plans-helper
This skill fetches current WordPress.com plan names, pricing, and feature details from live APIs, then answers questions about which plan tier includes…
Claude Code, Codex, Cursor +3 · about 840 tokens · pinned 6 days ago
imagery
This skill guides generating AI images for WordPress sites using the generate_images tool, or alternative image generation tools.
Claude Code, Codex, Cursor +3 · about 2.6K tokens · pinned 6 days ago
liberate
This skill helps agents migrate websites into WordPress by copying the site from a URL or local files using the Studio CLI, then comparing the imported…
Claude Code, Codex, Cursor +4 · about 830 tokens · pinned 6 days ago
need-for-speed
Measures Core Web Vitals and page composition metrics for WordPress sites using synthetic testing, then suggests targeted optimization actions based on…
Claude Code, Codex, Cursor +3 · about 650 tokens · pinned 6 days ago
Related in Backend and APIs
taxonomist
Taxonomist analyzes a WordPress site's category structure by exporting all posts and using AI to suggest improvements.
by AutomatticOfficial publisher
Contains scripts
Claude Code · about 2.4K tokens · pinned 6 days ago
wp-abilities-api
This skill helps register and expose WordPress Abilities via PHP registration hooks and REST endpoints, then consume them in JavaScript.
by AutomatticOfficial publisher
Claude Code, Codex, Cursor +4 · about 800 tokens · pinned 6 days ago
wp-performance
This skill helps agents diagnose and fix WordPress backend performance issues using WP-CLI profiling, Query Monitor, database analysis, and targeted…
by AutomatticOfficial publisher
Contains scripts
Claude Code, Codex, Cursor +3 · about 1.3K tokens · pinned 6 days ago
wp-rest-api
This skill enables the agent to build, extend, and debug WordPress REST API endpoints and routes.
by AutomatticOfficial publisher
Claude Code, Codex, Cursor +4 · about 1.1K tokens · pinned 6 days ago
rp-source-wordpress
This skill provides WordPress and WooCommerce integration for data migration tools.
by Wix.comOfficial publisher
Contains scripts
Claude Code, Codex, Cursor +3 · about 3.8K tokens · pinned 6 days ago
rp-source-wordpress
WordPress and WooCommerce source adapter that provides REST capture, authentication, pagination, and read contract guidance for codegen.
by Wix.comOfficial publisher
Contains scripts
Claude Code, Codex, Cursor +3 · about 8K tokens · pinned 6 days ago