Skip to content
wp2next, home
Skip to the page

Companion skills

For people running migrations (freelancers, agencies, developers). Moving your own site? Start with Move my site.

wp2next works on its own. are optional add-ons, made by Sanity, Vercel, the Next.js team, Microsoft, Resend and others, that give your AI assistant extra know-how for parts of the job: modeling content in Sanity, writing fast React, deploying to Vercel, sending form emails, editing copy, reviewing a finished site. wp2next decides when to use each one, and its own rules win when the advice disagrees.

You can install them during wp2next init, which asks first, or any time with the commands below. wp2next doctor shows which ones you have.

Do I need them?

No. They help in three places:

  • While building: the Sanity and two React skills give the assistant better patterns for content models, rich text and components. Worth installing.
  • After the new site matches the old one: review skills look for speed, , search and hosting-cost improvements. wp2next runs these through wp2next optimize.
  • For forms and copy: the skills help set up form emails (Resend is wp2next's default way to send form submissions), and Humanizer edits text that wp2next writes for you in wp2next content so it reads like a person wrote it.

What each one does

NameMade byWhat it helps withWhen wp2next uses it
Sanity agent toolkitSanityMoving content into Sanity, content models, rich text, settings pages, SEO metadataDuring the build
React best practicesVercelAbout 60 rules for fast React and Next.js codeDuring the build, and optimize react
Composition patternsVercelClean, reusable component designsDuring the build
Vercel plugin, or the lighter vercel-cli skillVercelCreating the Vercel project, settings, domains, deploysGoing live
PlaywrightMicrosoftLooking at pages in a real browserChecking pages
Web design guidelinesVercelReviews the site's code for accessibility, focus, forms and typography issuesoptimize design, after sign-off
Vercel optimizeVercelFinds cost and speed savings from your live site's Vercel numbersoptimize vercel, after launch
Next.js skillsNext.js teamChecking a running site for errors; trimming JavaScript; newer caching featuresoptimize and upgrade
Next.js DevTools MCPNext.js teamLets the assistant read errors and routes from the running dev serverDebugging
Resend skills (plugin includes Resend's MCP server)ResendSending email from the contact form, sending-domain setup, email best practicesBuilding forms, going live, handing over
HumanizerIndependent (open source, MIT)Removes typical AI-writing patterns from text without changing what it sayswp2next content (rewrites, alt text, meta descriptions, FAQs)

Some of the Next.js tools need Next.js 16. Sites built with wp2next 1.x use Next.js 15; run wp2next upgrade first (see Updating wp2next and your sites).

Why wp2next sometimes says no to their advice

These skills are written for brand-new Next.js apps. A wp2next site is a careful copy of an existing WordPress site, so a few common tips would break it. wp2next blocks these, and tells you so in its reports:

  • "Use next/image" and "use next/font". Both change how images and text are laid out, which breaks the pixel-for-pixel match with the old site. wp2next uses its own image component that gets the same speed benefits (sizes, lazy loading, a preloaded main image) without changing the layout.
  • "Add Tailwind classes", "use shadcn/ui", "run the bootstrap command". wp2next keeps styles in CSS Modules with shared design tokens. Mixing approaches makes the site harder to maintain.
  • "Rewrite this title or description." Page titles, descriptions and URLs stay the same as the old site unless you approve a change, so search rankings carry over.
  • "Turn on Cache Components" or "use Sanity Live". wp2next's update method (Sanity tells the site when content changes) is simpler. Newer caching is available later as a separate, opt-in change.
  • "Change this Vercel setting." wp2next lists these for you and asks before each one, because some change what you pay.
  • "Install Resend from the ." That ties the Resend account to whoever's Vercel team installed it, which makes handing the site over hard. wp2next has the site owner create their own Resend account instead. (Resend's Vercel guide⁠ (external site), checked 2026-12)
  • "Make this copy more persuasive." Rewrites never add claims, numbers, prices or testimonials that weren't there, and every edit is saved as a draft you review and publish yourself. Humanizer makes text read better for people; it is not a way to hide AI use (its own docs say AI detectors still flag most of its output).

Before you've signed off that the new site matches the old one, review skills only report. After sign-off, wp2next optimize applies safe fixes and asks about anything that changes the look. See Speeding up the finished site.

Install

The installer for most of these is the cross-tool skills command, which runs on Node 24 (the toolchain baseline).

There are two kinds of commands below:

  • commands (in bash blocks) run in a terminal. Your assistant can run them for you after asking.
  • Slash commands (starting with /) are typed into a Claude Code chat. Only you can type them; your assistant can't. Every install has a terminal form too (claude plugin install …), so you only need the slash form if you prefer it.

Claude Code

Terminal
claude plugin install sanity@claude-plugins-official
claude plugin install playwright@claude-plugins-official
npx skills add vercel-labs/agent-skills --skill react-best-practices -g -a claude-code
npx skills add vercel-labs/agent-skills --skill composition-patterns -g -a claude-code
vercel setup skills                     # the vercel-cli skill; re-run after updating the Vercel CLI

If claude plugin install says the plugin isn't found, run claude plugin marketplace update claude-plugins-official and try again. Then type /reload-plugins in Claude Code (or start a ) so the plugins load.

The same plugin installs as slash commands, if you'd rather type them in the chat:

Code
/plugin install sanity@claude-plugins-official
/plugin install playwright@claude-plugins-official
/reload-plugins

For forms and copy:

Terminal
claude plugin install resend@claude-plugins-official
claude plugin marketplace add blader/humanizer
claude plugin install humanizer@humanizer        # needs Claude Code 2.1.142 or newer

On an older Claude Code, install Humanizer with npx skills add blader/humanizer -g -a claude-code instead.

After sign-off (for optimize):

Terminal
npx skills add vercel-labs/agent-skills --skill web-design-guidelines -g -a claude-code
npx skills add vercel-labs/agent-skills --skill vercel-optimize -g -a claude-code
npx skills add vercel/next.js --skill next-dev-loop -g -a claude-code
npx skills add vercel/next.js --skill next-bundle-optimizer -g -a claude-code
npx add-mcp next-devtools-mcp@latest

Prefer the full Vercel plugin? claude plugin install vercel@claude-plugins-official in a terminal (or /plugin install vercel@claude-plugins-official in the chat), then /reload-plugins.

Codex

Terminal
npx skills add sanity-io/agent-toolkit -g -a codex
codex mcp add Sanity --url https://mcp.sanity.io
npx skills add vercel-labs/agent-skills --skill react-best-practices -g -a codex
npx skills add vercel-labs/agent-skills --skill composition-patterns -g -a codex
npx skills add microsoft/playwright-cli --skill playwright-cli -g -a codex
npx skills add resend/resend-skills -g -a codex
npx skills add blader/humanizer -g -a codex
vercel setup skills

For optimize, use the same --skill lines as Claude Code with -a codex. Codex's sandbox blocks network access and local servers by default, so approve those steps when optimize asks.

Cursor

Terminal
npx skills add sanity-io/agent-toolkit -g -a cursor
npx sanity@latest mcp configure
npx skills add vercel-labs/agent-skills --skill react-best-practices -g -a cursor
npx skills add vercel-labs/agent-skills --skill composition-patterns -g -a cursor
npx skills add microsoft/playwright-cli --skill playwright-cli -g -a cursor
npx skills add resend/resend-skills -g -a cursor
npx skills add blader/humanizer -g -a cursor
vercel setup skills

Sanity's plugin is also in the Cursor Marketplace. The Vercel plugin installs with npx plugins add vercel/vercel-plugin.

Other assistants

Use the same npx skills add … commands with your assistant's name after -a (the skills installer docs⁠ (external site) list them), or leave -a off and pick from the list it shows.

Full table with every command: the skill's own references/companions.md.

Privacy notes

  • The Vercel plugin runs a small check at the start of each session and sends usage telemetry when a skill is used. Turn telemetry off by setting VERCEL_PLUGIN_TELEMETRY=off in your environment. The lighter vercel-cli skill has no such hooks. (Vercel plugin docs⁠ (external site), checked 2026-12)
  • Vercel optimize reads your project's usage and speed numbers through your Vercel login. Its most detailed, page-by-page advice needs Vercel's paid Observability Plus add-on. (skill source⁠ (external site), checked 2026-12)
  • The Resend plugin connects to Resend's hosted , which you sign in to in the browser (no key pasted). It can read your Resend account; wp2next asks before anything that sends email or creates or deletes domains, keys or webhooks. (Resend MCP docs⁠ (external site), checked 2026-12)
  • Humanizer is a set of written instructions for the assistant; it doesn't send your text anywhere on its own. (source⁠ (external site), checked 2026-12)
  • None of these need your passwords or keys in the chat. If one asks you to paste a token, don't.

Speeding up the finished site

wp2next optimize runs the review skills on the side while you keep working:

  1. It builds the site and records "before" screenshots and speed scores.
  2. Each review skill writes a report. Nothing changes yet.
  3. You see one combined list, sorted by how much each fix helps. Each item is marked:
    • safe: nothing visible changes;
    • visual: the look changes (in , desktop changes count as a departure from the old site and need your OK);
    • content: words, titles or URLs change (always needs your OK);
    • hosting: a Vercel or Sanity setting (you approve each one);
    • blocked: conflicts with a wp2next rule, shown with the reason.
  4. Approved fixes go on a separate branch. wp2next then takes "after" screenshots and proves nothing changed that you didn't approve, and compares speed scores. A drop in accessibility or search scores stops the merge.
  5. You choose what to merge.

You can run one area at a time: wp2next optimize react, bundle, caching, design, seo or vercel. Three more areas use wp2next's own checks and need no companion: ia (how pages are organized and linked), redirects (old WordPress addresses still reach the right page) and structure (turning repeated content like team members or locations into proper Sanity entries).

Updating and removing

  • Skills from the skills installer: npx skills check, then npx skills update <name> -g -y; remove with npx skills remove <name> -g.
  • Claude Code plugins: claude plugin update <name>@<marketplace> in a terminal, then /reload-plugins in the chat; or /plugin → Installed in the chat.
  • vercel-cli skill: run vercel setup skills again.
  • Uninstalling wp2next leaves companion skills alone unless you ask.

Sources (checked 2026-12)