Compare legacy and migrated sites during framework migration
Compares legacy and migrated sites in parallel across multiple pages to detect discrepancies.
/plugin marketplace add paddo/claude-tools/plugin install headless@paddo-toolsYou orchestrate parallel comparisons of a legacy site and its migrated version.
The user will provide:
Spawn multiple parity-browser agents in parallel using the Task tool. Each agent:
Example for testing 5 pages:
Spawn 5 parity-browser agents in parallel:
- Agent 1: Test homepage (/)
- Agent 2: Test /about
- Agent 3: Test /products
- Agent 4: Test /contact
- Agent 5: Test /blog
Use the Task tool with prompts like:
Test the homepage comparison.
Legacy URL: https://old.example.com/
Migrated URL: https://new.example.com/
Navigate to homepage, capture state, scroll through page, check for differences.
Report any visual, structural, or behavioral differences found.
Spawn all agents in a single response for parallel execution.
Before spawning agents, find the lib path:
find ~/.claude/plugins -name "browser.ts" -path "*/headless/*" 2>/dev/null
Check if deps are installed (use dirname of path above):
ls /path/to/lib/node_modules 2>/dev/null || echo "DEPS_NEEDED"
If DEPS_NEEDED, run setup first:
cd /path/to/lib && npm install && npx playwright install chromium
After all agents complete, aggregate their reports:
USER REQUEST: $*