Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By eirichmond
Guides WordPress plugin development from planning through implementation, with structured task-based builds, PRD generation, codebase auditing, and testing support for modern WordPress features like Gutenberg blocks, WooCommerce, and the REST API.
Work through a WordPress plugin task list step by step, building and testing each task before moving to the next. Reads from TASKS.md or a specified task file.
Plan a WordPress plugin through a structured discovery conversation. Asks questions to uncover requirements, blind spots, and edge cases, then produces a PRD markdown file. Run this before /plugin-tasks.
Audit the current state of a WordPress plugin against its task list. Reads the tasks file and inspects the actual codebase to report what's done, what's incomplete, and what's missing entirely.
Generate a structured task list for building a WordPress plugin feature or entire plugin. Reads a PRD file produced by /plugin-plan and outputs a markdown file with sequential, testable steps.
No model invocation
Executes directly as bash, bypassing the AI model
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
A Claude Code plugin that gives Claude deep knowledge of WordPress plugin development. When installed, Claude writes WordPress plugins that follow modern PHP practices, WordPress Coding Standards, and established security patterns - without you having to repeat the same instructions every session.
This plugin adds four things to your Claude Code sessions:
Automatically activates when you're working on WordPress plugin code. Claude will:
register_post_meta(), block editor, REST API, WP-CLI@wordpress/scripts/plugin-plan CommandRuns a structured discovery conversation before any code — or any task list — is written. Claude asks questions in rounds (core purpose, scope and data, user interface, integrations and APIs, edge cases and constraints), follows up adaptively based on your answers, and checks the current project directory for an existing plugin structure, CLAUDE.md, or composer.json so the result fits what's already there.
/plugin-plan A WooCommerce extension that adds gift wrapping options to products
The output is a PRD.md file in the project root (or PRD-<slug>.md if one already exists). The PRD captures the plugin's purpose, goals, non-goals, data model, features, admin UI, frontend output, REST API, integrations, scheduled tasks, CLI commands, lifecycle, and testing strategy.
Run this before /plugin-tasks — the PRD it produces is the input to the task generator.
/plugin-tasks CommandReads a PRD file produced by /plugin-plan and turns it into a structured, sequential task list before any code is written.
/plugin-tasks PRD.md
If you don't pass an argument, it looks for PRD.md in the project root. If you pass a free-form description instead of a file path it will still proceed, but you'll get better results by running /plugin-plan first.
The output is a TASKS.md file (or TASKS-<slug>.md if one already exists) with numbered, grouped tasks where each task has a clear description and a verification step. Tasks are ordered so each one builds on the last and can be tested independently.
/plugin-build CommandWorks through a task list one step at a time - implementing, verifying, and marking each task complete before moving on.
/plugin-build
By default it reads TASKS.md. You can pass a specific file if you have multiple task lists:
/plugin-build TASKS-gift-wrapping.md
After each task, Claude pauses to check in before continuing. This gives you a chance to review the code, suggest changes, or adjust direction.
Clone this repo into a directory where you keep your Claude Code plugins:
mkdir -p ~/.claude/plugins
git clone <repo-url> ~/.claude/plugins/wordpress-plugin
You can clone it anywhere you like — ~/.claude/plugins/ is just a convention.
This plugin is designed to be loaded on demand, not globally. When you start a Claude Code session for WordPress plugin work, pass the plugin directory:
claude --plugin-dir ~/.claude/plugins/wordpress-plugin
This loads the WordPress plugin developer skill and commands for that session only, keeping your other Claude sessions clean.
Once in the session, you can confirm the plugin is active by running /plugin-plan, /plugin-tasks, or /plugin-build. Claude should also automatically apply WordPress coding standards and security practices when you ask it to write plugin code.
mkdir ~/projects/my-plugin && cd ~/projects/my-plugin
/plugin-plan A WordPress plugin that adds a custom "Projects" post type with
portfolio fields, a filterable archive page, and a Gutenberg block for
displaying featured projects
Claude will ask questions in rounds. Answer them, and a PRD.md will be written to the project root.
Review PRD.md. Edit anything that's wrong, fill in any open questions, and tighten the scope.
Generate the task list from the PRD:
/plugin-tasks PRD.md
npx claudepluginhub eirichmond/wordpress-pluginWordPress plugin development with hooks, security, REST API, custom post types. Use for plugin creation, $wpdb queries, Settings API, or encountering SQL injection, XSS, CSRF, nonce errors.
Manage WordPress sites: content creation, blog posts, media, Elementor page editing, and WP-CLI workflows.
PHP and WordPress development capabilities
Agent Skills and specialist agents for Drupal and WordPress. PR workflows, accessibility / performance / security / quality audits, design-to-code (Figma → blocks/paragraphs), FRD generation with story points, CSV export, strategist UX audits, PM workflows (triage, meeting prep, heartbeats, QA), Drupal.org contribution, and Drupal/Pantheon DevOps. Skills use MCP servers (Teamwork, Slack, Gmail, Fathom, CoWork, GitHub) directly from the main session.
Craft production-grade WordPress sites and applications. Everything from themes and plugins to commerce and deployment.
WordPress skills and commands for Claude Code