搜索

PythonReactSEOPDF
OpenClaw

afrexai-react-production

Complete methodology for building production-grade React applications with architecture decisions, component design, state management, performance optimization, testing, and deployment.

1kalin0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install 1kalin/afrexai-react-production

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

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...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/1kalin/afrexai-react-production
Version
—
Commit
8e9af2a23c68847d0eb11c07018b4eb4252f8358
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

React Production Engineering ⚛️

Complete methodology for building production-grade React applications — architecture decisions, component design, state management, performance, testing, and deployment.

Not another API reference. This is engineering methodology with decision frameworks, code patterns, quality scoring, and production checklists.

Install

clawhub install afrexai-react-production

What's Inside

  • Architecture assessment — framework selection matrix, project structure, naming conventions
  • Component design — composition patterns, compound components, 10 component rules
  • State management — decision tree (TanStack Query vs Zustand vs Context vs useState)
  • TypeScript integration — strict config, discriminated unions, branded types, Zod validation
  • Performance — budget targets, optimization priority stack, React Compiler guidance
  • Hooks engineering — custom hook patterns, essential hooks library
  • Error handling — 3-level error boundary architecture
  • Forms — React Hook Form + Zod patterns
  • Testing — pyramid strategy (Vitest + Testing Library + Playwright)
  • Accessibility — 10-point a11y checklist
  • Production checklist — deployment readiness scoring (0-100)

Quick Start

Tell your agent: "Set up a new React project following the React Production Engineering skill"

⚡ Level Up

This skill gives you the methodology. For industry-specific patterns:

👉 AfrexAI Context Packs — $47 each, 10 verticals

🔗 More Free Skills by AfrexAI

来源内容

SKILL.md
# 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

```yaml
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...
README
# React Production Engineering ⚛️

Complete methodology for building production-grade React applications — architecture decisions, component design, state management, performance, testing, and deployment.

**Not another API reference.** This is engineering methodology with decision frameworks, code patterns, quality scoring, and production checklists.

## Install

```bash
clawhub install afrexai-react-production
```

## What's Inside

- **Architecture assessment** — framework selection matrix, project structure, naming conventions
- **Component design** — composition patterns, compound components, 10 component rules
- **State management** — decision tree (TanStack Query vs Zustand vs Context vs useState)
- **TypeScript integration** — strict config, discriminated unions, branded types, Zod validation
- **Performance** — budget targets, optimization priority stack, React Compiler guidance
- **Hooks engineering** — custom hook patterns, essential hooks library
- **Error handling** — 3-level error boundary architecture
- **Forms** — React Hook Form + Zod patterns
- **Testing** — pyramid strategy (Vitest + Testing Library + Playwright)
- **Accessibility** — 10-point a11y checklist
- **Production checklist** — deployment readiness scoring (0-100)

## Quick Start

Tell your agent: "Set up a new React project following the React Production Engineering skill"

## ⚡ Level Up

This skill gives you the methodology. For industry-specific patterns:

👉 **[AfrexAI Context Packs](https://afrexai-cto.github.io/context-packs/)** — $47 each, 10 verticals

### 🔗 More Free Skills by AfrexAI
- [`afrexai-nextjs-production`](https://clawhub.com/skills/afrexai-nextjs-production) — Next.js production engineering
- [`afrexai-vibe-coding`](https://clawhub.com/skills/afrexai-vibe-coding) — AI-assisted development
- [`afrexai-test-automation-engineering`](https://clawhub.com/skills/afrexai-test-automation-engineering) — Testing strategy
- [`afrexai-ui-design-system`](https://clawhub.com/skill...

相关技能

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

0protocol

0isone

Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.

OpenClaw

0x0-messenger

eijiac24

Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.