wp2next content
Content audit, a voice guide, and drafted rewrites, alt text, meta descriptions and FAQs, all saved as Sanity drafts for a person to publish.
| Synopsis | wp2next content [audit|voice|refresh|alt|meta|faq] [<page>|all] [--replace] [--include-drafts] (Claude desktop and Claude Code plugin: /wp2next:content; Codex: $wp2next content; Cursor: /wp2next content) |
|---|---|
| Changes code | No site code. It writes Sanity drafts (never published) and files in docs/content/ and .wp2next/content/ |
| Touches outside services | Sanity: every batch of drafts is shown as a dry run first and written only after your yes (one yes per batch). It may offer to install the Humanizer companion skill, asking first |
| Reads | Sanity content (or the WordPress export before Sanity exists), the rendered pages, the voice guide, wp2next.json |
| Writes | .wp2next/content/audit-<date>.md and .json, docs/content/voice.md, plan files and diffs in .wp2next/content/, Sanity drafts; a content log in the project CLAUDE.md and a departure per batch in wp2next.json |
What it does
| Mode | What you get | Writes to Sanity |
|---|---|---|
audit (default) | A ranked list of stale facts, thin or duplicate pages, missing alt text, readability problems and AI-writing tells, plus questions for the client (prices, dates, staff, offers) | No |
voice | A voice guide built from the pages that sound most like the business, with a fact sheet (name, address, phone, hours, services) where each fact cites its page | No (a doc) |
refresh | Rewrites of the pages you pick, in that voice, checked fact by fact against the original. Needs a confirmed voice guide | Drafts |
alt | Alt text for images that have none (decorative images get empty alt) | Drafts |
meta | SEO titles and meta descriptions, keeping accurate hand-written WordPress values | Drafts |
faq | Q&A drafted only from real questions and the site's own copy, each answer citing its source | Drafts |
Two promises that hold in every mode:
- Nothing is published. Every change is a Sanity draft. The client reviews it in Studio and presses Publish; until then nothing on the site changes. At the end you get a review list with a Studio link per draft.
- No invented facts. Claims, testimonials, reviews, numbers, prices, credentials, staff and
results come from the site or from you. Where something is missing, the draft says
[ASK: …]and you're asked.
Legal pages (privacy, terms, cookies, accessibility statement, disclaimers) are never rewritten; they're reported for the owner or their lawyer.
When the writing modes can run:
| Site state | Rewrites, meta, FAQ, alt --replace |
|---|---|
| Before Sanity exists (phase 7) | Not yet; audit and voice work from the WordPress export |
pixel mode, parity not signed off | Not yet: copy changes would break parity. With your explicit override, drafts are written but kept unpublished and marked as proposed departures |
pixel mode, signed off | Yes; each batch is recorded as a departure |
faithful or facelift mode | Yes, after phase 7; still recorded as departures |
Filling missing alt text changes nothing visible and fixes an accessibility gap, so alt (without
--replace) can run in any mode once Sanity exists.
Arguments and options
| Argument | Effect |
|---|---|
audit / voice / refresh / alt / meta / faq | The mode (default audit) |
<page> | One page, for example /about/ |
all | Every page (the default for audit; writing modes ask which pages, suggesting the worst-ranked) |
--replace | With alt: also propose changes to existing alt text; each one needs a yes |
--include-drafts | With audit: include unpublished Sanity drafts in the audit |
Examples
For Claude desktop
/wp2next:content audit/wp2next:content audit$wp2next content audit/wp2next content auditwp2next content voice: write the voice guide before any rewrite.wp2next content refresh /about/: draft a rewrite of one page.wp2next content alt all: fill in missing alt text everywhere.wp2next content meta /services/: draft a title and meta description.
Related
- Content guide
seo(seo fixuses the same draft path) ·optimize structure- Scripts:
content-audit.mjs - Agent instructions:
references/commands/content.md (external site)