wp-plugin-directory-guidelines

द्वारा wordpress

वर्डप्रेस प्लगइन्स की GPL अनुपालन के लिए समीक्षा करते समय, लाइसेंस हेडर या संगतता की जाँच करते समय, अपसेल/फ्रीमियम/ट्रायलवेयर पैटर्न का मूल्यांकन करते समय, मान्य करते समय उपयोग करें…

npx skills add https://github.com/wordpress/agent-skills --skill wp-plugin-directory-guidelines

Overview

Authoritative reference for the 18 WordPress.org Plugin Directory guidelines. Covers GPL licensing, plugin naming/trademark rules, trialware restrictions, and all other submission requirements.

When to use

Use this skill when you need to:

  • Review a WordPress plugin for compliance with the WordPress.org Plugin Directory guidelines
  • Check GPL license compatibility for a plugin or its bundled libraries
  • Verify license headers in plugin files
  • Identify common guideline violations before submission
  • Answer questions about what is or is not allowed on WordPress.org
  • Evaluate premium/upsell flows, license checks, or freemium positioning
  • Review "teaser" or "preview" UI for trialware violations

Inputs required

  • Plugin source code (or specific files to review)
  • Optional: plugin readme and plugin header metadata for naming and license checks

Procedure

  1. Check the plugin's license header against the Valid License Headers section below.
  2. Walk through the 18 Guidelines checklist, paying special attention to Guidelines 1, 4, 5, 7, 8, and 17.
  3. Confirm trialware/freemium compliance using the checklist in guideline-review-checklist.md (Guideline 5 section).
  4. For bundled third-party code, verify license compatibility against GPL-Compatible Licenses (Quick) below.
  5. Flag matches from Common GPL Violations (Quick) below.
  6. For edge cases, consult the detailed references and the GNU GPL FAQ.

18-Guideline Review Checklist

Use the detailed, per-guideline checklist in guideline-review-checklist.md. Load this reference file only when a full guideline audit is requested.

GPL Compliance (Guideline 1 in Detail)

Use gpl-compliance.md for full license tables, compatibility nuances, and examples. Keep this inline section as a quick decision aid.

Verification (Licensing)

  • Every licensing-related issue must cite Guideline 1 and include the file path and exact license string.
  • Confirm compatibility claims against GPL-Compatible Licenses (Quick) and escalate ambiguous licenses.

Failure modes (Licensing)

  • If a license is not clearly GPL-compatible, do not guess. Check the GNU license list.
  • For dual-license packages, verify both licenses and redistribution terms.

Quick Reference: WordPress GPL Requirements

  • WordPress is GPLv2 or later.
  • Plugins distributed on WordPress.org must be 100% GPL-compatible (code and assets).
  • Include a valid License: header and License URI: in the main plugin file.
  • Do not add restrictions that conflict with GPL freedoms.

Valid License Headers

GPL Versions Summary

VersionYearKey Addition
GPLv11989Base copyleft: share-alike for modifications
GPLv21991"Liberty or death" clause (Section 7), clearer distribution terms
GPLv32007Anti-tivoization, explicit patent grants, compatibility provisions

WordPress uses GPLv2 or later, meaning plugins can use GPLv2, GPLv3, or "GPLv2 or later".

For full license texts, see:

License Compliance Checklist

When reviewing a plugin, verify:

  • Main plugin file has a valid License: header (e.g., GPL-2.0-or-later, GPL-2.0+, GPLv2 or later)
  • Main plugin file has a License URI: header pointing to the GPL text
  • If bundled libraries exist, each has a GPL-compatible license
  • No "split licensing" (e.g., code GPL but premium features proprietary)
  • No additional restrictions beyond what GPL allows
  • No clauses restricting commercial use, modification, or redistribution
  • No obfuscated code (violates the spirit of source code availability)

Valid License Headers for WordPress Plugins

License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
License: GPL-3.0-or-later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

GPL-Compatible Licenses (Quick)

  • Safe defaults: GPL-2.0-or-later, GPL-3.0-or-later.
  • Commonly accepted permissive families: MIT/Expat, BSD, ISC, zlib, Boost.
  • Conditional compatibility requires care: Apache-2.0 and MPL-2.0 (verify usage context).
  • For full accepted and rejected identifiers, use gpl-compliance.md.

Common GPL Violations (Quick)

  • Split licensing that restricts distributed code.
  • Obfuscated or non-corresponding source distribution.
  • Restrictive clauses (non-commercial, no-resale, forced backlink).
  • Bundling GPL-incompatible libraries or assets.

Plugin Naming Rules (Guideline 17)

Use naming-rules.md for full trademark lists, slug blocks, and naming examples. Keep this inline checklist for quick screening.

Naming Checklist (Quick)

  • Name is not a placeholder and has at least 5 alphanumeric characters.
  • Header name and readme name match.
  • Name is specific and function-related; avoid keyword stuffing.
  • Trademark/project names appear only after connectors like for, with, using, and.
  • No banned/discouraged terms or trademark portmanteaus.
  • Slug is lowercase, hyphenated, <= 50 chars, and avoids blocked terms.

wordpress की और Skills

blueprint
wordpress
WordPress Playground ब्लूप्रिंट JSON फ़ाइलें बनाने, संपादित करने या समीक्षा करते समय उपयोग करें। ब्लूप्रिंट, प्लेग्राउंड कॉन्फ़िगरेशन या अनुरोधों के उल्लेख पर ट्रिगर होता है…
official
wordpress-router
wordpress
वर्डप्रेस कोडबेस को वर्गीकृत करें और प्लगइन्स, थीम्स, ब्लॉक्स और कोर चेकआउट के लिए सही वर्कफ़्लो पर रूट करें। रिपो प्रकार (प्लगइन, थीम, ब्लॉक थीम, गुटेनबर्ग ब्लॉक्स, WP कोर) और उपलब्ध टूलिंग की पहचान करने के लिए स्वचालित प्रोजेक्ट ट्राइएज चलाता है। उपयोगकर्ता के इरादे और प्रोजेक्ट प्रकार के आधार पर डोमेन-विशिष्ट कौशल के लिए वर्गीकरण परिणाम और निर्णय वृक्ष रूटिंग आउटप
official
wp-abilities-api
wordpress
We need to translate the given English text into Hindi. The text describes a WordPress Abilities API registration, REST exposure, and client-side consumption for WordPress 6.9+. It mentions functions like wp_register_ability() and wp_register_ability_category(), REST endpoints, and the @wordpress/abilities package. We must preserve product names, protocol names, URLs, numbers, technical terms. The name "wp-abilities-api" is not in the text, so we don't include it. We translate only the text inside <text>. No extra commentary. Let's translate sentence by sentence: "WordPress Abilities API registration, REST exposure, and client-side consumption for WordPress 6.9+." -> "WordPress Abilities API पंजीकरण, REST एक्सपोज़र, और WordPress 6.9+ के लिए क्लाइंट-साइड उपभोग।" "Register abilities and categories in PHP using wp_register_ability() and wp_register_ability_category() with stable IDs,
official
wp-abilities-audit
wordpress
किसी WordPress प्लगइन की REST सतह का ऑडिट करें और Abilities API पंजीकरण प्रस्तावित करने वाला एक मानकीकृत ऑडिट दस्तावेज़ तैयार करें। YAML के साथ एक markdown दस्तावेज़ तैयार करता है…
official
wp-abilities-verify
wordpress
किसी WordPress प्लगइन की Abilities API पंजीकरणों को सत्यापित करें: abilities की गणना करें, जाँचें कि callback व्यवहार प्रत्येक annotation के दावे से मेल खाता है (विरोधात्मक…
official
wp-block-development
wordpress
We need to translate the given English text into Hindi, preserving the name "wp-block-development" only if it appears in the source text. The source text does not contain that name; it's only in the instruction. So we translate the text inside <text>. The text is a description of a skill for WordPress block development. We must preserve product names (WordPress, Gutenberg), protocol names, URLs (none), numbers (3, 6.9+), technical terms (block.json, register_block_type_from_metadata(), apiVersion, iframe, etc.). No extra commentary, labels, or formatting. Translation: WordPress ब्लॉक विकास Gutenberg के लिए: मेटाडेटा, पंजीकरण, रेंडरिंग, और बिल्ड वर्कफ़्लो। इसमें ब्लॉक निर्माण, block.json कॉन्फ़िगरेशन, स्थिर बनाम गतिशील रेंडरिंग
official
wp-block-themes
wordpress
We need to translate the given English text into Hindi. The text describes a WordPress block theme development skill. We must preserve the name "wp-block-themes" but it's not in the text, so we ignore. We translate only the text inside <text>. No extra labels, no markdown, no bullets. Just the translation. Let me translate paragraph by paragraph: "WordPress block theme development: theme.json, templates, patterns, and Site Editor troubleshooting." -> "वर्डप्रेस ब्लॉक थीम विकास: theme.json, टेम्पलेट्स, पैटर्न और साइट एडिटर समस्या निवारण।" "Covers theme.json editing (presets, settings, per-block styles), templates and template parts, patterns, and style variations across WordPress 6.9+" -> "इसमें theme.json संपादन (प्रीसेट, सेटिंग्स, प्रति-ब्लॉक शैलियाँ), टेम्प
official
wp-interactivity-api
wordpress
वर्डप्रेस इंटरैक्टिविटी एपीआई सुविधाओं (data-wp-* निर्देश, @wordpress/interactivity स्टोर/स्टेट/एक्शन, ब्लॉक viewScriptModule…) के निर्माण या डिबगिंग के दौरान उपयोग करें।
official