wp-dev-skills
CLAUDE.md27 starsChanged 6 months agoMITView on GitHub
Maintainer instructions for Claude Code working in this repo. WordPress plugin development skills for AI coding agents. Ships as a Claude Code plugin, Gemini CLI extension, agent rule files for Cursor/Windsurf/Cline/Copilot, and via npx skills add for 70+ agents. Skills live in skills/*/SKILL.md. Each is self-contained and auto-discovered by all supported agents — no manifest update required when adding a skill. Do NOT hardcode skill counts anywhere. Numbers drift — the repo is the source of truth. Edit skills/<name>/SKILL.md directly.…
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- wp-admin-browserSkill
- wp-background-processingSkill
- wp-build-toolsSkill
- wp-ci-qaSkill
- wp-coding-standardsSkill
- wp-databaseSkill
- wp-email-templatesSkill
- wp-freemiusSkill
- wp-github-flowSkill
- wp-guided-tourSkill
- wp-i18n-workflowSkill
- wp-multisiteSkill
- wp-org-submissionSkill
- wp-phpstan-stubsSkill
- wp-plugin-auditSkill
- wp-plugin-releaseSkill
- wp-plugin-testingSkill
- wp-structured-dataSkill
- wp-woocommerceSkill
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
20 rules. About 0 are common, 7 are distinctive, and 13 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
13
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 59
Create skills/<skill-name>/SKILL.md — kebab-case, no underscores.
- Very specific: line 60
Add YAML frontmatter with name and description.
- Very specific: line 61
Add evals/evals.json with at least 3 scenarios.
- Very specific: line 62
Add references/ files for patterns too long for SKILL.md — reference every file explicitly in a ## References section.
- Distinctive: line 63
Add a row to the skill table in README.md.
- Distinctive: line 64
Add the skill to AGENTS.md and GEMINI.md tables.
- Very specific: line 65
Add the skill description to src/rules/wp-dev-skills.md and .github/copilot-instructions.md.
- Very specific: line 66
Run python3 .github/scripts/validate_skills.py to confirm CI passes.
- Distinctive: line 82
All four version fields must match when releasing:
- Very specific: line 99
Every skills/*/ directory has a SKILL.md with name + description frontmatter
- Very specific: line 113
Reference, don't replicate: If a skill here depends on concepts from an official skill, link to it in a ## References or > See also note.
- Distinctive: line 125
Before creating any skill, grep the official plugin:
- Very specific: line 131
If a match exists: do not create the skill here.
- Distinctive: line 133
If the official skill covers the topic partially — this plugin may fill the gap (e.g.
- Very specific: line 139
Don't hardcode skill counts (18 skills, N skills) — use "WordPress plugin development skills" instead.
- Distinctive: line 140
Don't add build steps — skills are plain markdown, no compilation.
- Distinctive: line 141
Don't put real plugin/project names in skill content — use generic mock names.
- Very specific: line 142
Don't reference files Claude won't know about — every references/ file must be listed in SKILL.md.
- Very specific: line 143
Don't use absolute paths in scripts — use ${CLAUDE_PLUGIN_ROOT}.
- Very specific: line 144
Don't duplicate or replicate wordpress-official-agent-skills content — see "Relationship to wordpress-official-agent-skills" above.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md — wp-dev-skills
Maintainer instructions for Claude Code working in this repo.
Project overview
WordPress plugin development skills for AI coding agents. Ships as a Claude Code plugin, Gemini CLI extension, agent rule files for Cursor/Windsurf/Cline/Copilot, and via npx skills add for 70+ agents.
Skills live in skills/*/SKILL.md. Each is self-contained and auto-discovered by all supported agents — no manifest update required when adding a skill.
What lives where
wp-dev-skills/
├── README.md # Lean landing page — skill table + quick install
├── INSTALL.md # Full per-agent install matrix
├── CONTRIBUTING.md # Skill authoring conventions + CI rules
├── CLAUDE.md # This file
├── AGENTS.md # Universal context (opencode, Codex, Devin, …)
├── GEMINI.md # Gemini CLI context (plain markdown)
├── CHANGELOG.md # Release history
│
├── .claude-plugin/
│ ├── plugin.json # Claude Code plugin manifest
│ └── marketplace.json # Claude Code marketplace manifest
│
├── .codex/
│ ├── config.toml # Codex features flag
│ └── hooks.json # Codex SessionStart hook
│
├── gemini-extension.json # Gemini CLI extension manifest
├── package.json # npm metadata for npx skills
│
├── src/rules/
│ └── wp-dev-skills.md # Rule file (single source for Cursor/Windsurf/Cline/Copilot)
│
├── .github/
│ ├── copilot-instructions.md # GitHub Copilot rule file
│ ├── workflows/validate.yml # CI: validates skill structure
│ ├── scripts/validate_skills.py # Validation script
│ └── ISSUE_TEMPLATE/ # Bug + skill request templates
│
└── skills/
└── <skill-name>/
├── SKILL.md # Required — frontmatter: name, description
├── references/ # Deep-dive patterns and configs
├── evals/evals.json # Eval scenarios
└── scripts/ # Optional helper scriptsAdding a skill
- Create
skills/<skill-name>/SKILL.md— kebab-case, no underscores. - Add YAML frontmatter with
nameanddescription. Description leads withUse when…and ends withNot for:cases. - Add
evals/evals.jsonwith at least 3 scenarios. - Add
references/files for patterns too long for SKILL.md — reference every file explicitly in a## Referencessection. - Add a row to the skill table in
README.md. - Add the skill to
AGENTS.mdandGEMINI.mdtables. - Add the skill description to
src/rules/wp-dev-skills.mdand.github/copilot-instructions.md. - Run
python3 .github/scripts/validate_skills.pyto confirm CI passes.
Do NOT hardcode skill counts anywhere. Numbers drift — the repo is the source of truth.
Editing skills
Edit skills/<name>/SKILL.md directly. Change is live on next agent session — no build step.
References in references/ are only read by agents that explicitly know about them (listed in SKILL.md ## References section). Keep them referenced.
Manifests to keep in sync on release
All four version fields must match when releasing:
.claude-plugin/plugin.json→version.claude-plugin/marketplace.json→plugins[0].versiongemini-extension.json→versionpackage.json→version
Tag format: vX.Y.Z. Update CHANGELOG.md before tagging.
CI
.github/workflows/validate.yml runs on every push and PR. Checks:
- Both
.claude-plugin/*.jsonmanifests are valid JSON plugin.jsonandmarketplace.jsonversions match- Every
skills/*/directory has aSKILL.mdwithname+descriptionfrontmatter
Run locally: python3 .github/scripts/validate_skills.py
Relationship to wordpress-official-agent-skills
wp-dev-skills is a complement to wordpress-official-agent-skills — never a replacement or duplicate.
Hard rules
- Never duplicate a skill already covered by
wordpress-official-agent-skills. If the official plugin covers REST API, block development, or WP-CLI ops, do not create a parallel skill here. - Never copy content from official skills into this plugin's SKILL.md files — not even paraphrased.
- Reference, don't replicate. If a skill here depends on concepts from an official skill, link to it in a
## Referencesor> See alsonote. Let the official skill do its job.
How they fit together
wordpress-official-agent-skills | wp-dev-skills |
| WP core APIs, block development, REST API, WP-CLI ops, Playground, WPDS | GitHub contribution flow, CI/QA triage, PHPUnit/PHPCS/PHPStan, build tools, release versioning, WP.org submission, Freemius SDK, plugin audit |
| Official WP.org patterns and standards | Developer lifecycle tooling and workflow |
| What WP is | How to ship WP plugins professionally |
When adding a new skill — check official first
Before creating any skill, grep the official plugin:
find ~/.claude/plugins/cache/wordpress-official-agent-skills -name "SKILL.md" | xargs grep -l "<topic>"If a match exists: do not create the skill here. Instead, reference the official skill in any related wp-dev-skills content and use it to enhance efficiency, scalability, and quality in the plugin/theme development lifecycle.
If the official skill covers the topic partially — this plugin may fill the gap (e.g. official skill covers REST API consumption; this plugin could cover REST endpoint authoring patterns for plugin devs). Document the boundary clearly in both skills' description and Not for: lines.
What NOT to do
- Don't hardcode skill counts (
18 skills,N skills) — use "WordPress plugin development skills" instead. - Don't add build steps — skills are plain markdown, no compilation.
- Don't put real plugin/project names in skill content — use generic mock names.
- Don't reference files Claude won't know about — every
references/file must be listed inSKILL.md. - Don't use absolute paths in scripts — use
${CLAUDE_PLUGIN_ROOT}. - Don't duplicate or replicate
wordpress-official-agent-skillscontent — see "Relationship to wordpress-official-agent-skills" above.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

