# wp-plugin-directory-guidelines

Audits WordPress plugins against 18 WordPress.org Directory guidelines, verifying GPL license compatibility and freemium rules before submission.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 3600 installs · ★ 2298
- Author: WordPress
- License: LicenseRef-Unknown · policy=link-only · description only; the file stays with the author
- Source: https://github.com/WordPress/agent-skills/tree/HEAD/skills/wp-plugin-directory-guidelines/SKILL.md
- Updated: 2026-10-21
- HTML: https://affpapa.org/en/nevibecode/skills/wp-plugin-directory-guidelines

## What it does

This skill prepares plugins for publication in the WordPress.org directory. It reviews code against the 18 official guidelines. The agent verifies required `License:` and `License URI:` file headers, spots dependencies that clash with GPL terms, and catches prohibited trialware logic. It also flags issues with plugin slugs or trademarks.

The skill interprets test output from the Plugin Check tool. Automated validation expects WP-CLI, WordPress 7.0+, and PHP 7.4.0+ in a local setup. Without this local environment, automated test runs will fail. The agent falls back to manual static review when local tools are missing.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add WordPress/agent-skills --skill wp-plugin-directory-guidelines -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/wp-plugin-directory-guidelines/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/wp-plugin-directory-guidelines/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add WordPress/agent-skills --skill wp-plugin-directory-guidelines -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/wp-plugin-directory-guidelines/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add WordPress/agent-skills --skill wp-plugin-directory-guidelines -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/wp-plugin-directory-guidelines/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install WordPress/agent-skills wp-plugin-directory-guidelines
```

2. **Manually: put the files in place**
- File: `.github/skills/wp-plugin-directory-guidelines/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add WordPress/agent-skills --skill wp-plugin-directory-guidelines -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/WordPress/agent-skills --path skills/wp-plugin-directory-guidelines
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/wp-plugin-directory-guidelines/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add WordPress/agent-skills --skill wp-plugin-directory-guidelines -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/WordPress/agent-skills/tree/HEAD/skills/wp-plugin-directory-guidelines/SKILL.md

## When to use it
- verify third-party library licenses for GPL compatibility
- identify guideline violations regarding trialware and upsells
- validate required `License:` and `License URI:` headers
- interpret Plugin Check errors and warnings before submission

## Example prompts
- Audit this plugin against WordPress.org directory submission rules.
- Check the bundled packages in `vendor/` for GPL license conflicts.
- Analyze these Plugin Check findings and outline necessary corrections.

## Similar
- [improve-codebase-architecture](https://affpapa.org/en/nevibecode/skills/improve-codebase-architecture.md) — skill · 1163035 installs
- [tdd](https://affpapa.org/en/nevibecode/skills/tdd.md) — skill · 1141062 installs
- [triage](https://affpapa.org/en/nevibecode/skills/triage.md) — skill · 990453 installs
- [codebase-design](https://affpapa.org/en/nevibecode/skills/codebase-design.md) — skill · 850344 installs
- [code-review](https://affpapa.org/en/nevibecode/skills/code-review.md) — skill · 789521 installs
- [implement](https://affpapa.org/en/nevibecode/skills/implement.md) — skill · 774700 installs

From the same set: [wordpress/agent-skills](https://affpapa.org/en/nevibecode/by/wordpress/agent-skills.md) — 19 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
