[ English | Русский ]
Know whether the plugin will pass review before the reviewer does.
The WordPress.org Plugin Directory is a gate, not a formality. The reviewer reads the header, the readme, the zip contents, and the parts of the code that touch input, output, files, money, and external services. Most rejections come from rules that are public but rarely read.
This skill is a structured review gate for an AI agent. Skill class: orchestrator - a routing file plus seven on-demand references and a small Python preflight toolkit. It audits a release artifact against the 18 Detailed Plugin Guidelines, validates readme.txt, drafts the files a reviewer reads first, plans an SVN release that survives the automated security review, and covers the directory operations after approval: roles, ownership, transfers, adoption, closure, alerts, support, search, security reports, and the Block Directory.
The rules are summarized from public WordPress.org documentation, checked on 2026-12-04.
| Mode | Input | Output |
|---|---|---|
audit |
A plugin, a release zip, or a repository | Findings report with a verdict |
prepare |
A goal or a review email | Patch list, readme and header drafts |
release |
A version and a release plan | SVN layout, tag and asset plan, pre-tag checklist |
maintain |
A live plugin, an ownership or closure request, an alert, or a Block Directory goal | Maintenance plan with ownership, permission, and directory steps |
Every finding carries a severity, a rule ID, a location, the observed evidence, and an exact fix.
| Severity | Meaning |
|---|---|
BLOCKER |
Rejection, closure, or removal risk |
FIX |
The reviewer will ask for it |
NOTE |
Polish, claim risk, or an unverified item |
The verdict is READY, READY WITH FIXES, or NOT READY. The skill never says "approved" and never gives a probability.
- Locked, trial, quota, or license-gated code shipped in a free plugin.
- Tracking, telemetry, or third-party calls without opt-in.
- Remote code, third-party update servers, admin iframes, CDN assets.
- Bundled core libraries, unmaintained vendor code, minified assets with no source.
- Missing
ABSPATHguards, unprepared SQL, unescaped output, missing nonces. - README, header, slug, version, and SVN mismatches.
- A display name with
WordPressorPlugin, a readme over 10,000 bytes, or a tag readme that points at the wrong version. - Legal-compliance claims and unverifiable superlatives.
- A release tag that ignores the Release Confirmation state.
- Ownership, transfer, adoption, closure, forum, search, security-report, and Block Directory mistakes after approval.
The package includes scripts/, Python 3.9+ and standard library only:
python scripts/preflight.py path/to/plugin --slug my-plugin --prefix myplg
python scripts/readme_check.py readme.txt --plugin-header my-plugin.php --online
python scripts/plugin_scan.py path/to/plugin.zip --slug my-plugin
python scripts/svn_check.py path/to/svn-checkout --slug my-pluginThey check the readme, headers, zip hygiene, static patterns, SVN layout, and image dimensions. They emit Markdown or JSON and use exit codes for CI. A clean run is evidence, not approval.
If the official WordPress.org MCP server is connected, the skill can use Validate Readme and Get Plugin Status. It never runs Submit Plugin without explicit user confirmation. The MCP setup, tools, and limits are documented in references/submission.md.
git clone https://github.com/MADEVAL/Wordpress-Plugin-Requirements.git
cd Wordpress-Plugin-Requirements
python install.py --target allThat copies the skill into:
- Claude Code:
~/.claude/skills/wordpress-plugin-requirements - OpenCode:
~/.config/opencode/skills/wordpress-plugin-requirements - Portable:
~/.agents/skills/wordpress-plugin-requirements - Codex:
~/.codex/skills/wordpress-plugin-requirements
Useful flags:
python install.py --list
python install.py --check
python install.py --target project --dry-runThe installer copies the payload (SKILL.md, agents/, references/, scripts/) and LICENSE. Tests, evals, and docs stay in the repository.
Audit this plugin zip against the WordPress.org requirements and tell me what blocks submission.
Review this reviewer email, fix every item, and draft the reply.
Plan the 1.3.0 release: version bump, readme, SVN tag, assets.
The plugin owner left. Walk me through transferring ownership and updating the readme.
Adopt this abandoned plugin: check the process, the readme, copyright, and upgrade path.
The agent picks a mode, collects the artifact and the version data it needs, and returns the output contract:
- Verdict
- Scope
- Findings
- Readme And Headers
- Security
- Release
- Residual Risk
- Next Actions
Missing facts become [VERIFY: ...] or not_checked, never a guess.
skills/wordpress-plugin-requirements/
SKILL.md orchestrator, modes, output contract
agents/openai.yaml OpenAI interface metadata
references/
guidelines.md hard rejects and G1-G18
submission.md headers, readme.txt, SVN, assets
validator.md official readme validator and parser behavior
security.md input, output, SQL, files, i18n, privacy
review.md admin rules, blocks, automated review, PCP
maintenance.md roles, ownership, transfers, adoption, closure, alerts, forums, search
audit.md nine-step audit, claim rewrite, final checklist
scripts/
preflight.py run the relevant checks in one pass
readme_check.py local readme rules and official validator
plugin_scan.py headers, zip hygiene, static patterns
svn_check.py trunk, tags, assets, image dimensions
_common.py shared parser and report helpers
tests/
validate_skill.py structural validator
test_scripts.py script behavior tests
fixtures/bad-skill/ negative fixture
evals/cases.md expected behavior per scenario
python tests/validate_skill.py
python -m unittest discover -s tests -p "test_*.py"Or, on Windows:
./run_tests.ps1The validator checks the frontmatter, required sections, guideline count, script syntax, version sync across the readme, changelog, and plugin manifests, relative links, and text style (UTF-8 without BOM, LF, final newline, hyphen only). A deliberately broken fixture must fail. The script tests cover readme findings, zip scanning, SVN asset dimensions, and validator parsing. CI runs the same checks on Python 3.12.
- Plugins only. Theme Directory rules are out of scope.
- A review gate, not legal advice and not an official statement.
- The directory decides. No run of this skill guarantees approval.
- Rules change. Re-check the source list in
references/guidelines.md. - Not affiliated with WordPress.org, the Plugin Directory, Automattic, or the WordPress Foundation. WordPress is a trademark of the WordPress Foundation.
MIT. See LICENSE.