Skip to content

Claude Code skill that ensures WordPress plugin code passes all 30 checks of the official Plugin Check (PCP) tool

Notifications You must be signed in to change notification settings

wolfdevsllc/wp-plugin-check-compliant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

wp-plugin-check-compliant

A Claude Code skill that ensures your WordPress plugin code passes all 30 checks of the official WordPress Plugin Check (PCP) tool with zero errors and zero warnings.

What It Does

When activated, this skill instructs Claude to follow every rule enforced by WordPress Plugin Check v1.8.0 so that the code it writes is compliant out of the box. No more fixing issues after the fact.

Coverage

Category Checks Examples
Security 5 Late escaping, nonce verification, safe redirects, prepared SQL, input sanitization
Performance 9 Proper enqueue, defer/async strategy, conditional loading, asset size <300KB, efficient queries
Plugin Repo 15 ABSPATH guards, prefixing, no obfuscation, file types, headers, readme.txt, trademarks, uninstall cleanup
General 1 i18n / text domain compliance

Installation

Option 1: Claude Code CLI

claude skill add github:wolfdevsllc/wp-plugin-check-compliant

Option 2: Manual

Copy the skill folder into your Claude Code skills directory:

git clone https://github.com/wolfdevsllc/wp-plugin-check-compliant.git ~/.claude/skills/wp-plugin-check-compliant

Triggers

The skill activates automatically when your prompt includes keywords like:

  • "WordPress plugin"
  • "plugin check"
  • "WordPress.org submission"
  • "plugin review"
  • "plugin compliance"

Structure

SKILL.md                              # Main rules (all 30 checks inline)
references/
    forbidden-patterns.md             # Banned functions, constructs, patterns
    file-structure.md                 # File type, naming, structure rules
    readme-requirements.md            # readme.txt validation rules
    trademark-rules.md                # 149+ trademark terms and naming rules

Based On

All rules are derived from the official WordPress Plugin Check plugin (v1.8.0) source code, including:

  • PHP CodeSniffer sniffs (WordPress, WordPressVIPMinimum, PluginCheck standards)
  • File-based checks (regex patterns, content scanning)
  • Runtime checks (asset scope, size, loading strategy)
  • Plugin review PHPCS ruleset

License

MIT

About

Claude Code skill that ensures WordPress plugin code passes all 30 checks of the official Plugin Check (PCP) tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages