WO

wordpress-org-compliance

Scans plugin code for prohibited trialware patterns and ensures free versions remain fully functional as per WordPress.org rules.

Install

mkdir -p .claude/skills/wordpress-org-compliance && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/4372" && unzip -o skill.zip -d .claude/skills/wordpress-org-compliance && rm skill.zip

Installs to .claude/skills/wordpress-org-compliance

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Reviews plugin code for WordPress.org compliance and trialware violations. Use when checking premium features, upsells, or license keys before submission.
154 chars✓ has a “when” trigger
Intermediate

Key capabilities

  • Review plugin source code for blocked features
  • Identify artificial usage limits
  • Detect inappropriate upsell implementations
  • Flag non-compliant code patterns
  • Verify license key usage

How it works

The tool scans plugin source code for patterns that restrict functionality behind payments, such as artificial usage quotas or license key requirements. It compares implementation against WordPress.org guidelines to ensure all features remain fully functional in the free version.

Inputs & outputs

You give it
Plugin source code directory
You get back
Compliance report flagging non-compliant code patterns

When to use wordpress-org-compliance

  • Checking plugin before submission
  • Verifying upsell implementation
  • Refactoring locked feature code

About this skill

WordPress.org Plugin Compliance

Ensures WordPress.org compliance for free vs premium code and upselling.

Core Rule: No Locked Code

Golden Rule: All code in WordPress.org plugins must be free and fully functional.

  • Every feature works completely without a license key
  • No trial periods or usage limits
  • No features requiring payment to unlock

Quick Reference

Not Allowed

  • Trial periods or time limits
  • Usage quotas or artificial limits
  • License keys for local features
  • Disabled features requiring payment
  • Intrusive nag screens

Allowed

  • Informational upselling (non-intrusive)
  • Separate premium plugin from your site
  • Feature detection (not restriction)
  • Comparison tables and teasers
  • Disabled form previews for premium-only features

Key Patterns

// ❌ WRONG: Feature Restriction
if ( ! $this->is_premium() ) {
    echo 'Premium required';
    return;
}

// ✅ CORRECT: Feature Detection
$this->show_basic_export();
if ( $this->has_premium_addon() ) {
    do_action( 'sh_premium_export_options' );
}

// ❌ WRONG: Artificial Limits
$limit = $this->is_premium() ? 10000 : 100;

// ✅ CORRECT: No Artificial Limits
$limit = apply_filters( 'sh_event_limit', 10000 );

Compliance Checklist

  • All features work without license key
  • No trial periods or time limits
  • No usage quotas
  • Upselling is informational, not obstructive
  • Free version provides real value

Detailed Information

Resources

The Simple Rule: If it's in the WordPress.org version, it must work completely without payment.

When not to use it

  • When evaluating non-WordPress plugins
  • When checking for security vulnerabilities

Limitations

  • Does not replace manual review for complex logic
  • Limited to WordPress.org compliance rules

How it compares

Unlike manual code review, this tool automates the detection of specific trialware violations and prohibited feature-locking patterns.

Compared to similar skills

wordpress-org-compliance side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
wordpress-org-compliance (this skill)24moNo flagsIntermediate
php-best-practices151moNo flagsBeginner
woocommerce-code-review63moNo flagsIntermediate
php-pro134moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry