Force a full re-bootstrap of the Playwright orchestration project profile, recomputing framework detection, routes, endpoints, and fingerprints from scratch.
Force a complete re-bootstrap of the project profile, ignoring the existing fingerprint.
$ARGUMENTS
Verify package.json exists in the current directory. If not:
"No package.json found. Please navigate to your project root."
Check if .claude/agents/playwright-test-planner.md exists. If not:
"Playwright Test Agents are not initialized. Run
/playwright-orchestrator:initfirst to set up everything."
If playwright-orchestration.config.json exists, read it and store the current values for comparison later. Note:
If it does not exist, note that this is a first-time bootstrap.
Perform a complete project discovery from scratch (same as the init skill's Step 8):
Read package.json dependencies and check config files to identify the framework, version, and routing type.
Scan for source directories (max depth 3), excluding build artifacts and dependencies.
Discover all page and API endpoints based on the detected framework's routing conventions.
Check for auth libraries, middleware, environment variables, and code patterns.
cat package.json | node -e "
const p=JSON.parse(require('fs').readFileSync('/dev/stdin','utf8'));
const keys=[...Object.keys(p.dependencies||{}), ...Object.keys(p.devDependencies||{})].sort();
process.stdout.write(keys.join(','))
" | md5sum | cut -d' ' -f1
Count routes, API routes, components. List source directories and config files.
Write a fresh playwright-orchestration.config.json with all discovered data and a new generatedAt timestamp.
If an old profile existed, compare the old and new profiles. Report what changed:
Profile refreshed successfully!
Changes detected:
Framework: [old] → [new] (or "unchanged")
Routes: [old count] → [new count] ([+N new, -N removed])
API Routes: [old count] → [new count]
Auth: [old providers] → [new providers]
Source Dirs: [added/removed dirs]
Updated: playwright-orchestration.config.json
If no old profile existed:
Profile created successfully!
Framework: [name] [version]
Routes: [count] pages, [count] API endpoints
Auth: [detected providers or "none"]
Written: playwright-orchestration.config.json