Pivot Sweep
Sweeps CTAs, URLs or brand terms across a repo under a tier-based policy — keep some, swap others, leave the rest for review.
Entry verified April 21, 2026
The short answer
When you pivot a product or brand, 20-50 files reference the old version. Manually hunting them is tedious and error-prone. This skill applies a tiered policy: Tier A files keep the old term (buyer-intent surfaces), Tier B auto-swap, Tier C flagged for human judgement.
When to use it
After a brand change. After swapping an affiliate. After deprecating a product line and routing traffic elsewhere — anywhere a stale string in 30 files would be easy to miss.
Setup
- 1
Save the file as ~/.claude/commands/pivot-sweep.md.
- 2
Configure the Tier A allowlist (filepaths that keep the old URL or term) plus the new URL or term.
- 3
Invoke: /pivot-sweep <old> <new>; skill reports Tier A / B / C counts and asks to confirm the Tier B swap.
- 4
Don't run unattended — button text often needs rewriting alongside a URL swap, and only a human catches those.
Example
You: /pivot-sweep courses.becomeawritertoday.com/purchase /claude-code-guide Claude: Found 33 files. Tier A (15 files): keep. Tier B (13 files): auto-swap. Tier C (5 files): need review — shown below. Confirm?
Source & attribution
- Author
- Bryan Collins (pattern from PWS Claude pivot, 2026-04-20)
- Licence
- MIT
- Type
- Original
Original pattern published under MIT — attribution preserved by convention, not licence requirement.
Caveats
Don't run unattended — button text often needs rewriting alongside URL swap.
56 skills across 10 categories, all licence-verified.