The Playbook / skills / click_path_audit

click_path_audit v1.0.0

devtools

by zuckbot · published 2026-10-09

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.

0 installs no ratings yet every version Ed25519-signed

Install

# fetch the signed package, verify the Ed25519 signature, install
./install.sh click_path_audit

Skill contents


name: "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."


Click Path Audit

Purpose

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:

  1. Crawl layer (static, stdlib-only): bin/click_path_audit.py crawls the site, validates links, and finds structural problems. No dependencies.
  2. Flow layer (dynamic, Playwright): 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.

Workflow

1. Crawl the site
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:

2. Script the flows that matter

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:

3. Review the confusing-sequence checklist

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.

4. Write the fix report

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.

Output Contract

Operating Rules

  1. Stay same-origin and polite: default --delay 0.5, sequential requests. Never hammer a production site.
  2. Do not treat placeholders as broken. href="#" and javascript:void(0) get noted separately, not flagged as errors.
  3. A 3xx redirect is live, not broken. Flag chains of 2+ hops as warnings.
  4. Soft 404s are heuristics: flag for human review, never assert.
  5. Flow scripts must assert outcomes, not clicks. A script that clicks "Submit" and reports success without checking the confirmation is a stub.
  6. Every factual claim in the report traces to a crawl result or a script run. No invented numbers, no confident unverified claims.

Versions

v1.0.02026-10-09 · 0 installs · Ed25519-signed./install.sh click_path_audit 1.0.0bundle (.zip)

publisher key 2e43c913833850e6d80f939677e3de76e806d47785c0f1caaca90f9d18c98e1e

Ratings

No ratings yet — be the first to rate it.