frontend-audit

frontend-audit is a skill for Claude Code from ShaheerKhawaja/ProductionOS. It costs 42 tokens per session (545 once invoked), scanned A, original, MIT.

An automatic quality check for React, Vue, and Svelte user interfaces, including their styles and page layouts.

In plain words
What is it for?
Reviewing components, keyboard and screen-reader access, responsive behavior, loading and error states, bundle and image performance, and design-system consistency.
Why use it?
It helps catch accessibility, mobile layout, performance, error-state, typing, and design-consistency problems while frontend code is being edited.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Part of the productionos plugin — 4 skills, 41 commands, 11 agents shipped together

Good fit Reviewing components, keyboard and screen-reader access, responsive behavior, loading and error states, bundle and image performance, and design-system consistency.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shaheerkhawaja/productionos/frontend-audit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ShaheerKhawaja/ProductionOS --skill frontend-audit
Clone the repo
git clone --depth 1 https://github.com/ShaheerKhawaja/ProductionOS

Made for: Claude Code.

Or install productionos, the plugin that ships this one along with the rest of its 4 skills, 41 commands, 11 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for frontend-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/shaheerkhawaja/productionos/frontend-audit/github.svg)](https://agentmods.dev/skills/shaheerkhawaja/productionos/frontend-audit)
Your own site
<a href="https://agentmods.dev/skills/shaheerkhawaja/productionos/frontend-audit"><img src="https://agentmods.dev/badge/skills/shaheerkhawaja/productionos/frontend-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for frontend-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/shaheerkhawaja/productionos/frontend-audit"><img src="https://agentmods.dev/badge/skills/shaheerkhawaja/productionos/frontend-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 545 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.00545
Opus 5 $0.00021 $0.00272
Sonnet 5 $0.00008 $0.00109
Haiku 4.5 $0.00004 $0.00055

Measured 11d ago against content hash 8d132436ae63, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

frontend-audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/frontend-audit/SKILL.md · 62 lines

What it actually says

ProductionOS Frontend Audit

Auto-Triggered Checklist

When this skill activates on a frontend file:

  1. Component Structure — Composition over prop drilling, proper state management
  2. Accessibility — ARIA labels, keyboard navigation, color contrast, semantic HTML
  3. Responsive Design — Mobile-first breakpoints, touch targets, viewport handling
  4. Performance — Lazy loading, code splitting, image optimization, bundle size
  5. Error States — Empty states, loading skeletons, error boundaries, offline handling
  6. Design System — Token consistency, spacing scale, typography hierarchy
  7. TypeScript — Strict typing, no any, proper interfaces for props

Quality Dimensions (score 1-10)

Dimension What to Check
Visual Design Color system, typography, spacing, hierarchy, dark mode
Component Architecture Composition, reusability, state management
Performance Bundle size, LCP, FID, CLS, lazy loading
Accessibility WCAG 2.1 AA, keyboard nav, screen readers
Responsive Mobile-first, breakpoints, touch targets
Animation Transitions, micro-interactions, loading states
Error States Empty, error, loading, offline, stale data
Code Quality TypeScript strict, naming, DRY, file structure

Red Flags — STOP If You See These

  • Components with more than 5 levels of prop drilling
  • Missing loading/error/empty states on data-fetching components
  • Hardcoded pixel values instead of design tokens
  • No keyboard navigation support on interactive elements
  • Images without alt text or width/height attributes
  • Client-side data fetching without SWR/React Query caching
  • Inline styles instead of design system classes
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 62 lines · 42 tokens per session scan A 8d132436ae63

Subscribe to this mod's changes

frontend-audit is a skill published in the GitHub repository ShaheerKhawaja/ProductionOS (8 stars, last pushed 4mo ago), licensed MIT. It adds 42 tokens to every session and 545 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

design-taste-frontend

Senior UI/UX Engineer. Architect digital interfaces overriding default LLM biases. Enforces metric-based rules, strict component architecture, CSS hardware acceleration, and balanced design engineering.

ne11nn/cantos-plugin · 40 tokens

ui-refactor

Tactical user interface design guide for fixing layouts, selecting colors/fonts, and creating professional UIs. Use when the user asks to "make this look better," needs help with CSS/styling decisions, wants to create a design system, or needs to fix a cluttered interface.

ne11nn/cantos-plugin · 61 tokens

frontend-aesthetics

How to make frontends that look genuinely designed instead of generic "AI slop", and how to verify UI work the pipeline can't catch with a test suite. Load whenever a task builds or restyles a user-facing surface — a page, a component, a full redesign, a dashboard, a marketing site. Covers distinctive typography…

jjilli/fable-flow · 100 tokens

eval-ui-ux

Specialized UI/UX evaluator for the Evaluate-Loop. Use this for evaluating UI shell tracks, design system tracks, screen implementation tracks, or any track where the primary deliverable is visual/interactive UI. Checks design system adherence, visual consistency, layout structure, responsive behavior, component…

Ibrahim-3d/orchestrator-supaconductor · 119 tokens

redesign-existing-projects

Upgrades existing websites and apps to premium quality. Audits current design, identifies generic AI patterns, and applies high-end design standards without breaking functionality. Works with any CSS framework or vanilla CSS.

biggora/dev-team · 45 tokens

ui-expert

Build, refine, or review web UI/UX with strong visual taste, interaction design, accessibility, and front-end implementation quality. Use whenever the user wants a page, component, layout, design system, dashboard, landing page, form, navigation, responsive behavior, styling pass, UX polish, accessibility improvement…

biggora/dev-team · 104 tokens