frontend-react

frontend-react is a skill for Claude Code from ProjAnvil/MindForge. It costs 54 tokens per session (1,171 once invoked), scanned A, a copy of frontend-react, MIT.

A guide for building web applications with React and Next.js, a framework that adds routing, server-side work, and APIs to React.

In plain words
What is it for?
Use it to create React components, Next.js pages and API handlers, server actions, responsive Tailwind layouts, shadcn/ui components, and complex state management.
Why use it?
It helps organize user interfaces, server code, page loading, metadata, and shared state in one application structure.

Skill for Claude Code

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

Part of the mindforge-en plugin — 19 skills, 9 agents shipped together

Good fit Use it to create React components, Next.js pages and API handlers, server actions, responsive Tailwind layouts, shadcn/ui components, and complex state management.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/projanvil/mindforge/frontend-react
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 ProjAnvil/MindForge --skill frontend-react
Clone the repo
git clone --depth 1 https://github.com/ProjAnvil/MindForge

Made for: Claude Code.

Or install mindforge-en, the plugin that ships this one along with the rest of its 19 skills, 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-react

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/projanvil/mindforge/frontend-react"><img src="https://agentmods.dev/badge/skills/projanvil/mindforge/frontend-react.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,171 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 100% copy Near-identical to another mod 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.00054 $0.01171
Opus 5.5 $0.00022 $0.00468
Sonnet 5.5 $0.00011 $0.00234
Haiku 4.5 $0.00005 $0.00117

Measured 6d ago against content hash c6a12cf60bdb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

frontend-react 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 6d 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.

Origin

This is a copy

100% identical to frontend-react — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/mindforge-en/skills/frontend-react/SKILL.md · 143 lines

How it starts

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

React Development Skill

Comprehensive skill for modern React development, focusing on Next.js, TypeScript, Tailwind CSS, and the wider React ecosystem.

When to Use

Trigger scenarios — use this skill when the user asks to:

  • Build React or Next.js applications
  • Create UI components with shadcn/ui or Tailwind CSS
  • Work with React state management or Server Components

Technology Stack

Core Framework: React + Next.js

React Fundamentals
  • Component-Based: Declarative UI building blocks
  • Hooks: Functional state and side-effect management (useState, useEffect, useContext)
  • Virtual DOM: Efficient reconciliation and rendering
  • React Server Components (RSC): Server-side rendering with zero client-side bundle size for static content
Next.js Features (App Router)
  • App Router: File-system based routing in app/ directory
  • Server Actions: Direct server-side mutations from client components
  • Streaming SSR: Progressive rendering with Suspense
  • Metadata API: SEO and social share optimization
  • Route Handlers: API endpoints (GET, POST, etc.) in route.ts files
  • Middleware: Request interception and processing

UI Framework: Tailwind CSS + shadcn/ui

Tailwind CSS
  • Utility-first CSS framework
  • Responsive design with prefixes (md:, lg:)
  • Custom configuration via tailwind.config.ts
  • Dark mode support
shadcn/ui
  • Reusable components built with Radix UI and Tailwind CSS
  • Accessible and customizable
  • "Own your code" philosophy (components copied to your project)
  • Key Components: Button, Dialog, Form, Dropdown, Card, Sheet

State Management

  • Local State: useState, useReducer
  • Global State: React Context, Zustand (for lightweight global state)
  • Server State: TanStack Query (React Query) for async data fetching and caching

Project Architecture

Recommended Directory Structure (Next.js App Router)

src/
├── app/
│   ├── layout.tsx         # Root layout
│   ├── page.tsx           # Home page
│   ├── globals.css        # Global styles
│   ├── (auth)/            # Route group (doesn't affect URL path)
│   │   ├── login/
│   │   │   └── page.tsx
│   │   └── register/
│   │       └── page.tsx
│   └── api/               # API routes
├── components/
│   ├── ui/                # shadcn/ui components
│   │   ├── button.tsx
│   │   └── ...
│   ├── Navbar.tsx
│   └── Footer.tsx
├── lib/
│   ├── utils.ts           # Utility functions (cn, etc.)
│   └── db.ts              # Database connection
└── hooks/                 # Custom React hooks
    └── use-toast.ts

Read the full file on GitHub · 143 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago Changed · +8 lines c6a12cf60bdb
  2. 1mo ago First seen · 135 lines · 54 tokens per session scan A c98163ef72f5

Subscribe to this mod's changes

frontend-react is a skill published in the GitHub repository ProjAnvil/MindForge (3 stars, last pushed yesterday), licensed MIT. It adds 54 tokens to every session and 1,171 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to frontend-react, differing in 8 lines, and is treated as a copy.

Related

Other skills, from other repositories

react-patterns

React 18/19 patterns including hooks discipline, server/client component boundaries, Suspense + error boundaries, form actions, data fetching, state management decision trees, and accessibility-first composition. Use when writing or reviewing React components.

affaan-m/ECC · 49 tokens

frontend

Builds, styles, and polishes web UI and UX. Use for any frontend, page, component, styling, layout, animation, or visual-quality task, or when asked to make an interface look or feel a certain way.

code-yeongyu/oh-my-openagent · 49 tokens

remotion

Render a short (10s) video on any topic with Remotion - the agent writes a storyboard JSON, a bundled React/Remotion project renders it to an MP4, and the clip is committed to the repo and delivered by URL. No editor, no external generative API.

aeonfun/aeon · 61 tokens

webmcp-setup

Bootstraps webmcp-react into an existing React or Next.js app. Installs dependencies, adds WebMCPProvider, creates a first tool, and configures the MCP client bridge. Use when the user wants to set up WebMCP, add MCP tools to their app, integrate webmcp-react, or make their React app accessible to AI agents.

agentcathq/webmcp-react · 80 tokens

modern-web-development

Modern web development best practices for TypeScript, Next.js 14, React Server Components, Supabase, GraphQL, and Tailwind CSS.

Mindrally/skills · 33 tokens

optimized-nextjs-typescript

Optimized Next.js TypeScript best practices with modern UI/UX, focusing on performance, security, and clean architecture.

Mindrally/skills · 29 tokens