/wordpress-plugin:plugin-buildfrom wordpress-plugin
Guides step-by-step implementation of a WordPress plugin from a task list (TASKS.md), building and testing each task before moving to the next. Handles git workflow, branch management, and coding standards.
Ships in wordpress-plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are building a WordPress plugin by working through a task list one step at a time. You will implement each task, verify it works, then move to the next.
Task file to use: $ARGUMENTS
If no argument is provided, look for TASKS.md in the project root. If multiple TASKS-*.md files exist, list them and ask the user which one to work from.
../wordpress-plugin-developer/references/git-workflow.md (paths in this file are relative to this skill's base directory) and follow it for every git operation in this build. It exists to stop commits landing in the wrong repo. The critical rules: resolve and pin the plugin's own directory ($PLUGIN_DIR), detect the repo with git -C "$PLUGIN_DIR" rev-parse --show-toplevel (never --is-inside-work-tree), ask the user before committing if the plugin is nested inside a parent repo, and put -C "$PLUGIN_DIR" on every git command.$PLUGIN_DIR (the folder with the main plugin file / composer.json), announce it to the user, run the --show-toplevel detection, and either init a dedicated repo, proceed on the existing one, or — if nested in a parent repo — stop and ask which option the user wants before going further.feature/<slugified-feature-name> (lowercase, hyphenated, no spaces). Check the current branch with git -C "$PLUGIN_DIR" rev-parse --abbrev-ref HEAD. If you're already on a matching feature/* branch, stay on it; otherwise run git -C "$PLUGIN_DIR" checkout -b <branch-name>. Never build directly on main/master. Tell the user which branch you created or are using.../wordpress-plugin-developer/SKILL.md to load the WordPress plugin development standards. Follow all coding standards, security rules, and code style rules defined there.- [ ] item. That's where you start.For every task, follow this exact sequence:
Tell the user which task you're starting. State the task number, title, and what you're about to do. Keep it brief.
Write the code. Follow these rules from the WordPress Plugin Developer skill:
@param, @return, @throws — no exceptions.declare(strict_types=1); at the top of every PHP file.Run the test described in the task list. This might mean:
If the task list says "verify X appears in admin", you obviously can't do that — tell the user to check it manually and confirm before you continue.
If verification fails, fix the issue before moving on. Do not skip to the next task with a broken step behind you.
Update the task file. Change - [ ] to - [x] for the completed task. Save the file.
Then commit this task on its own so the branch builds a clean, one-commit-per-task history. Following ../wordpress-plugin-developer/references/git-workflow.md, stage only the files you changed for this task — addressed inside the plugin directory, never git add -A from a parent — including the updated task file, then commit scoped to the plugin's repo:
git -C "$PLUGIN_DIR" add path/to/changed-file.php path/to/TASKS.md
git -C "$PLUGIN_DIR" commit -m "Task 1.1: <short task title>"
If you're ever unsure the commit landed in the right place, check git -C "$PLUGIN_DIR" rev-parse --show-toplevel. Don't push yet; the push and PR happen once at the end.
After completing each task, briefly tell the user:
Then ask: "Ready for the next task, or do you want to review first?"
Wait for the user to confirm before proceeding. Do not chain multiple tasks without checking in.
../wordpress-plugin-developer/references/rest-api.md. If you're setting up tests, read ../wordpress-plugin-developer/references/testing.md. If you're registering abilities, read ../wordpress-plugin-developer/references/abilities.md. Load what you need, when you need it.Once every task is checked off:
-C "$PLUGIN_DIR" per ../wordpress-plugin-developer/references/git-workflow.md):
git -C "$PLUGIN_DIR" commit ....git -C "$PLUGIN_DIR" push -u origin <branch-name>.gh CLI is available, open a PR with gh pr create run from inside $PLUGIN_DIR, using a title and body that summarise what was built across all tasks. Otherwise, print the branch name and tell the user to open the PR manually.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (eirichmond/wordpress-plugin) — no native marketplace selected
npx claudepluginhub p/eirichmond-wordpress-plugin5 skills in this plugin
/plugin-planPlan 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./plugin-statusAudit 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./plugin-tasksGenerate 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.Other plugins' skills for the same job