Skip to content

Add wp-plugin-check skill (Plugin Check / PCP) + small wp-plugin-development guidance#64

Open
AndriusBurba wants to merge 1 commit into
WordPress:trunkfrom
AndriusBurba:wp-plugin-check-skill
Open

Add wp-plugin-check skill (Plugin Check / PCP) + small wp-plugin-development guidance#64
AndriusBurba wants to merge 1 commit into
WordPress:trunkfrom
AndriusBurba:wp-plugin-check-skill

Conversation

@AndriusBurba

@AndriusBurba AndriusBurba commented Jun 4, 2026

Copy link
Copy Markdown

Summary

Adds a new, tightly-scoped wp-plugin-check skill that runs and interprets the official Plugin Check (PCP) tool against current WordPress.org standards, plus small factual additions to wp-plugin-development.

New skill: wp-plugin-check

  • Procedure: confirm tooling -> static checks (wp plugin check <slug>) -> optional runtime checks (--require) -> filter by category (security, performance, accessibility, i18n) -> interpret errors vs warnings -> re-run -> optional CI gating.
  • Routes each finding to the existing domain skill that fixes it (wp-plugin-development, wp-performance, wp-phpstan, wp-plugin-directory-guidelines).
  • Deliberately does not hard-code category names / --format spellings (they change between releases); points to wp plugin check --help.

Small edits to wp-plugin-development

  • New "Dependencies & headers" step covering the Requires Plugins header (WordPress 6.5+) and standard header requirements.
  • New pre-release "Plugin Check" step + verification bullets pointing to the new skill.

This skill is self-contained (no references/); a follow-up PR adds reference docs and router wiring.

Why

The volume of plugin submissions has grown sharply, and Plugin Check is now the de-facto pre-submission quality gate. The skill set had no coverage of it. This partially addresses the planned wp-testing / wp-security skills.

Test plan

  • node eval/harness/run.mjs passes (frontmatter + compatibility + triage).
  • New skill ships the required eval/scenarios/plugin-check-run-and-fix.json.
  • Reviewer sanity-checks the procedure against a real wp plugin check run.

Adds a tightly-scoped wp-plugin-check skill that runs and interprets the
official Plugin Check (PCP) tool (wp plugin check) against current
WordPress.org standards: static vs runtime checks, filtering by category
(security, performance, accessibility, i18n), reading errors vs warnings,
and gating releases/CI. Routes fixes to the existing domain skills.

Also adds small, factual guidance to wp-plugin-development:
- a Dependencies & headers step (Requires Plugins header, WP 6.5+)
- a pre-release Plugin Check step + verification bullets pointing to the
  new skill

Includes the required eval scenario for the new skill.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Unlinked Accounts

The following contributors have not linked their GitHub and WordPress.org accounts: @AndriusBurba.

Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Unlinked contributors: AndriusBurba.


To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@AndriusBurba

Copy link
Copy Markdown
Author

I've now linked my GitHub and WordPress.org accounts (@AndriusBurba). Flagging so the props list can refresh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant