Skip to content
wp2next, home
Skip to the page

wp2next handoff

Hands the site to the client one step at a time (a full transfer, or with client-owned accounts an admin check, key rotation and removing your access) and writes HANDOFF.md, the client's guide to their site.

Your AI tool

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

Synopsiswp2next handoff [plan | docs | cleanup | <step-id>] (Claude desktop and Claude Code plugin: /wp2next:handoff; Codex: $wp2next handoff; Cursor: /wp2next handoff)
Changes codeNo site code. It writes HANDOFF.md and the handoff part of wp2next.json (plus owner names that change in a transfer). A step that needs a code change is reported with the file and the one-line fix, applied only after your yes
Touches outside servicesYes, and every action waits for its own yes: account transfers (Sanity, GitHub, Vercel), the domain, tracking and consent-banner accounts, form destinations, secret rotation, and finally removing your access. People do the steps in each provider's website; the agent runs only listed CLI commands with your own logged-in tools. It never accepts invitations, terms or transfers for anyone
Readswp2next.json, git remote, the Vercel link, the latest compliance report, secret names from the secret store
WritesHANDOFF.md, wp2next.json → handoff.* and changed owner names, secret-store entries (only in the secrets step), a backup folder outside the repo

What it does

It builds a runbook from wp2next.json, then walks through it, one external action at a time. Before each step it says what will change, in which account, who does it (you, the client, or the with a CLI) and whether it can be undone; ownership transfers generally can't be undone without the other side's help. Each step ends with a check and is marked done only when the check passes.

First it confirms a few things config can't answer: the ownership model (client-owned, built by you and transferred later, or you keep owning it), the client's account or organization for each service, the two people who'll be admins, the support period end date (30 days after launch is the recommendation, or whatever your contract says) and how will move to the client.

The steps, in an order chosen to avoid downtime. What each one does depends on the ownership model (from the 's runbook table; n/a steps are skipped):

Step idclient-ownedmaker-owned-transfer-latermaker-owned
accountsChecks the client is Owner or Admin everywhereThe client creates the accounts and invites youThe client creates the accounts they'll own: registrar, Google, ad accounts (recommended)
backupGit bundle, Sanity dataset export, secret names, DNS records, GTM container export, into a folder outside the repoSameSame
ga4, analytics-<provider>, gtm, gsc, bing, ads-<tag>, tool-<tag>, cmp, forms, brand (only the ones this site uses)Checks the client is admin; your access goes in maker-accessTransfer, or add the client as adminRecommended: the client owns them anyway. Otherwise the client gets view access, documented
sanityn/a (checks the client is admin)Transfers the project to the client's organizationStays; invites the client's editors
githubn/aTransfers the repositoryStays; optional read access
vercel-github-appn/aInstalls Vercel's GitHub app on the client's organizationn/a
verceln/aTransfers the project to the client's teamStays; the client is a free Viewer on Pro (checked 2026-12)
domainChecks the client owns the registrar accountMove or transfer, last (slow, and subject to locks)The client should own it (recommended); otherwise documents the renewal
secretsRotates the keys you created into the client's storeRotates every key you created into the client's store, updates Vercel, revokes your copiesStays with you; lists names and the exit plan
smokeChecks the live site, Studio, every form destination, analytics, the consent banner, Search Console and emailSameSame
docsWrites HANDOFF.mdWrites HANDOFF.mdWrites HANDOFF.md, including an exit plan
maker-accessRemoves your access, after the support periodSamen/a

Secrets never travel by email or chat. Values move only through the or the password manager's own sharing feature (a share link with an expiry). HANDOFF.md lists key names and rotation dates, never values.

HANDOFF.md names only the people and contacts you give it (never WordPress users), links the latest report with "This is not legal advice", and lists form destinations, internal pages, the brand guide, intentional differences from the old site and the wp2next version that built it.

If the latest compliance scan is missing or older than the last deploy, it offers a compliance scan of the live first.

Arguments and options

ArgumentEffect
(none)Shows progress, then resumes at the first unfinished step
planPrints the tailored runbook and stops. Read-only
docsWrites or refreshes HANDOFF.md only
cleanupRuns only the last step, removing your access. Warns if the support period hasn't ended
<step-id>Runs or redoes one step, for example github

Examples

For Claude desktop
Text
/wp2next:handoff plan
  • wp2next handoff: start, or carry on where you stopped.
  • wp2next handoff github: redo the transfer.
  • wp2next handoff cleanup: after the support period, remove your access.