react-frontend

react-frontend is a skill for Claude Code, Codex from JansenAnalytics/claudex. It costs 50 tokens per session (6,709 once invoked), scanned A, original, MIT.

A set of conventions for building data-heavy applications with React, a JavaScript library for user interfaces. It describes a specific setup using React, Vite, TypeScript, Tailwind CSS, routing, and charts.

In plain words
What is it for?
Use it when creating React dashboards, trading interfaces, or analytics tools, especially projects built with the listed frontend technologies.
Why use it?
It provides shared decisions for building dashboards and analytics interfaces, while clarifying when another approach is better suited.

Skill for Claude CodeCodex

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

Good fit Use it when creating React dashboards, trading interfaces, or analytics tools, especially…

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

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 react-frontend

README.md
[![agentmods](https://agentmods.dev/badge/skills/jansenanalytics/claudex/react-frontend.svg)](https://agentmods.dev/skills/jansenanalytics/claudex/react-frontend)
Your own site
<a href="https://agentmods.dev/skills/jansenanalytics/claudex/react-frontend"><img src="https://agentmods.dev/badge/skills/jansenanalytics/claudex/react-frontend.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,709 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00050 $0.06709
Opus 5 $0.00025 $0.03354
Sonnet 5 $0.00010 $0.01342
Haiku 4.5 $0.00005 $0.00671

Measured 3d ago against content hash df0f37712f84, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

react-frontend scanned grade A with 1 finding 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 3d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

const promise = fetch(url, {
skills/react-frontend/SKILL.md · 837 lines

How it starts

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

React Frontend Skill

Opinionated guide for building data-heavy React applications — dashboards, trading UIs, analytics tools. Based on the 2025/2026 React ecosystem and our actual stack (React 19 + Vite + TypeScript + Tailwind).

Companion skill: Use with frontend-design for aesthetics guidance.


Our Stack

This is what we use and what this skill optimizes for:

Layer Choice Why
Framework React 19 + Vite 7 (SPA) Fast dev, no SSR needed for dashboards
Language TypeScript (strict) Non-negotiable for data-heavy apps
Styling Tailwind CSS 4 Utility-first, consistent, fast iteration
Routing React Router 7 Mature, well-known, sufficient for SPAs
Charts Lightweight Charts (TradingView) Best for financial/OHLCV data
Build Vite + vite preview for prod Fast HMR, good tree-shaking

When NOT to use this stack

  • Need SSR/SEO: Use Next.js instead
  • Need server components: Use Next.js App Router
  • Simple marketing site: Use Astro
  • Mobile app: Use React Native (different skill)

Project Structure

src/
├── App.tsx                  # Root component, router setup
├── main.tsx                 # Entry point
├── types/                   # Shared TypeScript types
│   ├── index.ts             # Re-exports
│   └── market.ts            # Domain-specific types
├── hooks/                   # Custom hooks (data fetching, subscriptions)
│   ├── useApi.ts            # Generic API fetcher
│   ├── useBchUsd.ts         # Domain-specific data hook
│   └── useSubscription.ts   # WebSocket/SSE subscriptions
├── context/                 # React Context providers (sparingly)
│   ├── CurrencyContext.tsx
│   └── ThemeContext.tsx
├── components/
│   ├── shared/              # Reusable UI primitives
│   │   ├── Card.tsx
│   │   ├── Table.tsx
│   │   ├── LoadingSpinner.tsx
│   │   └── ErrorBoundary.tsx
│   ├── layout/              # App shell, navigation
│   │   ├── AppLayout.tsx
│   │   ├── Sidebar.tsx
│   │   └── TopNav.tsx
│   ├── dashboard/           # Feature: main dashboard
│   │   ├── AnalyticsDashboard.tsx
│   │   ├── PriceChart.tsx
│   │   ├── StatsPanel.tsx
│   │   └── TokenSelector.tsx
│   ├── market/              # Feature: market overview
│   │   ├── MarketDashboard.tsx
│   │   ├── CorrelationMatrix.tsx
│   │   └── HeatmapView.tsx
│   └── chain/               # Feature: chain analytics
│       ├── ChainDashboard.tsx
│       └── TraderGrowthChart.tsx
├── lib/                     # Pure utility functions (no React)
│   ├── api.ts               # API client
│   ├── formatters.ts        # Number/date formatting
│   └── colors.ts            # Color scales for charts
└── assets/                  # Static files

Read the full file on GitHub · 837 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. 3d ago First seen · 837 lines · 50 tokens per session scan A df0f37712f84

Subscribe to this mod's changes

react-frontend is a skill published in the GitHub repository JansenAnalytics/claudex (5 stars, last pushed 2mo ago), licensed MIT. It adds 50 tokens to every session and 6,709 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

component-search

Search 21st.dev component registry for production-ready React components. Finds components by natural language description, filters by framework and style system, returns ranked results with install instructions. Use when looking for UI components, finding alternatives to existing components, or sourcing design system…

yonatangross/orchestkit · 57 tokens

codegen-react

Scaffold and iterate on Vite + React applications.

initializ/forge · 14 tokens

weapp-vite-react-best-practices

A Chinese-language guide for building React 19 WeChat mini programs with weapp-vite and @weapp-vite/react. WeChat mini programs are small apps that run inside WeChat.

weapp-vite/weapp-vite · 103 tokens

spiceflow

Spiceflow is a super simple, fast, and type-safe API and React Server Components framework for TypeScript. Works on Node.js, Bun, and Cloudflare Workers. ALWAYS load this skill BEFORE writing or editing ANY spiceflow code, including one-line changes: routes, pages, layouts, loaders, server actions, forms…

remorses/spiceflow · 159 tokens

react

Use when building or reviewing a client-side React SPA bundled by Vite (React 19.2): components, where state lives, hooks, server data fetching, client routing, re-render and effect bugs. NOT App Router / server components / SSR (that is nextjs); NOT native screens (that is react-native).

ericrisco/rsc-harness · 70 tokens

headlessui

Headless UI - Unstyled, fully accessible UI components for React and Vue with built-in ARIA patterns.

bobmatnyc/claude-mpm-skills · 25 tokens