From wp-skills
This skill should be used when the user asks to "contribute to WordPress core", "fix a WordPress bug", "create a Trac patch", "contribute to Gutenberg", "find a good first bug", "submit a WordPress patch", "work on WordPress core", "set up a core development environment", "WordPress core development", "fix a Gutenberg issue", "create a PR for Gutenberg", "find good first issues", "work on a Trac ticket", "test a WordPress patch", "review a WordPress patch", or mentions WordPress core contributions, Trac patches, or Gutenberg PRs. Covers both Trac (core) and GitHub (Gutenberg) contribution workflows using Studio CLI.
How this skill is triggered — by the user, by Claude, or both
Slash command
/wp-skills:wp-core-contributingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Studio CLI provides a fast, zero-dependency environment for contributing to WordPress core. No Docker, no VVV, no MAMP -- just create a site with `--wp nightly` and start fixing bugs.
Studio CLI provides a fast, zero-dependency environment for contributing to WordPress core. No Docker, no VVV, no MAMP -- just create a site with --wp nightly and start fixing bugs.
WordPress has two main contribution paths:
| Path | What | Where | Workflow |
|---|---|---|---|
| WordPress Core (Trac) | PHP, REST API, admin, bundled themes | core.trac.wordpress.org | SVN patches on Trac tickets |
| Gutenberg (GitHub) | Block editor, block library, site editor | github.com/WordPress/gutenberg | Git branches + GitHub PRs |
Not sure which? If your change involves the block editor UI, block library, or site editor, it's Gutenberg. Everything else (PHP functions, REST API, admin screens, bundled themes, core JavaScript) goes through Trac.
# Create a core development site with WordPress nightly
studio site create --name "Core Dev" --wp nightly --php 8.3 --path ~/wp-sites/core-dev
# Create a clean reference install (for generating diffs later)
studio site create --name "Core Reference" --wp nightly --php 8.3 --path ~/wp-sites/core-reference
# Verify WordPress version
studio wp core version --path ~/wp-sites/core-dev
The working site (core-dev) is where you make changes. The reference site (core-reference) stays untouched so you can generate clean patches with diff.
Want to contribute to WordPress?
|
+-- Is it about the block editor / site editor?
| |
| +-- YES --> Gutenberg (GitHub)
| | See: references/gutenberg-workflow.md
| |
| +-- NO --> WordPress Core (Trac)
| |
| +-- Do you have a specific ticket?
| | |
| | +-- YES --> Reproduce, fix, patch
| | | See: references/trac-workflow.md
| | |
| | +-- NO --> Find a good first bug
| | https://core.trac.wordpress.org/tickets/good-first-bugs
| | See: references/trac-workflow.md
| Task | Command / URL |
|---|---|
| Create nightly dev site | studio site create --name "Core Dev" --wp nightly --path ~/wp-sites/core-dev |
| Switch PHP version | studio site set --php 8.1 --path ~/wp-sites/core-dev |
| Switch WP version | studio site set --wp 6.5 --path ~/wp-sites/core-dev |
| Run WP-CLI | studio wp <command> --path ~/wp-sites/core-dev |
| Enable Xdebug | studio site set --xdebug --path ~/wp-sites/core-dev |
| Good First Bugs (Trac) | https://core.trac.wordpress.org/tickets/good-first-bugs |
| Good First Issues (Gutenberg) | https://github.com/WordPress/gutenberg/labels/Good%20First%20Issue |
| WordPress Coding Standards | https://developer.wordpress.org/coding-standards/ |
| Core Handbook | https://make.wordpress.org/core/handbook/ |
| Gutenberg Contributor Guide | https://developer.wordpress.org/block-editor/contributors/ |
--wp nightly): Development version of WordPress, rebuilt daily from trunk. Always use this for core contributions.good-first-bug, has-patch, needs-testing..diff or .patch files) attached to Trac tickets.studio site set --php to test different versions.references/trac-workflow.md -- Load when contributing to WordPress core via Trac. Covers finding tickets, reproducing bugs, creating patches, and submitting them. Full Trac contribution lifecycle.references/gutenberg-workflow.md -- Load when contributing to Gutenberg via GitHub. Covers cloning the repo, building, symlinking to a Studio site, running tests, and creating PRs.references/core-dev-environment.md -- Load when setting up or optimizing your core development environment. Covers reference installs for diffing, WP-CLI debugging, Xdebug setup, multi-PHP testing, and version comparison.npx claudepluginhub sejas/wp-skillsClassifies WordPress codebases (plugins, themes, blocks, WP core) and routes to the correct workflow for builds, tests, and releases.
Guides modern WordPress plugin development: scaffolding, debugging, testing, and refactoring. Covers WooCommerce, Gutenberg blocks, custom post types, WordPress REST API, hooks, admin pages, WPCS, PHPUnit, Playwright, and wp-scripts.
Helps with drupal.org issue templates, formatting, contributing patches, and best practices. Guides users through creating issues, creating merge requests, and submitting fixes back to drupal.org projects.