agentleFS
Leo-AtienzaLeo-Atienza/atlas-claude/skills/_archived/design-audit/SKILL.md

design-audit

Skill4 starsChanged 4 months agoMITView on GitHub

Run technical quality checks across accessibility, performance, theming, responsive design, and anti-patterns. Generates a scored report with P0-P3 severity ratings and actionable plan. Use when the user wants an accessibility check, performance audit, or technical quality review of a frontend interface.

13 other projects use a version of this, 2 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use ui-ux-pro-max.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • StrayDragonSkill

    ui-ux-pro-max

    UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 13 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run systematic technical quality checks and generate a comprehensive report.

    line 12
  2. Distinctive:

    If the page is deployed and accessible via URL, run a Lighthouse MCP audit before the code-level scan to gather runtime data:

    line 18
  3. Distinctive:

    Use Lighthouse MCP to audit the URL for Performance, Accessibility, SEO, Best Practices

    line 19
  4. Distinctive:

    Use these as ground truth when scoring the code-level dimensions below — Lighthouse runtime data takes precedence over code-level guesses …

    line 21
  5. Distinctive:

    If no URL is available (local dev only), skip this step and proceed with code-level analysis.

    line 23
  6. Distinctive:

    Run comprehensive checks across 5 dimensions.

    line 27
  7. Distinctive:

    Check against ALL the DON'T guidelines in the frontend-design skill.

    line 55

“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Preparation

Load the frontend-design skill (SK-005) — it contains design principles, anti-patterns, and reference modules that this audit checks against.


Run systematic technical quality checks and generate a comprehensive report. Don't fix issues — document them for other skills to address.

This is a code-level audit, not a design critique. Check what's measurable and verifiable in the implementation.

Runtime Audit (optional — if a deployed URL is available)

If the page is deployed and accessible via URL, run a Lighthouse MCP audit before the code-level scan to gather runtime data:

  1. Use Lighthouse MCP to audit the URL for Performance, Accessibility, SEO, Best Practices
  2. Note the Lighthouse scores and any critical axe-core violations
  3. Use these as ground truth when scoring the code-level dimensions below — Lighthouse runtime data takes precedence over code-level guesses for Performance and Accessibility scores

If no URL is available (local dev only), skip this step and proceed with code-level analysis.

Diagnostic Scan

Run comprehensive checks across 5 dimensions. Score each dimension 0-4.

1. Accessibility (A11y)

Check for: Contrast ratios < 4.5:1, missing ARIA (roles, labels, states), keyboard navigation gaps (focus indicators, tab order, traps), semantic HTML issues (heading hierarchy, landmarks, divs-as-buttons), missing/poor alt text, form issues (inputs without labels, poor error messaging).

Score: 0=Inaccessible (fails WCAG A), 1=Major gaps, 2=Partial, 3=Good (WCAG AA mostly met), 4=Excellent (WCAG AA fully met)

2. Performance

Check for: Layout thrashing (read/write loops), expensive animations (animating width/height instead of transform/opacity), missing lazy loading, unnecessary imports, unnecessary re-renders, missing memoization.

Score: 0=Severe issues, 1=Major problems, 2=Partial, 3=Good, 4=Excellent

3. Theming

Check for: Hard-coded colors not using tokens, broken dark mode, inconsistent token usage, values that don't update on theme change.

Score: 0=No theming, 1=Minimal tokens, 2=Partial, 3=Good, 4=Excellent

4. Responsive Design

Check for: Fixed widths that break on mobile, touch targets < 44x44px, horizontal scroll/overflow, text scaling failures, missing breakpoints.

Score: 0=Desktop-only, 1=Major issues, 2=Partial, 3=Good, 4=Excellent

5. Anti-Patterns (CRITICAL)

Check against ALL the DON'T guidelines in the frontend-design skill. Look for AI slop tells: AI color palette, gradient text, glassmorphism, hero metrics, identical card grids, generic fonts, gray on color, nested cards, bounce easing, redundant copy.

Score: 0=AI slop gallery (5+ tells), 1=Heavy AI aesthetic (3-4), 2=Some tells (1-2), 3=Mostly clean, 4=No AI tells

Generate Report

Audit Health Score

#DimensionScoreKey Finding
1Accessibility?[most critical issue or "—"]
2Performance?
3Responsive Design?
4Theming?
5Anti-Patterns?
Total??/20[Rating band]

Rating bands: 18-20 Excellent, 14-17 Good, 10-13 Acceptable, 6-9 Poor, 0-5 Critical

Anti-Patterns Verdict

Start here. Pass/fail: Does this look AI-generated? List specific tells. Be brutally honest.

Executive Summary

  • Audit Health Score: ??/20 ([rating band])
  • Total issues found (count by severity: P0/P1/P2/P3)
  • Top 3-5 critical issues
  • Recommended next steps

Detailed Findings by Severity

Tag every issue with P0-P3 severity:

  • P0 Blocking: Prevents task completion — fix immediately
  • P1 Major: Significant difficulty or WCAG AA violation — fix before release
  • P2 Minor: Annoyance, workaround exists — fix in next pass
  • P3 Polish: Nice-to-fix, no real user impact — fix if time permits

For each issue: [P?] Issue name — Location, Category, Impact, Standard violated, Recommendation.

Patterns & Systemic Issues

Identify recurring problems that indicate systemic gaps: "Hard-coded colors in 15+ components," "Touch targets consistently <44px."

Positive Findings

Note what's working well — good practices to maintain and replicate.

Recommended Actions

List fixes in priority order (P0 first):

  1. [P?] Brief description (specific context from findings)

End with design-polish as the final step if any fixes were recommended.

NEVER: Report issues without explaining impact. Provide generic recommendations. Skip positive findings. Report false positives without verification.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.