Audit every click path on a website end to end: crawl internal links for broken flows, detect dead-end and orphan pages, script multi-step flow checks (forms, checkout, signup), and emit a fix report. Triggers when the user asks to QA a site's navigation, find broken links or dead ends, or check that user flows actually work.
./install.sh click_path_auditname: "click_path_audit" description: "Audit every click path on a website end to end: crawl internal links for broken flows, detect dead-end and orphan pages, script multi-step flow checks (forms, checkout, signup), and emit a fix report. Triggers when the user asks to QA a site's navigation, find broken links or dead ends, or check that user flows actually work."
Walk a site the way a visitor does, but exhaustively: crawl every reachable internal page, validate every link and image, flag dead ends and orphan pages, then run scripted checks on the flows that matter (signup, checkout, contact, login). The output is a fix report a developer can work through top to bottom.
Two layers:
bin/click_path_audit.py crawls the site, validates links, and finds structural problems. No dependencies.references/playwright-flow-checks.md holds copy-paste scripts that click through multi-step flows and assert state, capturing console errors and failed requests along the way.bash
python3 ~/workspace/skills/click_path_audit/bin/click_path_audit.py \
--url https://example.com --max-pages 300 \
--output report.md --json report.json
Flags: --check-external (also validate outbound links), --delay 0.5 (seconds between requests), --timeout 20. The crawler:
Pick the 3-5 flows that must not break: signup, login, contact form, checkout, password reset. For each, write a Playwright script per references/playwright-flow-checks.md:
console errors and requestfailed events during the run.Machines cannot judge confusion, so run references/confusing-sequences.md as a manual pass on the top-traffic pages: back-button behavior, form data loss on validation error, missing progress indicators, links that open nowhere.
Merge crawler output and flow-check results into one report:
Severity order matters. A broken checkout link outranks a dead-end blog tag page. Include the raw report.json alongside the markdown so fixes can be re-verified with a diff on the next run.
report.json) with per-URL status, link sources, and flow-check results, suitable for diffing between runs.--delay 0.5, sequential requests. Never hammer a production site.href="#" and javascript:void(0) get noted separately, not flagged as errors.publisher key 2e43c913833850e6d80f939677e3de76e806d47785c0f1caaca90f9d18c98e1e
No ratings yet — be the first to rate it.