Frontend Review

Frontend Review is a skill for Claude Code, Codex from theashishmaurya/pr-review-agent. It costs 13 tokens per session (571 once invoked), scanned A, original, MIT.

A review guide for React and TypeScript frontend code. React builds user interfaces from components, while TypeScript adds type checking to JavaScript.

In plain words
What is it for?
Use it to review React components, hooks, state, rendering performance, TypeScript types, component design, and accessibility features such as labels, focus, and alternative text.
Why use it?
It helps uncover bugs caused by incorrect state or hooks, unnecessary work, unclear component structure, missing types, and inaccessible interfaces.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review React components, hooks, state, rendering performance, TypeScript types, component design, and accessibility features such as labels, focus, and alternative text.

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

Made for: Claude Code, Codex.

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 Review

README.md
[![agentmods](https://agentmods.dev/badge/skills/theashishmaurya/pr-review-agent/frontend/github.svg)](https://agentmods.dev/skills/theashishmaurya/pr-review-agent/frontend)
Your own site
<a href="https://agentmods.dev/skills/theashishmaurya/pr-review-agent/frontend"><img src="https://agentmods.dev/badge/skills/theashishmaurya/pr-review-agent/frontend/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 Review

Your own site · 80×15
<a href="https://agentmods.dev/skills/theashishmaurya/pr-review-agent/frontend"><img src="https://agentmods.dev/badge/skills/theashishmaurya/pr-review-agent/frontend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 571 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.00013 $0.00571
Opus 5.5 $0.00005 $0.00228
Sonnet 5.5 $0.00003 $0.00114
Haiku 4.5 $0.00001 $0.00057

Measured 2mo ago against content hash 9ad95cba3458, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Frontend Review 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 2mo 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/SKILL.md · 98 lines

What it actually says

Frontend Review Skill

Review React/TypeScript code for patterns, performance, and accessibility.

React Patterns

Hooks

  • Correct dependency arrays in useEffect, useMemo, useCallback
  • No stale closures in event handlers
  • Custom hooks follow naming convention (use*)
  • Rules of Hooks followed

State Management

  • State minimized (derived values computed)
  • Lifting state up when needed
  • Proper use of context vs prop drilling
  • State updates immutable

Performance

  • React.memo when appropriate
  • useMemo for expensive computations
  • useCallback for event handlers passed to children
  • List items have stable keys
  • No inline object/array creation in render

Component Structure

  • Single responsibility per component
  • Component composition over inheritance
  • Props interface defined for TypeScript
  • Default values for optional props

TypeScript

  • No any types without justification
  • Proper null/undefined handling
  • Generic constraints when needed
  • Type guards for runtime checks
  • Exported types for public APIs

Accessibility (a11y)

  • Images have alt text
  • Form inputs have labels
  • Focus management
  • ARIA attributes when semantic HTML insufficient
  • Color contrast sufficient
  • Keyboard navigation works

CSS/Styling

  • No inline styles for dynamic values (use CSS variables)
  • Responsive design for mobile
  • No magic numbers (use design tokens)
  • Proper z-index layering

Common Issues

Memory Leaks

// ❌ Missing cleanup
useEffect(() => {
  subscribe(id, callback);
}, []);

// ✅ With cleanup
useEffect(() => {
  return subscribe(id, callback);
}, []);

Stale State

// ❌ Stale closure
const handleClick = () => console.log(count);

// ✅ Use ref or state updater
const countRef = useRef(count);
const handleClick = () => console.log(countRef.current);

Severity Guide

🚨 Error: Runtime bugs, security issues, broken functionality ⚠️ Warning: Performance issues, anti-patterns 💡 Info: Style improvements, best practices

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. 2mo ago First seen · 98 lines · 13 tokens per session scan A 9ad95cba3458

Subscribe to this mod's changes

Frontend Review is a skill published in the GitHub repository theashishmaurya/pr-review-agent (2 stars, last pushed 8mo ago), licensed MIT. It adds 13 tokens to every session and 571 once invoked, about $0.0001 per session on Opus 5.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

recipe-front-review

Reviews completed frontend implementation for governing-source compliance, scope economy, repository quality, and security, then applies user-approved React corrections.

shinpr/claude-code-workflows · 29 tokens

review-system-design

Review a system design someone else provided - screenshot, drawio, Mermaid, slides, doc, or IaC - by extracting it into a confirmed fact sheet, then scoring it on the nine axes.

HoangNguyen0403/agent-skills-standard · 44 tokens

codebase-review

Review an entire codebase for architecture, engineering health, and exploitable risk; generate a prioritized remediation plan, an evidence-anchored system knowledge document, or both.

HoangNguyen0403/agent-skills-standard · 38 tokens

review-ticket

Review a ticket or PR through focused specialist lenses: scope, architecture, security, tests, AC coverage, and PR metadata.

HoangNguyen0403/agent-skills-standard · 28 tokens

common-feedback-reporter

Pre-write audit for skill violations: checks planned code against loaded skill anti-patterns before any file write. Use when writing Flutter/Dart/TS code or editing SKILL.md files with active project skills. Load as composite; on auto-fixed violation, also load +common/common-learning-log.

HoangNguyen0403/agent-skills-standard · 63 tokens

react-patterns

React 19 performance patterns and composition architecture for Vite + Cloudflare projects. 50+ rules ranked by impact — eliminating waterfalls, bundle optimisation, re-render prevention, composition over boolean props, server/client boundaries, and React 19 APIs. Use when writing, reviewing, or refactoring React…

jezweb/claude-skills · 110 tokens