web-auditlisted
Install: claude install-skill rterakedis/leanwheel-skills
# Web Audit Skill
**Goal:** Scan the entire project — planning docs, story files, templates, stylesheets, and markup — against the guidance in `docs/setup/web/` and the design tokens in `docs/ux/DESIGN.md`. Collate all findings into a single remediation story file that `/dev-story` can implement directly.
**Requires:** `docs/setup/web/` must exist. If absent, tell the user to run `/setup` (for a new project) or `/refresh-web` (to populate an existing project's web docs).
---
## Step 1 — Load Guidance
```bash
ls docs/setup/web/
ls docs/ux/DESIGN.md 2>/dev/null
```
Read each guidance file completely. Pay particular attention to `anti-patterns.md` — it contains the hard rejection list used for code scanning. If `docs/ux/DESIGN.md` exists, read its frontmatter token block — raw values in stylesheets are measured against it.
---
## Step 2 — Inventory the Project
```bash
# Planning docs
ls docs/prd.md docs/architecture.md docs/epics.md 2>/dev/null
# Story files
find docs/epics -name "*.md" | sort
# Detect SSG / web framework
ls astro.config.* hugo.toml config.toml package.json 2>/dev/null
# Source surface (exclude build output and dependencies)
find . \( -name "*.astro" -o -name "*.html" -o -name "*.css" -o -name "*.scss" \) \
! -path "*/node_modules/*" ! -path "*/dist/*" ! -path "*/public/*" ! -path "*/resources/*" \
| sort
# Hugo templates if applicable
find layouts assets -type f 2>/dev/null | sort
# Existing audit files (avoid re-auditing completed work)
find