afrexai-react-production

afrexai-react-production is a skill for Claude Code, Codex from LeoYeAI/openclaw-master-skills. It costs 32 tokens per session (6,962 once invoked), scanned A, original, MIT.

An engineering methodology for building production React applications, including architecture, components, state management, performance, testing, and deployment. React is a JavaScript library for building user interfaces.

In plain words
What is it for?
Use it to assess a React project, design its component structure, choose how data and state are managed, improve loading performance, plan tests, and prepare deployment.
Why use it?
It helps teams make consistent technical choices and catch common issues with maintainability, speed, type safety, and reliability before release.

Skill for Claude CodeCodex

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import type { User } from '../types'.

Good fit Use it to assess a React project, design its component structure, choose how data and state are managed, improve loading performance, plan tests, and prepare deployment.

Compare 6 skills from other repositories ↓
About the project

OpenClaw Master Skills is a curated, regularly updated collection of skills that extends an AI personal assistant platform with capabilities such as research, browser automation, presentation creation, and prompt work. It is intended for people using OpenClaw or MyClaw.ai to give their agents additional tasks and workflows. The catalogue contains many skills and agents from this collection.

LeoYeAI/openclaw-master-skills · 2,141 stars · on GitHub · myclaw.ai

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills
agentmods
npx agentmods add skills/leoyeai/openclaw-master-skills/afrexai-react-production

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 afrexai-react-production

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/leoyeai/openclaw-master-skills/afrexai-react-production"><img src="https://agentmods.dev/badge/skills/leoyeai/openclaw-master-skills/afrexai-react-production.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,962 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00032 $0.06962
Opus 5 $0.00016 $0.03481
Sonnet 5 $0.00006 $0.01392
Haiku 4.5 $0.00003 $0.00696

Measured 9d ago against content hash 394c02456b7c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

afrexai-react-production 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.

skills/afrexai-react-production/SKILL.md · 759 lines

How it starts

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

React Production Engineering

Complete methodology for building production-grade React applications. Covers architecture decisions, component design, state management, performance optimization, testing, and deployment — not just API reference, but engineering methodology with decision frameworks, templates, and scoring systems.

Phase 1: Architecture Assessment

Quick Health Check (score /16)

  • Component tree depth < 6 levels (+2)
  • No prop drilling past 2 levels (+2)
  • Bundle size < 200KB gzipped (+2)
  • LCP < 2.5s on 4G (+2)
  • Test coverage > 70% on business logic (+2)
  • Zero any types in production code (+2)
  • No direct DOM manipulation (+2)
  • Consistent error boundaries (+2)

Architecture Brief

project:
  name: ""
  type: "" # spa | ssr | hybrid | static
  framework: "" # next | remix | vite-spa | astro
  scale: "" # small (<20 routes) | medium (20-100) | large (100+)
  team_size: "" # solo | small (2-5) | medium (6-15) | large (15+)
current_state:
  react_version: "" # 18 | 19
  typescript: true
  router: "" # react-router | next-app | tanstack-router
  state_management: "" # useState | zustand | jotai | redux | tanstack-query
  styling: "" # tailwind | css-modules | styled-components | vanilla-extract
  testing: "" # vitest | jest | playwright | cypress
  ci_cd: "" # github-actions | gitlab-ci | vercel
pain_points: []
goals: []

Framework Selection Decision Matrix

Factor Vite SPA Next.js Remix Astro
SEO needed ✅ Best ✅ Good ✅ Best
Dashboard/app ✅ Best ✅ Good ✅ Good
Content-heavy ✅ Good ✅ Good ✅ Best
Team familiarity ✅ Simple ⚠️ Learning curve ⚠️ Web standards ⚠️ Islands
Deployment Anywhere Vercel optimal Anywhere Anywhere
Bundle size You control Framework overhead Smaller Minimal JS

Decision rules:

  1. Dashboard/internal tool with no SEO → Vite SPA
  2. Marketing + app hybrid → Next.js
  3. Content-first with some interactivity → Astro
  4. Web-standards-first, nested layouts → Remix
  5. Default for most SaaS products → Next.js

Read the full file on GitHub · 759 lines

Files

What ships with it

2 files 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. 9d ago First seen · 759 lines · 32 tokens per session scan A 394c02456b7c

Subscribe to this mod's changes

afrexai-react-production is a skill published in the GitHub repository LeoYeAI/openclaw-master-skills (2,141 stars, last pushed 1mo ago), licensed MIT. It adds 32 tokens to every session and 6,962 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.