frontend-audit

frontend-audit is a skill for Claude Code from boparaiamrit/skills-by-amrit. It costs 48 tokens per session (3,774 once invoked), scanned A, original, MIT.

A review of frontend code, including UI components, application state, accessibility, visual consistency, bundle size, and rendering speed.

In plain words
What is it for?
It is for auditing React, Vue, Svelte, or plain JavaScript interfaces and investigating UI quality, architecture, or performance problems.
Why use it?
It helps find interface bugs, confusing loading and error states, accessibility problems, and structural issues that affect users directly.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the skills-by-amrit plugin — 33 skills, 34 commands, 9 agents shipped together

Good fit It is for auditing React, Vue, Svelte, or plain JavaScript interfaces and investigating UI quality, architecture, or performance problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/boparaiamrit/skills-by-amrit/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 boparaiamrit/skills-by-amrit --skill frontend-audit
Clone the repo
git clone --depth 1 https://github.com/boparaiamrit/skills-by-amrit

Made for: Claude Code.

Or install skills-by-amrit, the plugin that ships this one along with the rest of its 33 skills, 34 commands, 9 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/boparaiamrit/skills-by-amrit/frontend-audit/github.svg)](https://agentmods.dev/skills/boparaiamrit/skills-by-amrit/frontend-audit)
Your own site
<a href="https://agentmods.dev/skills/boparaiamrit/skills-by-amrit/frontend-audit"><img src="https://agentmods.dev/badge/skills/boparaiamrit/skills-by-amrit/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/boparaiamrit/skills-by-amrit/frontend-audit"><img src="https://agentmods.dev/badge/skills/boparaiamrit/skills-by-amrit/frontend-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,774 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.00048 $0.03774
Opus 5 $0.00024 $0.01887
Sonnet 5 $0.00010 $0.00755
Haiku 4.5 $0.00005 $0.00377

Measured 9d ago against content hash d7214226c9a3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 9d 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.

skills/frontend-audit/SKILL.md · 346 lines

How it starts

The opening of the file, as written. The whole thing — 346 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Frontend Audit

Overview

Frontend code is the user's direct experience. Architecture problems here manifest as bugs users can see and feel. A broken backend returns an error; a broken frontend returns confusion, frustration, and churn.

Core principle: The UI is the product. If the frontend is broken, nothing else matters to users.

The Iron Law

NO COMPONENT WITHOUT CLEAR RESPONSIBILITY. NO USER INPUT WITHOUT VALIDATION. NO ASYNC OPERATION WITHOUT ALL THREE STATES (LOADING, ERROR, EMPTY).

When to Use

  • Auditing frontend architecture
  • Reviewing component design
  • Investigating UI bugs or inconsistencies
  • Before major frontend refactoring
  • Performance-related UI complaints
  • During any codebase audit
  • After onboarding a new frontend framework

When NOT to Use

  • Pure backend API projects with no frontend
  • CLI tools (use architecture-audit instead)
  • Static marketing sites with no interactivity (a quick review of HTML semantics suffices)
  • If only a single isolated component needs review (use code-review instead)

Anti-Shortcut Rules

YOU CANNOT:
- Say "components look fine" — open each component file and check its line count, prop count, and responsibilities
- Say "state management is handled" — trace where each piece of state lives and why
- Say "design system is consistent" — grep for hardcoded values, check token adoption
- Judge accessibility by looking at code alone — test keyboard navigation manually
- Skip the bundle analysis — measure actual sizes, not guesses
- Trust component names — read the render method to understand true responsibility
- Say "similar to above" — each component gets its own row in the audit table

Common Rationalizations (Don't Accept These)

Rationalization Reality
"It works, so it's fine" Working ≠ maintainable. 600-line components work but are unmaintainable.
"We'll refactor later" Later never comes. Component debt compounds faster than financial debt.
"Only one person works on the frontend" That person will leave. Or get sick. Or forget how it works in 6 months.
"It's just a simple form" Forms are the most complex UI pattern — validation, error states, accessibility, submission states.
"We don't need loading states yet" Users experience blank screens as crashes. Loading states are not optional.
"Design tokens are overkill for this project" Hardcoded values diverge within weeks. Tokens prevent visual entropy.
"Screen readers aren't our target audience" 15% of users have disabilities. It's also a legal requirement in many jurisdictions.

Read the full file on GitHub · 346 lines

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. 9d ago First seen · 346 lines · 48 tokens per session scan A d7214226c9a3

Subscribe to this mod's changes

frontend-audit is a skill published in the GitHub repository boparaiamrit/skills-by-amrit (5 stars, last pushed 6mo ago), licensed MIT. It adds 48 tokens to every session and 3,774 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-09-03.

Related

Other skills, from other repositories

moai-domain-uiux

UI/UX design systems specialist covering accessibility, icons, theming, design tokens, and user experience patterns. Use when working on design systems, WCAG compliance, ARIA patterns, or dark mode theming.

modu-ai/moai-adk · 49 tokens

moai-domain-frontend

Frontend development specialist covering React 19, Next.js 16, Vue 3.5, and modern UI/UX patterns with component architecture. Use when building web UIs, implementing components, optimizing frontend performance, or integrating state management.

modu-ai/moai-adk · 54 tokens

figma-codegen

Generate framework-aware code from a Figma design. Reads the project's stack profile and emits code matching the existing framework (React/Vue/Svelte/Next/etc.) and styling (Tailwind/CSS/CSS-in-JS), reusing existing components and design tokens instead of regenerating from scratch. Triggers whenever the user wants a…

awdr74100/figwright · 145 tokens

component-template-generator

Generates starter component code using design tokens. Creates React/Vue/Svelte components with proper token usage, variants, and accessibility built in.

curiositech/some_claude_skills · 32 tokens

native-app-designer

Creates breathtaking iOS/Mac and web apps with organic, non-AI aesthetic. Expert in SwiftUI, React animations, physics-based motion, and human-crafted design. Use for iOS/Mac app UI, React/Vue animations, native-feel web apps, physics-based motion design. Activate on "SwiftUI", "iOS app", "native app", "React…

curiositech/some_claude_skills · 128 tokens

frontend-ux-engineer

Use for frontend features, Next.js/React/Vue/Svelte UI, accessibility, responsive layout, design polish, state handling, forms, visual QA, or product workflow improvements.

DominikTobureto/awesome-grok-build · 42 tokens