Skip to content
wp2next, home
Skip to the page

wp2next polish

A final refinement pass on a separate branch; you review the diff and choose what to merge.

Your AI tool

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

Synopsiswp2next polish [site | /<url-path>/ | <source path>] (Claude desktop and Claude Code plugin: /wp2next:polish; Codex: $wp2next polish; Cursor: /wp2next polish)
Changes codeYes, isolated: on branch wp2next/polish-<target> (in a separate git worktree where possible). Nothing reaches your main branch until you choose
Touches outside servicesNo. It asks before pushing anything, and before removing the worktree and branch
ReadsThe latest critique and audit reports for the target, the site, wp2next.json (mode, breakpoint)
WritesCommits on the polish branch, .impeccable/reports/<date>-polish-<target>.md; after merging, departure entries in CLAUDE.md and wp2next.json

What it does

Polish refines; it never redesigns (that's facelift). It works from the backlog of the latest critique and audit reports; if there are none, it offers to run a critique first.

  1. Checks first: a clean git tree (it asks you to or stash; it never stashes for you), and lint and typecheck passing, so later failures belong to polish.
  2. Runs 's polish on the branch as a side process (a worktree subagent in Claude Code, a second session in a worktree for Codex or Cursor, or inline on the branch).
  3. Pixel-mode guard: in pixel mode it may change only layouts below the desktop breakpoint, plus items you already approved. Any other desktop change is listed as "proposed, not applied".
  4. Reviews the result itself: reads the diff, rejects any change that touches copy, URLs, metadata, schema, forms or tracking, or breaks the build rules (no inline styles, no utility classes, no raw values), and runs lint, typecheck and build. In it re-runs the parity check; any new desktop difference must match an approved item.
  5. Shows you the changes grouped by area, the check results and the "proposed, not applied" list, and asks: merge all, some (by commit) or none.
  6. Merges what you approved, records desktop changes as , and cleans up after you agree.

Without impeccable it uses a built-in checklist inside the current look: spacing rhythm, type steps, hover/focus/active/disabled states, form loading and success states, alignment, image crops, reduced motion, edge cases (long words, empty fields, 1 vs 20 items), touch targets.

Arguments and options

ArgumentEffect
(none) or siteThe whole site
/<url-path>/One page
<source path>One component

Examples

For Claude desktop
Text
/wp2next:polish
  • wp2next polish /contact-us/: polish one page after its critique.