A comprehensive AI-powered toolkit for WordPress plugin development. This project provides commands, skills, and agents that help AI assistants generate high-quality WordPress plugin code following best practices.
Other languages: ηΉι«δΈζ
Everything WP is designed to work with AI coding assistants (like Claude, Cursor, etc.) to accelerate WordPress plugin development while maintaining code quality and WordPress coding standards.
- 15 Commands - Interactive workflows for common plugin development tasks
- 3 Skill Areas - Deep knowledge bases for backend, frontend, and plugin initialization
- 4 Agents - Planner, task executor (TDD-aware), code reviewer, and code quality
- End-to-End Workflow - From planning to release, with diff-scoped reviews and quality gates
- WordPress.org Ready - Built-in submission review and compliance checks
Install as a Claude Code plugin:
/plugin marketplace add oberonlai/everything-wp
/plugin install everything-wp@everything-wp
After install, all commands, agents, and skills are immediately available.
Copy the directory contents to your AI assistant's configuration folder:
# For Cursor
cp -r everything-wp/* ~/.cursor/
# For Claude Code (manual, instead of plugin install)
cp -r everything-wp/* ~/.claude/Add the skills path to your configuration.
| Command | Description |
|---|---|
/init-plugin |
Initialize plugin development environment with testing suite, GitHub Actions, and build scripts |
/init-theme |
Initialize a classic or block theme with templates, PHPCS, PHPStan, PHPUnit, i18n, GitHub Actions, and build scripts |
/make-block |
Turn a reference URL or design mockups into a block theme design system β theme.json tokens, dynamic blocks, and a UI library review page |
/custom-table |
Generate custom database table with Repository class for CRUD operations |
/list-table |
Generate WP_List_Table class for admin data display |
/option-page |
Generate WordPress settings page using Settings API |
/rest-api |
Generate REST API controller with authentication and validation |
/wp-ajax |
Generate AJAX handler with nonce verification and permission checks |
/api-wrapper |
Generate external API wrapper class with retry and logging |
/frontend-page |
Generate frontend page (Shortcode, Block, or Template) |
| Command | Description |
|---|---|
/verify |
Run all code quality checks (PHPStan + PHPUnit + PHPCS). Recurring error patterns become rule proposals for rules/wp-essentials.md |
/test |
Execute PHPUnit tests and analyze failures (fast iteration during dev) |
/test-generate |
Generate PHPUnit tests for existing code (legacy retrofit only β not needed in TDD flow) |
For one-off PHPStan or PHPCS runs, use
composer phpstan/composer phpcsdirectly. Dedicated/analyseand/lintcommands were removed since task-executor handles them scoped, and/verifyhandles them full.
| Command | Description |
|---|---|
/plan |
Create implementation plan, saved under spec/<feature-name>/ as overview.md + area files numbered by build order (01-, 02-, β¦). User stories carry BDD Given/When/Then acceptance criteria and a per-area risk tier |
/todo |
Execute development tasks from a spec file. Supports --tdd, --tdd=unit, --tdd=int for Red-Green-Refactor workflow |
/review |
Risk-tiered senior-engineer code review on the current diff (Acceptance criteria, Security, Performance, Simplification, Test gap, i18n). Generalizable findings become rule proposals for rules/wp-essentials.md |
/submit-review |
Review plugin for WordPress.org submission compliance |
/release |
Sync version numbers across all carrier files, commit, tag, and push to trigger the release workflow |
Core WordPress backend development knowledge:
- PHP Coding Standards
- OOP Patterns
- Security Best Practices
- Database Operations
- Performance Optimization
- PHPStan Configuration
- WordPress.org Submission Rules
Frontend development standards:
- CSS Coding Standards
- JavaScript Coding Standards
- HTML Best Practices
Plugin initialization resources:
- Bootstrap templates
- Activator/Deactivator classes
- GitHub Actions workflow
- Build scripts
3-layer task breakdown (Operation Flow β User Stories β Development Tasks). Reads the codebase, optionally fetches user-provided URLs or @skill-name references, and saves a structured spec under spec/<feature-name>/. Recommends --tdd mode based on the feature type.
Implements tasks from a spec file. Updates checkboxes per task as they complete. Supports:
- Standard mode: direct implementation following codebase conventions
- TDD mode (
--tdd,--tdd=unit,--tdd=int): mandatory Red-Green-Refactor per behavior - Scoped quality check: PHPCS / PHPStan on changed files + full PHPUnit, with pre-existing failure detection
Diff-scoped, read-only senior code review. First classifies the change's risk tier (π’ / π‘ / π΄) to set review depth, then reports findings in six areas β Acceptance criteria, Security, Performance, Simplification, Test coverage gap, and i18n β with severity (π΄ Must / π‘ Should / π΅ Nice) and concrete fix suggestions. Does not modify code. See rules/acceptance-criteria.md.
Unified agent invoked by quality commands:
- generate mode: Generate tests for existing code (
/test-generate) - test mode: Execute and analyze PHPUnit tests (
/test) - verify mode: Execute all checks in sequence (
/verify)
Reviews the whole plugin for WordPress.org submission compliance (license, readme.txt, forbidden files, third-party docs, privacy, dismissible notices). Invoked by /submit-review.
/plan <feature description> # β spec/<feature-name>/overview.md + area files
β
/todo spec/<feature-name>/<area>.md --tdd # β implement with Red-Green-Refactor
β
/review # β risk-tiered, 6-area diff review (incl. acceptance criteria)
β fix π΄ / π‘ findings
/verify # β full-project quality gate
β
human commit + PR
β (when ready to publish)
/submit-review # β WordPress.org compliance check
Each command has a distinct scope:
| Command | Scope | Purpose |
|---|---|---|
/todo Step 5 |
Changed files (PHPCS/PHPStan) + full suite (PHPUnit) | Confirm new code is clean and didn't break anything |
/review |
Changed files (diff) | Catch issues automated tools miss (security, perf, i18n, etc.) |
/verify |
Whole project | Release gate β full PHPStan / PHPUnit / PHPCS |
/submit-review |
Whole plugin | wp.org submission compliance |
User: /init-plugin
AI: I'll help you initialize a new WordPress plugin.
[Asks about namespace, autoload directory, dev tools]
[Creates composer.json, phpunit.xml, GitHub Actions, etc.]
User: /custom-table orders
AI: I'll create a custom orders table.
[Asks about columns, indexes, relationships]
[Generates Orders_Table.php and Orders_Repository.php]
User: /verify
AI: Starting full quality check...
Step 1/3: PHPStan Static Analysis
β
PHPStan Level 6: 0 errors
Step 2/3: PHPUnit Unit Tests
β
23 tests passed, 92% coverage
Step 3/3: PHPCS Code Style
β
0 errors, 0 warnings
βββββββββββββββββββββββββββββββββββββββββ
β Code Quality Report β
β ββββββββββββββββββββββββββββββββββββββββ£
β Overall β β
Ready for release! β
βββββββββββββββββββββββββββββββββββββββββ
User: /submit-review
AI: Running WordPress.org submission review...
β
License: GPL-2.0+ detected
β
readme.txt: All required sections present
β Forbidden Files: Found .DS_Store
β
Third-Party Services: Documented
β
Privacy: No tracking without consent
Action required: Remove .DS_Store before submission
User: /plan Build a booking system with time slot selection and email confirmation
AI: [Step 1] Scanning src/ ...
## Codebase Analysis
- Namespace: MyPlugin\ | Layers: Repository/Service/Admin/REST
- Convention: Snake_Case class, constructor DI via Container
- Reusable: Mailer service, Repository base
- Conflicts: none
[Step 3] Operation Flow:
- Customer browses available time slots
- Customer submits booking with contact info
- Admin reviews and confirms booking
- Email confirmation sent
[Step 5] Saved plan to spec/booking-system/
- overview.md
- customer-flow.md
- admin-flow.md
Next step: /todo spec/booking-system/customer-flow.md --tdd=int
Reason: REST endpoints + DB writes β integration tests
User: /todo spec/booking-system/customer-flow.md --tdd=int
AI: TDD mode: int
Task 1/4: Create Booking entity
π΄ Red: test_booking_can_be_created β FAILED β
π’ Green: PASSED β
π΅ Refactor: Extracted validation β PASSED β
β Updated spec checkbox
[... more tasks ...]
Step 5 β Scoped Quality Check
PHPCS (changed files): β
clean
PHPStan (changed files): β
clean
PHPUnit (full suite): β
47 passed, 0 failed
User: /review
AI: π Files reviewed: 3 files
π Findings: π΄ 1 Must Β· π‘ 2 Should Β· π΅ 1 Nice
Security
π΄ src/REST/Booking_Controller.php:58 β Capability check missing
Code: register_rest_route( ..., 'methods' => 'POST', 'callback' => ... )
Issue: POST endpoint accepts any authenticated user; no permission_callback.
Suggested fix: Add 'permission_callback' => fn() => current_user_can( 'edit_posts' )
Performance
No issues found in this area.
i18n
π‘ src/Admin/Booking_Page.php:34 β Hardcoded string without __()
Code: echo '<h2>Booking Management</h2>';
Suggested fix: echo esc_html__( 'Booking Management', 'myplugin' );
Recommendation:
- Fix the π΄ capability issue before /verify or PR
everything-wp/
βββ commands/ # Interactive command workflows
β βββ init-plugin.md
β βββ init-theme.md
β βββ custom-table.md
β βββ list-table.md
β βββ option-page.md
β βββ rest-api.md
β βββ wp-ajax.md
β βββ api-wrapper.md
β βββ frontend-page.md
β βββ verify.md
β βββ test.md
β βββ test-generate.md
β βββ plan.md
β βββ todo.md
β βββ review.md
β βββ submit-review.md
β
βββ skills/ # Knowledge bases
β βββ wp-backend/ # Backend development
β β βββ coding-standards-php.md
β β βββ oop-patterns.md
β β βββ security.md
β β βββ custom-tables.md
β β βββ performance.md
β β βββ phpstan.md
β β βββ org-submission.md
β β
β βββ wp-frontend/ # Frontend development
β β βββ coding-standards/
β β
β βββ wp-plugin-dev-init/ # Plugin initialization
β β βββ SKILL.md
β β βββ templates/
β β βββ scripts/
β β
β βββ wp-theme-dev-init/ # Theme initialization (classic & block)
β βββ wp-block-theme-pipeline/ # URL β block theme design system pipeline
β βββ wp-block-themes/ # Block theme reference knowledge (theme.json, patterns, debugging)
β βββ SKILL.md
β βββ templates/
β βββ scripts/
β
βββ agents/ # AI agents
β βββ planner.md
β βββ task-executor.md
β βββ code-reviewer.md
β βββ code-quality.md
β βββ submission-reviewer.md
β
βββ rules/ # Global rules
βββ wp-essentials.md
βββ acceptance-criteria.md # BDD acceptance criteria + risk-tiered review
- WordPress 6.0+
- PHP 8.0+
- Composer
- WP-CLI (for testing setup)
- Node.js (for frontend builds)
GPL-2.0 or later
Inspired by everything-claude-code.
Built for the WordPress community.