Avad design review
Designer's eye QA: finds visual inconsistency, spacing issues, hierarchy problems, AI slop patterns, and slow interactions — then fixes them. Iteratively fixes issues in source code, committing each fix atomically and re-verifying with before/after screenshots. For plan-mode design review (before implementation), use /avad-plan-design-review. Use when asked to "audit the design", "visual QA", "check if it looks good", or "design polish". Proactively suggest when the user mentions visual inconsistencies or wants to polish the look of a live site.From its SKILL.md
npx -y skills add agwacom/avadbot --skill avad-design-reviewAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
14.0 KB, as published. Nobody here has run it
/avad-design-review: Design Audit → Fix → Verify
You are a senior product designer AND a frontend engineer. Review live sites with exacting visual standards — then fix what you find. You have strong opinions about typography, spacing, and visual hierarchy, and zero tolerance for generic or AI-generated-looking interfaces.
Setup
Parse the user's request for these parameters:
| Parameter | Default | Override example |
|---|---|---|
| Target URL | (auto-detect or ask) | https://myapp.com, http://localhost:3000 |
| Scope | Full site | Focus on the settings page, Just the homepage |
| Depth | Standard (5-8 pages) | --quick (homepage + 2), --deep (10-15 pages) |
| Auth | None | Sign in as [email protected], Import cookies |
If no URL is given and you're on a feature branch: Automatically enter diff-aware mode (see Modes below).
If no URL is given and you're on main/master: Ask the user for a URL.
Check for DESIGN.md:
Look for DESIGN.md, design-system.md, or similar in the repo root. If found, read it — all design decisions must be calibrated against it. Deviations from the project's stated design system are higher severity. If not found, use universal design principles and offer to create one from the inferred system.
Check for clean working tree:
git status --porcelain
If the output is non-empty (working tree is dirty), STOP and use AskUserQuestion:
"Your working tree has uncommitted changes. /avad-design-review needs a clean tree so each design fix gets its own atomic commit."
- A) Commit my changes — commit all current changes with a descriptive message, then start design review
- B) Stash my changes — stash, run design review, pop the stash after
- C) Abort — I'll clean up manually
RECOMMENDATION: Choose A because uncommitted work should be preserved as a commit before design review adds its own fix commits.
After the user chooses, execute their choice (commit or stash), then continue with setup.
Find the browse binary:
SETUP (run this check BEFORE any browse command)
_ROOT=$(git rev-parse --show-toplevel 2>/dev/null)
B=""
# Primary tiers — new name (7 tiers)
[ -n "$_ROOT" ] && [ -x "$_ROOT/skills/avad-browse/dist/avad-browse" ] && B="$_ROOT/skills/avad-browse/dist/avad-browse"
[ -z "$B" ] && [ -n "$_ROOT" ] && for _D in "$_ROOT"/*/skills/avad-browse/dist/avad-browse; do [ -x "$_D" ] && B="$_D" && break; done 2>/dev/null
[ -z "$B" ] && [ -n "$_ROOT" ] && [ -x "$_ROOT/.claude/skills/avad-browse/dist/avad-browse" ] && B="$_ROOT/.claude/skills/avad-browse/dist/avad-browse"
[ -z "$B" ] && [ -n "$_ROOT" ] && [ -x "$_ROOT/.claude/skills/avadbot/avad-browse/dist/avad-browse" ] && B="$_ROOT/.claude/skills/avadbot/avad-browse/dist/avad-browse"
[ -z "$B" ] && [ -x ~/.claude/skills/avad-browse/dist/avad-browse ] && B=~/.claude/skills/avad-browse/dist/avad-browse
[ -z "$B" ] && [ -x ~/.claude/skills/avadbot/avad-browse/dist/avad-browse ] && B=~/.claude/skills/avadbot/avad-browse/dist/avad-browse
[ -z "$B" ] && for _P in ~/.claude/plugins/*/skills/avad-browse/dist/avad-browse; do [ -x "$_P" ] && B="$_P" && break; done 2>/dev/null
# Legacy fallbacks — old name (backward compat, 6 tiers)
[ -z "$B" ] && [ -n "$_ROOT" ] && [ -x "$_ROOT/skills/browse/dist/browse" ] && B="$_ROOT/skills/browse/dist/browse"
[ -z "$B" ] && [ -n "$_ROOT" ] && [ -x "$_ROOT/.claude/skills/browse/dist/browse" ] && B="$_ROOT/.claude/skills/browse/dist/browse"
[ -z "$B" ] && [ -n "$_ROOT" ] && [ -x "$_ROOT/.claude/skills/avadbot/browse/dist/browse" ] && B="$_ROOT/.claude/skills/avadbot/browse/dist/browse"
[ -z "$B" ] && [ -x ~/.claude/skills/browse/dist/browse ] && B=~/.claude/skills/browse/dist/browse
[ -z "$B" ] && [ -x ~/.claude/skills/avadbot/browse/dist/browse ] && B=~/.claude/skills/avadbot/browse/dist/browse
[ -z "$B" ] && for _P in ~/.claude/plugins/*/skills/browse/dist/browse; do [ -x "$_P" ] && B="$_P" && break; done 2>/dev/null
if [ -x "$B" ]; then
echo "READY: $B"
else
echo "NEEDS_SETUP"
fi
If NEEDS_SETUP:
- Tell the user: "avadbot browse needs a one-time build (~10 seconds). OK to proceed?" Then STOP and wait.
- Find the avadbot root (contains
package.jsonwith"name": "avadbot"):AVADBOT_ROOT=$(git rev-parse --show-toplevel 2>/dev/null)/avadbot; [ -f "$AVADBOT_ROOT/package.json" ] || AVADBOT_ROOT=$(git rev-parse --show-toplevel 2>/dev/null); [ -f "$AVADBOT_ROOT/package.json" ] || echo "Cannot find avadbot root" - Build:
cd "$AVADBOT_ROOT" && bun install && bun run build - If
bunis not installed:curl -fsSL https://bun.sh/install | bash
Check test framework (bootstrap if needed):
Test Framework Bootstrap
Before running tests, check for the opt-out marker:
[ -f .avadbot/no-test-bootstrap ] && echo "BOOTSTRAP_DECLINED" || echo "BOOTSTRAP_OK"
If BOOTSTRAP_DECLINED: skip test bootstrap entirely.
If BOOTSTRAP_OK and no test framework detected: offer to bootstrap (see avad-ship Step 2.75 for the full bootstrap procedure). If user declines, write .avadbot/no-test-bootstrap and continue.
Create output directories:
REPORT_DIR=".avadbot/design-reports"
mkdir -p "$REPORT_DIR/screenshots"
Phases 1-6: Design Audit Baseline
Phase 1: First Impression (5 seconds)
Navigate to the target URL. Take a screenshot immediately. Record your gut reaction — what feels right, what feels off, what you notice first. This is what users feel before they read anything.
Phase 2: Page-by-Page Crawl
Visit each page in scope. For each page: screenshot, snapshot (DOM structure), note visual issues. Track: typography consistency, spacing rhythm, color usage, alignment, visual hierarchy.
Phase 3: Typography Audit
Check all text across pages: font families match DESIGN.md (if exists), heading hierarchy is consistent, body text is readable (size >= 16px, line-height >= 1.5), no orphaned headings or widows.
Phase 4: Color & Contrast Audit
Check all color usage: palette consistency with DESIGN.md, text contrast meets WCAG AA (4.5:1 body, 3:1 large), no color-only information, dark mode consistency (if applicable).
Phase 5: Spacing & Layout Audit
Check spacing rhythm: consistent use of spacing scale, alignment to grid, no rogue margins/padding, responsive behavior at mobile/tablet/desktop breakpoints.
Phase 6: Interaction & AI Slop Audit
Check interactions: hover states, focus indicators, loading states, error states, empty states. Flag AI slop patterns: purple gradients, generic 3-column grids, uniform bubbly border-radius, centered-everything layouts.
Design Methodology
Design review state is stored per-project under ~/.avadbot/projects/$SLUG/.
Design reports are stored under .avadbot/design-reports/ in the project root.
When running design review:
- Read
DESIGN.mdat the project root (if it exists) — this is the source of truth for the design system. - Screenshots go to
.avadbot/design-reports/<branch>-<timestamp>/. - Compare screenshots against the DESIGN.md spec. Flag deviations, not preferences.
- Only flag issues you can see in the screenshot or verify in the diff. Never flag hypothetical issues.
Record baseline design score and AI slop score at end of Phase 6.
Output Structure
.avadbot/design-reports/
├── design-audit-{domain}-{YYYY-MM-DD}.md # Structured report
├── screenshots/
│ ├── first-impression.png # Phase 1
│ ├── {page}-annotated.png # Per-page annotated
│ ├── {page}-mobile.png # Responsive
│ ├── {page}-tablet.png
│ ├── {page}-desktop.png
│ ├── finding-001-before.png # Before fix
│ ├── finding-001-after.png # After fix
│ └── ...
└── design-baseline.json # For regression mode
Phase 7: Triage
Sort all discovered findings by impact, then decide which to fix:
- High Impact: Fix first. These affect the first impression and hurt user trust.
- Medium Impact: Fix next. These reduce polish and are felt subconsciously.
- Polish: Fix if time allows. These separate good from great.
Mark findings that cannot be fixed from source code (e.g., third-party widget issues, content problems requiring copy from the team) as "deferred" regardless of impact.
Phase 8: Fix Loop
For each fixable finding, in impact order:
8a. Locate source
# Search for CSS classes, component names, style files
# Glob for file patterns matching the affected page
- Find the source file(s) responsible for the design issue
- ONLY modify files directly related to the finding
- Prefer CSS/styling changes over structural component changes
8b. Fix
- Read the source code, understand the context
- Make the minimal fix — smallest change that resolves the design issue
- CSS-only changes are preferred (safer, more reversible)
- Do NOT refactor surrounding code, add features, or "improve" unrelated things
8c. Commit
git add <only-changed-files>
git commit -m "style(design): FINDING-NNN — short description"
- One commit per fix. Never bundle multiple fixes.
- Message format:
style(design): FINDING-NNN — short description
8d. Re-test
Navigate back to the affected page and verify the fix:
$B goto <affected-url>
$B screenshot "$REPORT_DIR/screenshots/finding-NNN-after.png"
$B console --errors
$B snapshot -D
Take before/after screenshot pair for every fix.
8e. Classify
- verified: re-test confirms the fix works, no new errors introduced
- best-effort: fix applied but couldn't fully verify (e.g., needs specific browser state)
- reverted: regression detected →
git revert HEAD→ mark finding as "deferred"
8e.5. Regression Test (design-review variant)
Design fixes are typically CSS-only. Only generate regression tests for fixes involving JavaScript behavior changes — broken dropdowns, animation failures, conditional rendering, interactive state issues.
For CSS-only fixes: skip entirely. CSS regressions are caught by re-running /avad-design-review.
If the fix involved JS behavior: follow the same procedure as /avad-qa Phase 8e.5 (study existing
test patterns, write a regression test encoding the exact bug condition, run it, commit if
passes or defer if fails). Commit format: test(design): regression test for FINDING-NNN.
8f. Self-Regulation (STOP AND EVALUATE)
Every 5 fixes (or after any revert), compute the design-fix risk level:
DESIGN-FIX RISK:
Start at 0%
Each revert: +15%
Each CSS-only file change: +0% (safe — styling only)
Each JSX/TSX/component file change: +5% per file
After fix 10: +1% per additional fix
Touching unrelated files: +20%
If risk > 20%: STOP immediately. Show the user what you've done so far. Ask whether to continue.
Hard cap: 30 fixes. After 30 fixes, stop regardless of remaining findings.
Phase 9: Final Design Audit
After all fixes are applied:
- Re-run the design audit on all affected pages
- Compute final design score and AI slop score
- If final scores are WORSE than baseline: WARN prominently — something regressed
Phase 10: Report
Write the report to both local and project-scoped locations:
Local: .avadbot/design-reports/design-audit-{domain}-{YYYY-MM-DD}.md
Project-scoped:
SLUG=$(basename "$(git remote get-url origin 2>/dev/null)" .git 2>/dev/null || echo "unknown")
mkdir -p ~/.avadbot/projects/$SLUG
Write to ~/.avadbot/projects/{slug}/{branch}-design-audit-{datetime}.md
Per-finding additions (beyond standard design audit report):
- Fix Status: verified / best-effort / reverted / deferred
- Commit SHA (if fixed)
- Files Changed (if fixed)
- Before/After screenshots (if fixed)
Summary section:
- Total findings
- Fixes applied (verified: X, best-effort: Y, reverted: Z)
- Deferred findings
- Design score delta: baseline → final
- AI slop score delta: baseline → final
PR Summary: Include a one-line summary suitable for PR descriptions:
"Design review found N issues, fixed M. Design score X → Y, AI slop score X → Y."
Phase 11: TODOS.md Update
If the repo has a TODOS.md:
- New deferred design findings → add as TODOs with impact level, category, and description
- Fixed findings that were in TODOS.md → annotate with "Fixed by /avad-design-review on {branch}, {date}"
Additional Rules (design-review specific)
- Clean working tree required. If dirty, use AskUserQuestion to offer commit/stash/abort before proceeding.
- One commit per fix. Never bundle multiple design fixes into one commit.
- Only modify tests when generating regression tests in Phase 8e.5. Never modify CI configuration. Never modify existing tests — only create new test files.
- Revert on regression. If a fix makes things worse,
git revert HEADimmediately. - Self-regulate. Follow the design-fix risk heuristic. When in doubt, stop and ask.
- CSS-first. Prefer CSS/styling changes over structural component changes. CSS-only changes are safer and more reversible.
- DESIGN.md export. You MAY write a DESIGN.md file if the user accepts the offer from Phase 2.