Skip to content
wp2next, home
Skip to the page

wp2next contribute

Turns what a migration taught you into a shareable and, if you agree, a pull request on wp2next.

Your AI tool

Commands are shown for Claude desktop, the recommended tool. Pick another if you use a different one; this browser remembers.

Synopsiswp2next contribute [<builder-or-theme-slug>] (Claude desktop and Claude Code plugin: /wp2next:contribute; Codex: $wp2next contribute; Cursor: /wp2next contribute)
Changes codeNo project code. It drafts files in the project's .wp2next/contrib/ and works in a separate copy (fork) of wp2next outside the project
Touches outside servicesGitHub, in three separate questions, each with its own yes: fork and clone, then branch and commit, then push and open the pull request. It never pushes to MTRCio/wp2next directly and never touches the client's repo
ReadsThe project's notes (.wp2next/notes/), the project CLAUDE.md (departures, content), lesson drafts from feedback, the newest upstream playbook
Writes.wp2next/contrib/ (the playbook draft and its base), a line at the top of the notes file once contributed

What it does

  1. Collects what you learned: the notes opened during the migration for builders or without a playbook, the departures and content notes, any lesson drafts, and anything else you tell it.
  2. Picks the playbook: the one matched in 1, the notes file's name, or the slug you give. It either updates an existing playbook (adding to its sections) or starts a new one from the template. A playbook's status only moves up by evidence: one migration makes a stub a draft, two or more make it tested.
  3. Drafts from the newest upstream version, not your installed copy, so the diff shows only your additions. Anything not checked first-hand is marked Not yet confirmed.
  4. Scrub check, which must pass: no , URLs, project code, account names, IDs, emails, phones, people's or business names, addresses, paths, site copy, screenshots or secrets.
  5. Shows the diff and asks: open a , edit, or keep it local.
  6. Pull request with the GitHub , in a scratch folder outside the client project so no client file can be committed by accident. Without the CLI, it tells you how to do the same in GitHub's website, or suggests feedback lesson instead.

Arguments and options

ArgumentEffect
(none)Uses the playbook matched in phase 1, or the notes file's name
<builder-or-theme-slug>The playbook to create or update, lowercase with dashes, for example elementor or acf-flexible-content

Examples

For Claude desktop
Text
/wp2next:contribute
  • wp2next contribute elementor: add what you learned to the Elementor playbook.