Audit frontend
Independent Agent Skills for repository analysis, planning, implementation, review, delivery, design, and runtime verification.
npx -y skills add idaibin/skills --skill audit-frontendAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 2 stars2 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.
What its author says it does
Copied from the file, not written here
Use when a known frontend surface needs a scoped, read-only audit of selected architecture, reuse, data/UI contract, build/tooling, accessibility, performance, or desktop-boundary profiles; use repo-review when a Worktree or immutable change basis needs coordination.
SKILL.md
10.9 KB, as published. Nobody here has run it
Frontend Audit
Overview
Audit frontend engineering from repository evidence rather than a universal framework or folder template. Detect the real framework and local API style, then select only the profiles required by the request. This skill is read-only: use it directly for frontend domain audits or as a bounded specialist under repo-review; use dev-frontend for requested changes.
Rule Priority
Resolve conflicts in this order:
- The user's current explicit request.
- Effective repository guidance, including
AGENTS.md,CLAUDE.md, and host-provided instructions when present. - Existing project code, components, and design system.
- Project documentation and interface contracts.
- This skill.
- External reference repositories.
Never rewrite a working local structure merely to match this skill or an external repository.
Workflow
- Read repository guidance, record the inspected revision plus relevant Worktree
state for reproducibility, run
git status --short, and identify the target app, project class, framework, package manager, scripts, documented architecture, and coordinating review owner when delegated. This inspection snapshot does not turn the audit into change attribution. - Consume current
repo-mapoutput or perform a targeted inventory of route/page entry, owning feature, analogous screens, UI primitives, layout/tokens, data/cache, forms/schema, state/store, tests, docs, and desktop adapter. Loadreferences/specification-authorities.mdwhen a selected profile depends on product or UI contracts; resolve them by meaning rather than filename, consume existing contracts directly, and hand off only unresolved decisions required by the audit outcome. - Classify the product surface as Web, high-density Console, or Tauri Desktop. Select exactly one framework profile per audited boundary: React, Vue Composition, Vue Options, or Repository-native Other. Select only styling profiles present in scope: Tailwind, CSS Modules, Sass/Less, CSS-in-JS, Ant Design, shadcn/ui, or a documented local system.
- Select one or more audit profiles; explicitly mark the rest
Out of scope:- Architecture/reuse: routes, features, shared layers, dependency direction, reuse, abstractions, structural lifecycle, and docs.
- State/data/contracts: server/cache, URL, form, shared business, local UI, reactivity, stores, schemas, requests, errors, cancellation, and native IPC contracts.
- Component/layout/design system: primitives, variants, tokens, density, DOM/CSS, spacing/scroll ownership, responsive behavior, and duplicated systems.
- Accessibility: semantics, keyboard, focus, labels, dialogs/popovers, errors, status communication, and async feedback.
- Performance: render/reactivity/data paths, request duplication, fan-out, bundle/runtime/IPC cost, long tasks, and measurement quality.
- Build/tooling: package/runtime pins, scripts, Vite/Rolldown, Webpack, Rspack, Next/Turbopack, plugins, resolution, environment, proxy, base, output, SSR/library, and deployment contracts.
- Desktop boundary: frontend adapter, Tauri/native commands, DTO/errors, progress, cancellation, window/menu/shortcut behavior, and real-client evidence.
- Map each selected responsibility to its page, feature, primitive, hook/composable, service, store, schema, local type, or desktop adapter owner.
- Compare the target with direct reuse candidates, the nearest analogous feature, documented contracts, and the existing component/layout system. For a selected Component/Layout profile, load
references/frontend-layout-governance.md, name the relevant geometry/scroll/layer owners, and trace only the applicable task-completion seam. - Trace only selected profiles without changing the repository. Do not perform shallow checks for excluded profiles merely to imply coverage. When code-quality concerns materially apply, load the shared code-quality reference with audit semantics and the selected framework/build reachability rules.
- Audit applicable loading, empty, error, partial, retry, optimistic, stale, cancellation, keyboard, focus, and long-task behavior within the selected profiles.
- Use non-mutating repository checks and request browser or real-client evidence only when a selected claim cannot be proven statically.
- Report severity-ranked findings with exact location, framework-specific evidence, impact, remediation direction, validation gap, selected profiles, and excluded profiles.
Modes
- Focused profile audit: one or two selected frontend profiles with bounded evidence.
- Combined frontend audit: interacting profiles such as state/data plus performance or layout plus accessibility, with explicit integration risk.
- Baseline architecture audit: architecture/reuse plus structural lifecycle and docs against real repository conventions.
- Scoped specialist subreview: inspect only the frontend paths or diff delegated by
repo-review; return domain findings without taking review coordination or Git ownership.
Hard Rules
- Select profiles before applying detailed checklists. Do not imply architecture, state, layout, accessibility, performance, and desktop were all reviewed when only some were evidenced.
- Do not recommend a shared component, hook, composable, store, service, schema, or layout system before searching existing implementations and recording why reuse or adaptation is insufficient.
- Load and apply only the selected framework, styling, architecture, state/data, build/tooling, accessibility/performance, desktop, or conditional code-quality reference. Do not cross-apply an unselected profile or imply its coverage.
- Require reachable source evidence for ownership and reuse, and direct runtime or measurement evidence when the selected claim cannot be established statically.
- Do not report spacing, density, fixed geometry, nested scrolling, or overlay
behavior from taste or pattern matching alone. Require a contract violation,
competing ownership, measured inconsistency, or concrete user impact; otherwise
record the visual judgment as
Not verified. - Do not refactor unrelated legacy code. File length alone never justifies splitting.
- Do not call code dead from text-search absence alone or prescribe one component per file, named exports, memoization, or a bundler migration as a universal React rule.
- Do not edit, stage, commit, post review comments, or deliver code in audit mode.
repo-reviewowns Worktree and immutable review coordination;repo-deliveryalone owns Git mutation. Route accepted remediation todev-frontend.
Do Not Use For
- Repository orientation, commands, reuse inventory, or docs/code alignment without an audit request; use
repo-map. - Frontend implementation, modification, or refactoring; use
dev-frontend. - Creating a repository-root
DESIGN.mdor selected-source Feature Specs; useui-spec. - Root-cause diagnosis of a concrete failure; use the host's built-in diagnosis under effective instructions.
- Owning Worktree readiness or immutable repository/range/PR/release coordination; use
repo-review, which may delegate a bounded frontend surface here. - Actual staging, commit, rebase/squash, push, or delivery; use
repo-delivery. - Browser or real desktop runtime operation; use
ops-browserorops-client. - A backend-only Rust implementation or audit; use
dev-rustoraudit-rust.
Output Contract
Start with the inspection snapshot, selected product, framework, styling, and audit profiles; explicitly excluded audit profiles; coordinating owner when delegated; and severity-ranked findings. For each finding, report impact, exact location, profile-specific evidence, recommended remediation owner/direction, and validation gap. Then summarize inspected rules/files, existing candidates, ownership map, selected state/data/layout/accessibility/performance/build/desktop evidence, component/injection/router/lifetime contracts, Google DESIGN.md token/prose consistency, official lint evidence, implementation drift from source, commands/runtime evidence, and all Not found or Not verified residual risks.
References
- Read architecture-and-ownership.md for discovery, directories, routes, pages, and file responsibility.
- Read specification-authorities.md when
product requirements, root
DESIGN.md, slice UI contracts, or their drift are in the selected audit scope. - Read frontend-layout-governance.md for evidence and false-positive rules when Component/Layout is selected.
- Read framework-profiles.md for React, Vue Composition, Vue Options, and repository-native audit rules.
- Read component-system.md for primitives, feature components, composition, variants, and reuse decisions.
- Read state-data-and-forms.md for state classes, requests, caching, feedback states, services, schemas, and forms.
- Read styling-and-layout.md for tokens, spacing, responsive layout, Console density, DOM, and CSS ownership.
- Read styling-systems.md for Tailwind, CSS Modules, Sass/Less, CSS-in-JS, Ant Design, shadcn/ui, and mixed-stack audit rules.
- Read desktop-tauri.md for frontend adapters, commands, Rust boundaries, windows, shortcuts, progress, and cancellation.
- Read accessibility-and-performance.md for keyboard/focus checks and evidence-based performance review.
- Read build-tooling.md when package scripts, bundler configuration, Vite/Rolldown, framework build behavior, or deployment output is selected.
- Read code-quality.md when duplication, dead/unused code, abstraction quality, hidden coupling, or maintainability is materially in scope.
- Read review-checklist.md for the profile-driven audit sequence.
- Read anti-patterns.md for detectable failure patterns and corrective decisions.
- Read reference-corpus.md for official source evidence, adopted rules, and rejected cargo-cult choices.
- Read usage.md for trigger, routing, and profile examples.
- Read eval-cases.md for trigger, non-trigger, scenario, quality, and scoring evals.
- See references/codebase-design.md only for a selected public-module, seam, abstraction, locality, or testability audit.