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.zipInstalls 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.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
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
- examples.md - Detailed code examples
- testing.md - Testing procedures and pre-submission verification
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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| wordpress-org-compliance (this skill) | 2 | 4mo | No flags | Intermediate |
| php-best-practices | 15 | 1mo | No flags | Beginner |
| woocommerce-code-review | 6 | 3mo | No flags | Intermediate |
| php-pro | 13 | 4mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by bonny
View all by bonny →You might also like
php-best-practices
HoangNguyen0403
PHP best practices, PSR standards, and code quality guidelines.
woocommerce-code-review
woocommerce
Review WooCommerce code changes for coding standards compliance. Use when reviewing code locally, performing automated PR reviews, or checking code quality.
php-pro
sickn33
Write idiomatic PHP code with generators, iterators, SPL data structures, and modern OOP features. Use PROACTIVELY for high-performance PHP applications.
php-guidelines-from-spatie
freekmurze
Describes PHP and Laravel guidelines provided by Spatie. These rules result in more maintainable, and readable code.
woocommerce-backend-dev
woocommerce
Add or modify WooCommerce backend PHP code following project conventions. Use when creating new classes, methods, hooks, or modifying existing backend code. **MUST be invoked before writing any PHP unit tests.**
woocommerce-dev-cycle
woocommerce
Run tests, linting, and quality checks for WooCommerce development. Use when running tests, fixing code style, or following the development workflow.