Expert-level WordPress knowledge for AI coding assistants - blocks, themes, plugins, and best practices
undefinedTeach AI coding assistants how to build WordPress the right way.undefined
Agent Skills are portable bundles of instructions, checklists, and scripts that help AI assistants (Claude, Copilot, Codex, Cursor, etc.) understand WordPress development patterns, avoid common mistakes, and follow best practices.
undefinedAI Authorship Disclosure: These skills were generated using GPT-5.2 Codex (High Reasoning) from official Gutenberg and WordPress documentation, then reviewed and edited by WordPress contributors. We tested skills with AI assistants and iterated based on results. This is v1, and skills will improve as the community uses them and contributes fixes. See docs/ai-authorship.md for details. (WordPress AI Guidelines)
AI coding assistants are powerful, but they often:
Agent Skills solve this by giving AI assistants expert-level WordPress knowledge in a format they can actually use.
| Skill | What it teaches |
|---|---|
| undefinedwordpress-routerundefined | Classifies WordPress repos and routes to the right workflow |
| undefinedwp-project-triageundefined | Detects project type, tooling, and versions automatically |
| undefinedwp-block-developmentundefined | Gutenberg blocks: block.json, attributes, rendering, deprecations |
| undefinedwp-block-themesundefined | Block themes: theme.json, templates, patterns, style variations |
| undefinedwp-plugin-developmentundefined | Plugin architecture, hooks, settings API, security |
| undefinedwp-rest-apiundefined | REST API routes/endpoints, schema, auth, and response shaping |
| undefinedwp-interactivity-apiundefined | Frontend interactivity with data-wp-* directives and stores |
| undefinedwp-abilities-apiundefined | Capability-based permissions and REST API authentication |
| undefinedwp-wpcli-and-opsundefined | WP-CLI commands, automation, multisite, search-replace |
| undefinedwp-performanceundefined | Profiling, caching, database optimization, Server-Timing |
| undefinedwp-phpstanundefined | PHPStan static analysis for WordPress projects (config, baselines, WP-specific typing) |
| undefinedwp-playgroundundefined | WordPress Playground for instant local environments |
| undefinedwpdsundefined | WordPress Design System |
| undefinedblueprintundefined | WordPress Playground Blueprints for declarative Playground environment setup |
# Clone agent-skills
git clone https://github.com/WordPress/agent-skills.git
cd agent-skills
# Build the distribution
node shared/scripts/skillpack-build.mjs --clean
# Install all skills globally (available across all projects)
node shared/scripts/skillpack-install.mjs --global
# Or install specific skills only
node shared/scripts/skillpack-install.mjs --global --skills=wp-playground,wp-block-development
This installs skills to ~/.claude/skills/ where Claude Code will automatically discover them.
# Clone agent-skills
git clone https://github.com/WordPress/agent-skills.git
cd agent-skills
# Build the distribution
node shared/scripts/skillpack-build.mjs --clean
# Install into your WordPress project
node shared/scripts/skillpack-install.mjs --dest=../your-wp-project --targets=codex,vscode,claude,cursor
This copies skills into:
.codex/skills/ for OpenAI Codex.github/skills/ for VS Code / GitHub Copilot.claude/skills/ for Claude Code (project-level).cursor/skills/ for Cursor (project-level)node shared/scripts/skillpack-install.mjs --targets=cursor-global
This installs skills to ~/.cursor/skills/ where Cursor will discover them.
# List available skills
node shared/scripts/skillpack-install.mjs --list
# Dry run (preview without installing)
node shared/scripts/skillpack-install.mjs --global --dry-run
# Install specific skills to a project (e.g. Claude + Cursor)
node shared/scripts/skillpack-install.mjs --dest=../my-repo --targets=claude,cursor --skills=wp-wpcli-and-ops
Copy any skill folder from skills/ into your project’s instructions directory for your AI assistant.
Each skill contains:
skills/wp-block-development/
├── SKILL.md # Main instructions (when to use, procedure, verification)
├── references/ # Deep-dive docs on specific topics
│ ├── block-json.md
│ ├── deprecations.md
│ └── ...
└── scripts/ # Deterministic helpers (detection, validation)
└── list_blocks.mjs
When you ask your AI assistant to work on WordPress code, it reads these skills and follows the documented procedures rather than guessing.
undefinedWe welcome contributions! This project is a great way to share your WordPress expertise—you don’t need to be a coding wizard. Most skills are written in Markdown, focusing on clear procedures and best practices.
See CONTRIBUTING.md for details on how to get started.
Quick commands:
# Scaffold a new skill
node shared/scripts/scaffold-skill.mjs <skill-name> "<description>"
# Validate skills
node eval/harness/run.mjs
GPL-2.0-or-later
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.