Wp Plugin Review logo

Wp Plugin Review

Community
wpacademy
wp-plugin-review

Comprehensive WordPress plugin review covering security vulnerabilities, WordPress Coding Standards (WPCS) compliance, plugin repository guidelines, unit test coverage, and accessibility. Runs automated tools (PHPCS with WPCS, PHPStan, PHPUnit) plus deep manual code review. Outputs a detailed Markdown review report with issues, severity ratings, and actionable fixes. Use this skill whenever the user asks to "review a plugin", "audit a WordPress plugin", "check plugin security", "check plugin for repository submission", "review plugin code", "plugin code review", "check my plugin", or any request involving evaluating a WordPress plugin's code quality, security posture, or repository readiness. Also trigger when a user uploads a plugin zip or folder and asks for feedback, analysis, or a review.

Overview

Publisherwpacademy
Repositorywordpress-dev-skills
Skill namewp-plugin-review
Stars
70
Forks
18
Bundled files
4
LicenseGPL-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by wpacademy on GitHub. Read the source before you install it.

Installation

Install the Wp Plugin Review AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/wpacademy/wordpress-dev-skills.git /tmp/wordpress-dev-skills
mkdir -p .claude/skills
cp -r /tmp/wordpress-dev-skills/wp-plugin-review .claude/skills/wp-plugin-review
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Wp Plugin Review in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Wp Plugin Review on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Wp Plugin Review is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

WordPress Plugin Review Skill

Review WordPress plugins for security, coding standards, repository guidelines, unit tests, and accessibility. Produces a comprehensive Markdown report with findings, severity levels, and fix recommendations.

Overview

This skill performs a two-phase review:

  1. Automated Analysis — Install and run PHPCS (with WPCS rules), PHPStan, and PHPUnit
  2. Manual Code Review — Deep inspection of security patterns, repo compliance, accessibility, and architecture

The final output is a structured Markdown report saved to /mnt/user-data/outputs/.


Workflow

Phase 0: Setup Environment

Run the setup script to install required tools:

bash
bash scripts/setup_tools.sh

This installs PHPCS, WordPress Coding Standards, PHPStan, and PHPUnit if not already present.

Phase 1: Locate the Plugin

  1. Check /mnt/user-data/uploads/ for uploaded plugin files (zip or folder)
  2. If a zip file is found, extract it to /home/claude/plugin-under-review/
  3. If a folder is found, copy it to /home/claude/plugin-under-review/
  4. Identify the main plugin file (the one with the Plugin Name: header)

Phase 2: Automated Analysis

Run the following tools and capture output:

PHPCS with WordPress Coding Standards
bash
phpcs --standard=WordPress --extensions=php --report=json \
  /home/claude/plugin-under-review/ > /home/claude/phpcs-report.json 2>&1

Also run with security-focused sniffs:

bash
phpcs --standard=WordPress-Extra --extensions=php \
  /home/claude/plugin-under-review/ 2>&1 | head -200
PHPStan (Static Analysis)
bash
phpstan analyse --level=5 --no-progress \
  /home/claude/plugin-under-review/ 2>&1 | head -200
PHPUnit (if tests exist)

Check for tests/ directory or phpunit.xml. If found:

bash
cd /home/claude/plugin-under-review && phpunit 2>&1 | head -100

If no tests exist, note this as a finding in the report.

Phase 3: Manual Code Review

Read references/security-checklist.md and references/repo-guidelines-checklist.md BEFORE starting the manual review.

For each PHP file in the plugin, review against ALL categories:

A. Security Review

Consult references/security-checklist.md for the full checklist. Key areas:

  1. Input Sanitization — Every $_GET, $_POST, $_REQUEST, $_SERVER, $_FILES must be sanitized
  2. Output Escaping — Every echo/print of dynamic data must use appropriate esc_*() functions
  3. SQL Injection — All database queries must use $wpdb->prepare()
  4. Nonce Verification — All form submissions and AJAX handlers must verify nonces
  5. Capability Checks — All privileged actions must check current_user_can()
  6. File Operations — File uploads must validate type/size and use WP filesystem API
  7. CSRF Protection — State-changing requests must have nonce + referer checks
  8. Data Validation — All data must be validated before processing
  9. Direct File Access — All PHP files must prevent direct access (defined('ABSPATH') || exit)
  10. Secure API Calls — External HTTP requests must use wp_remote_get/post()
B. WordPress Coding Standards
  1. Naming Conventions — Functions, classes, hooks follow WP naming patterns
  2. File Organization — Proper directory structure and file naming
  3. Hook Usage — Correct use of actions and filters
  4. Enqueue Scripts/Styles — Must use wp_enqueue_script/style() with proper deps
  5. Internationalization — All user-facing strings must use translation functions
  6. PHP Compatibility — Must work with PHP 7.4+
  7. WordPress API Usage — Use WP functions instead of raw PHP where available
  8. No Bundled Core Libraries — Must not include jQuery, PHPMailer, etc.
C. Repository Guidelines

Consult references/repo-guidelines-checklist.md for full details. Key areas:

  1. readme.txt — Proper format, required headers, changelog, FAQ
  2. Plugin Headers — All required headers present and accurate
  3. License — GPL-2.0-or-later compatible
  4. No Tracking/Phoning Home — No unauthorized external calls
  5. No Obfuscated Code — All code must be human-readable
  6. Stable Tag — Must match the latest tagged version
  7. Tested Up To — Must reference a current WordPress version
D. Unit Test Coverage
  1. Test Existence — Does a tests/ directory exist?
  2. Test Quality — Do tests assert meaningful behavior?
  3. Coverage Areas — Are critical functions tested?
  4. WP Test Framework — Uses WP_UnitTestCase or equivalent?
  5. CI/CD Ready — Is there a phpunit.xml or phpunit.xml.dist?
E. Accessibility
  1. ARIA Attributes — Admin UI elements have proper ARIA labels
  2. Keyboard Navigation — Interactive elements are keyboard accessible
  3. Color Contrast — UI meets WCAG 2.1 AA standards
  4. Screen Reader Support — Dynamic content announces changes
  5. Form Labels — All inputs have associated labels
  6. Focus Management — Focus is managed in modals/dialogs
  7. Semantic HTML — Proper use of headings, landmarks, roles

Phase 4: Generate Report

Use severity levels:

SeverityMeaning
🔴 CRITICALSecurity vulnerability or blocking issue — must fix
🟠 HIGHSignificant issue — may cause repository rejection
🟡 MEDIUMBest practice violation — recommended fix
🟢 LOWMinor improvement — nice to have
✅ PASSArea passes review

Use the report template in references/report-template.md for structure.

Save the final report to: /mnt/user-data/outputs/[plugin-name]-review-report.md


Important Notes

  • Always read BOTH reference checklist files before starting manual review
  • Provide actual code fixes with before/after snippets, not just descriptions
  • Reference specific file names and line numbers for every finding
  • If the plugin has no unit tests, provide a sample test file as a bonus deliverable
  • Be thorough but fair — acknowledge good practices alongside issues
  • The report should be fully actionable: a developer should fix all issues from reading it
  • Score each category and provide an overall score out of 100

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Wp Plugin Review AI skill do?

Comprehensive WordPress plugin review covering security vulnerabilities, WordPress Coding Standards (WPCS) compliance, plugin repository guidelines, unit test coverage, and accessibility. Runs automated tools (PHPCS with WPCS, PHPStan, PHPUnit) plus deep manual code review. Outputs a detailed Markdown review report with issues, severity ratings, and actionable fixes. Use this skill whenever the user asks to "review a plugin", "audit a WordPress plugin", "check plugin security", "check plugin for repository submission", "review plugin code", "plugin code review", "check my plugin", or any re...

Why use Wp Plugin Review on TypingMind?

Because you install it once and use it with any model. Wp Plugin Review is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Wp Plugin Review in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/wpacademy/wordpress-dev-skills/tree/main/wp-plugin-review. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Wp Plugin Review?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Wp Plugin Review?

As many as you like. As long as a model supports skills, you can use Wp Plugin Review with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Wp Plugin Review AI skill free?

Yes. It is published on GitHub by wpacademy under the GPL-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇