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.
npx skills add boparaiamrit/skills-by-amrit --skill frontend-auditgit clone --depth 1 https://github.com/boparaiamrit/skills-by-amritWrote 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.
[](https://agentmods.dev/skills/boparaiamrit/skills-by-amrit/frontend-audit)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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-auditinstead) - Static marketing sites with no interactivity (a quick review of HTML semantics suffices)
- If only a single isolated component needs review (use
code-reviewinstead)
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. |
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.
- 9d ago First seen · 346 lines · 48 tokens per session scan A d7214226c9a3
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.
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.
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.
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…
component-template-generator
Generates starter component code using design tokens. Creates React/Vue/Svelte components with proper token usage, variants, and accessibility built in.
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…
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.