Agent skill

React Generate Skill

by jiushiwon in jiushiwon/wg-skills

This skill should be used when the user wants to create a standardized React 18 + TypeScript + Vite + Zustand project from scratch.

Apache-2.0Auto-check passedFrontend & Design

Install React Generate Skill

skills CLI
$ npx skills add jiushiwon/wg-skills --skill react-generate-skill -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jiushiwon/wg-skills react-generate-skill --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jiushiwon/wg-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/vibeCoding/frontend/react/react-generate-skill .claude/skills/react-generate-skill && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
react-generate-skill
GitHub stars
110
Token cost
~2.8k tokens
SKILL.md length
589 words
Files
21 (incl. references)
Skills in repo
121
Repo updated
First seen
Licence
Apache-2.0

At a glance

This skill should be used when the user wants to create a standardized React 18 + TypeScript + Vite + Zustand project from scratch.

  • Works in 4 steps: Pre-development → Project Initialization → Development → …
  • Wants to create a standardized React 18 + TypeScript + Vite + Zustand project from scratch
  • SKILL.md covers ⚠️ 重要:本 Skill 严格依赖…, Overview, When to Use and Workflow Summary, plus 7 more sections
  • Runs TypeScript scripts from its folder; calls npm and tsc

What it does

React Generate Skill is an agent skill from jiushiwon/wg-skills. This skill should be used when the user wants to create a standardized React 18 + TypeScript + Vite + Zustand project from scratch. It guides through pre-development brainstorming, project initialization, dynamic theme system setup, layout design, and post-development verification. Strictly aligned with frontend-request-skill for HTTP layer (fetch + response envelope + token refresh queue), frontend conventions, and React 18 + TypeScript strict mode (tsc --noEmit must pass). Invoke when the user says "帮我做一个 React…

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 26 other files, including reference files (for example `README.md`, `references/agents-md-template.md` and `references/api-integration.md`).

It sits in Frontend & Design, covering Brainstorming and State management. It works with React, TypeScript, Vite and Zustand. The licence is Apache-2.0.

When your agent uses it

  • Wants to create a standardized React 18 + TypeScript + Vite + Zustand project from scratch
  • Says 帮我做一个 React 项目、初始化 React + TS 模板、做一个 React 后台管理系统、用 React 搭一个 xxx
  • Similar requests

Example prompts

  • “帮我做一个 React 项目”
  • “初始化 React + TS 模板”
  • “做一个 React 后台管理系统”
  • “/react-generate-skill”

Requirements

  • Node.js

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Pre-development
  2. Project Initialization
  3. Development
  4. Post-development

What it can do on your machine

Read from SKILL.md and the folder at commit a4a640b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (TypeScript, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • npm
    • tsc

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

React Generate Skill loads about 2.8k tokens when it runs, and up to ~13k if it reads all its reference files. Until then it costs about 155 tokens; SKILL.md has 589 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~155
When it runs · the whole SKILL.md, loaded when a task matches
~2.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~13k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jiushiwon/wg-skills at commit a4a640b, republished under its Apache-2.0 licence (© jiushiwon). 589 words, ~2,837 tokens.

Download SKILL.mdSave it as .claude/skills/react-generate-skill/SKILL.md (or your agent's skills folder). This skill also uses 20 other files; get the full folder from GitHub.
name
react-generate-skill
description
This skill should be used when the user wants to create a standardized React 18 + TypeScript + Vite + Zustand project from scratch. It guides through pre-development brainstorming, project initialization, dynamic theme system setup, layout design, and post-development verification. Strictly aligned with frontend-request-skill for HTTP layer (fetch + response envelope + token refresh queue), frontend conventions, and React 18 + TypeScript strict mode (tsc --noEmit must pass). Invoke when the user says "帮我做一个 React 项目"、"初始化 React + TS 模板"、"做一个 React 后台管理系统"、"用 React 搭一个 xxx" or similar requests.

React Generate Skill

⚠️ 重要:本 Skill 严格依赖 frontend-request-skill

本 Skill 不重新发明请求层。所有 HTTP / 错误处理 / 鉴权相关代码必须复用 frontend-request-skill 的标准实现:

react-init-skill 输出对应 frontend-request-skill 标准
src/api/request.tsreferences/frontend-spec.md(fetch 标准实现)
src/services/auth.service.tsreferences/auth-patterns.md(Token 刷新队列)
src/utils/{error,toast,auth}.tsreferences/error-handling.md + auth-patterns.md
src/config/{api,error}.config.tsreferences/frontend-spec.md(BASE_URL + ERROR_CODE_MAP)
src/hooks/useAuth.tsreferences/auth-patterns.md
响应信封 { code, message, data }与 各 init-skill 内置的统一响应规范 一致

接入本 Skill 前,请先阅读 frontend-request-skill 的 SKILL.md 与核心 reference。


Overview

This skill transforms a vague React project idea into a production-ready React 18 + TypeScript SPA with consistent architecture, design tokens, static assets, and coding standards.

  1. Pre-development: brainstorm, scope, and produce a detailed specification.
  2. Project initialization: scaffold the project, directory structure, CLAUDE.md, AGENTS.md, tsconfig.json, vite.config.ts.
  3. Development: install frontend-request-skill's request layer, set up theme system, design the layout, and build core pages.
  4. Post-development: lint, type-check (tsc --noEmit), verify the build.

When to Use

Invoke this skill when the user asks for:

  • "帮我做一个 React 项目"
  • "初始化一个 React + TypeScript 模板"
  • "做一个 React 后台管理系统"
  • "用 React 搭一个 xxx 网站"
  • "帮我生成一个标准的 React 项目结构"
  • Any request that involves creating a new React SPA from scratch (H5 / 后台 / 文档站)

Not for: React Native / 小程序 / Taro / 移动端 hybrid — use react-native-init-skill instead.

Workflow Summary

Phase 1: Pre-development
  → Ask 3-5 clarifying questions
  → Write spec.md (scope, pages, data model, API outline)

Phase 2: Project Initialization
  → npm create vite@latest scaffold
  → Replace placeholders
  → Create standard directory structure (including src/api/, src/services/, src/config/)
  → Generate CLAUDE.md (≤ 50 lines, references frontend-request-skill)
  → Generate AGENTS.md (≤ 400 lines, on-demand references)
  → Apply tsconfig.json strict template
  → Apply vite.config.ts template (path alias + auto-import)
  → Copy code-examples/ (types / stores / components / pages)

Phase 3: Development
  → Install frontend-request-skill's request layer (copy from references/)
  → Configure src/config/api.config.ts (BASE_URL / PREFIX / SUCCESS_CODES)
  → Configure src/config/error.config.ts (ERROR_CODE_MAP)
  → Set up src/styles/globals.css theme variables
  → Implement core pages using code-examples/ as template
  → Write hooks (useAuth, useFetch, ...)

Phase 4: Post-development
  → npm run lint           # ESLint must pass
  → npm run type-check     # tsc --noEmit must pass
  → npm run build          # Must build successfully
  → Summarize deliverables

Phase 1: Pre-development

1.1 Brainstorming Questions

Ask 3-5 focused questions:

  1. "这个项目解决什么问题?核心目标用户是谁?"
  2. "主要功能有哪些?请列出 3-5 个核心页面或核心流程。"
  3. "你倾向哪种视觉风格?清新健康 / 极简工具 / 活泼社区 / 商务数据?"
  4. "UI 库偏好?Ant Design / Material UI / Chakra UI / Radix UI / 自研?"
  5. "是否需要登录、权限、用户系统?"
1.2 Write spec.md

Create spec.md with:

markdown
# {{PROJECT_NAME}} 项目规格说明

## 1. 项目定位
- 产品名称:
- 目标用户:
- 核心价值:
- 对标产品:

## 2. 核心功能
1. ...
2. ...
3. ...

## 3. 页面清单
| 页面 | 路径 | 说明 |
|------|------|------|
| 首页/Dashboard | src/pages/Dashboard.tsx | ... |

## 4. 数据模型
- User: { id, username, nickname, avatar, role, tenantId, createdAt }
- ...

## 5. API 轮廓
- POST /api/auth/login → { token, refreshToken, user }
- GET /api/users → { items, total }
- ...

## 6. 设计风格
- 风格:极简工具 / 商务数据 / ...
- 主色:#10b981
- UI 库:Ant Design 5.x
- 是否深色:否

Phase 2: Project Initialization

2.1 Create the React Project
bash
npm create vite@latest {{project-name}} -- --template react-ts
cd {{project-name}}
npm install

# 状态管理
npm install zustand

# UI 库(Ant Design 默认)
npm install antd @ant-design/icons

# 路由
npm install react-router-dom

# 工具
npm install -D @types/node
2.2 Apply tsconfig.json (STRICT MODE)

必须按 references/tsconfig-template.md 完整配置:

jsonc
{
  "compilerOptions": {
    "target": "ES2020",
    "useDefineForClassFields": true,
    "lib": ["ES2020", "DOM", "DOM.Iterable"],
    "module": "ESNext",
    "skipLibCheck": true,
    "moduleResolution": "bundler",
    "allowImportingTsExtensions": true,
    "resolveJsonModule": true,
    "isolatedModules": true,
    "noEmit": true,
    "jsx": "react-jsx",
    "strict": true,
    "noUnusedLocals": true,
    "noUnusedParameters": true,
    "noFallthroughCasesInSwitch": true,
    "baseUrl": ".",
    "paths": {
      "@/*": ["src/*"]
    }
  },
  "include": ["src"],
  "references": [{ "path": "./tsconfig.node.json" }]
}
2.3 Apply vite.config.ts

按 references/vite-config-template.md 完整配置:

typescript
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import { fileURLToPath, URL } from 'node:url';

export default defineConfig({
  plugins: [react()],
  resolve: {
    alias: {
      '@': fileURLToPath(new URL('./src', import.meta.url)),
    },
  },
});
2.4 Create Standard Directory Structure

按 references/project-structure.md 创建完整目录。关键目录:

src/
├── api/              # 必须按 frontend-request-skill 划分
│   ├── request.ts
│   ├── upload.ts
│   ├── sse.ts (按需)
│   └── modules/
├── services/
│   └── auth.service.ts
├── config/
│   ├── api.config.ts
│   └── error.config.ts
├── stores/           # Zustand Store
│   ├── userStore.ts
│   └── appStore.ts
├── hooks/           # useAuth, useFetch 等
├── pages/            # 页面(不是 views)
├── components/       # 组件
├── types/           # ApiResponse<T> / RequestError
├── utils/           # auth.ts / error.ts / toast.ts
└── styles/          # 全局样式
2.5 Install frontend-request-skill's Request Layer

严格按 references/api-integration.md 复制以下文件:

目标文件来源必须
src/api/request.tsreferences/api-integration.md § 3✅
src/services/auth.service.tsreferences/api-integration.md § 4✅
src/utils/auth.tsreferences/api-integration.md § 5✅
src/utils/error.tsreferences/api-integration.md § 6✅
src/utils/toast.tsreferences/api-integration.md § 7✅
src/hooks/useAuth.tsreferences/api-integration.md § 8✅
src/config/api.config.tsreferences/api-integration.md § 2.2✅
src/config/error.config.tsreferences/api-integration.md § 2.2✅
src/types/api.tsreferences/code-examples/types/api.ts✅
src/types/user.tsreferences/code-examples/types/user.ts按需

禁止:

  • ❌ 自己写 request.ts(必须按标准复制)
  • ❌ 在组件里直接调 localStorage(必须走 utils/auth.ts)
  • ❌ 在组件里写 401 处理(必须交给 auth.service.ts)
2.6 Generate CLAUDE.md (≤ 50 lines)

必须用 references/claude-md-template.md 模板,强制 ≤ 50 行。

模板已包含:

  • 显式声明依赖 frontend-request-skill
  • 9 条红线(含 fetch 标准、auth.service 收口)
  • 完整的目录约定
2.7 Generate AGENTS.md (≤ 400 lines)

按 references/agents-md-template.md。按主题拆分章节,AI 按需查阅。

2.8 Copy Code Examples

从 references/code-examples/ 复制:

文件必须说明
types/api.ts✅全局 API 类型
types/user.ts按需业务类型(按项目实际调整)
stores/userStore.ts✅用户 store(含 token)
stores/appStore.ts✅全局 app 状态
components/AppLayout.tsx✅全局布局
pages/Login.tsx✅登录页
pages/UserManagement.tsx✅列表/分页/CRUD 参考
Show full SKILL.md (229 more words)Show less

Phase 3: Development

3.1 Set Up the Theme System

按 SKILL.md § 3.1 创建 src/styles/globals.css(CSS 变量或 Ant Design ConfigProvider)。

3.2 Implement Pages

参考 references/code-examples/pages/UserManagement.tsx 的结构:

typescript
import { useState, useEffect } from 'react';
import type { User, UserListParams } from '@/types/user';

export function UserManagement() {
  const [loading, setLoading] = useState(false);
  const [tableData, setTableData] = useState<User[]>([]);

  // 业务方法(全部用 async/await + try/catch + unknown)
  async function loadData() {
    setLoading(true);
    try {
      const res = await userApi.list(query);
      setTableData(res.data.list);
    } catch (err: unknown) {
      if (err && typeof err === 'object' && 'code' in err) {
        showError(err);
      }
    } finally {
      setLoading(false);
    }
  }

  useEffect(() => {
    loadData();
  }, []);
}
3.3 Implement State Management

参考 references/code-examples/stores/userStore.ts:

  • ✅ Zustand 风格
  • ✅ 使用 create
  • ✅ 显式导出 store
  • ✅ 提供 reset 方法
3.4 Shared Components(仅复用 ≥3 次)

参考 references/component-standards.md。

Phase 4: Post-development

4.1 Run Type Check(必须 0 error)
bash
npm run type-check    # tsc --noEmit

红线:任何 .tsx / .ts 文件必须通过类型检查。

4.2 Run Lint(必须 0 error)
bash
npm run lint
4.3 Run Build
bash
npm run build    # 自动先跑 type-check,再 vite build
4.4 Summarize Deliverables

提供:

  1. 项目结构概览
  2. 已生成文件清单
  3. 主题色 / UI 库选择
  4. type-check / lint / build 状态
  5. 与 frontend-request-skill 的对齐清单

Resources

本 Skill 包含以下参考资料:

文件说明
references/project-structure.md标准目录结构(对齐 frontend-request-skill)
references/claude-md-template.mdCLAUDE.md 模板(≤ 50 行)
references/agents-md-template.mdAGENTS.md 模板(≤ 400 行,按主题)
references/api-integration.md必读:与 frontend-request-skill 集成的完整指南
references/tsconfig-template.mdtsconfig.json 严格模式完整配置
references/vite-config-template.mdvite.config.ts 完整配置
references/react-conventions.mdReact 18 + TS 编码约定
references/component-standards.md共享组件规范(3 次复用原则)
references/code-examples/完整代码示例:types / stores / components / pages

外部依赖:

  • frontend-request-skill — 请求层规范(必装)

Best Practices

  • 复用 frontend-request-skill:不自己写 request.ts、不在组件里调 localStorage、不在组件里写 401 跳转。
  • TypeScript 严格模式:strict: true 全开,提交前必须 tsc --noEmit 通过。
  • CLAUDE.md ≤ 50 行:超出部分移到 AGENTS.md。
  • CSS 变量优先:业务代码只用 CSS 变量,禁止裸色值。
  • Ant Design 优先:能用的组件就用,不手写。
  • 3 次复用原则:组件被复用 ≥3 次才抽到 src/components/。
  • Hooks 提取逻辑:可复用的逻辑抽到 src/hooks/。
  • 每个组件文件带 lang="ts":.tsx 文件必须带类型。
  • 请求层严格分层:api/ 只管 HTTP / services/ 收口业务 / hooks/ 给组件用。
  • 错误捕获用 unknown:不用 any,必要时用类型守卫。
  • 完成必跑 3 件套:type-check + lint + build,全部 0 error。

Red Lines(绝不可违反)

  1. ❌ 不用 axios(必须 fetch)
  2. ❌ 不用 any 类型
  3. ❌ 不用 console.log
  4. ❌ 不用 class 组件(必须函数组件 + Hooks)
  5. ❌ 不用 .jsx(必须 .tsx)
  6. ❌ 不用裸色值
  7. ❌ 不手写 Ant Design 已有的组件
  8. ❌ 不在组件里直接调 localStorage
  9. ❌ 不在组件里写 401 跳转
  10. ❌ 不用 ESLint 规则覆盖 TypeScript 检查

© jiushiwon, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 20 other files (references) in vibeCoding/frontend/react/react-generate-skill of jiushiwon/wg-skills.

  • SKILL.md
  • README.md
  • references/agents-md-template.md
  • references/api-integration.md
  • references/claude-md-template.md
  • references/code-examples/README.md
  • references/code-examples/components/AppLayout.module.css
  • references/code-examples/components/AppLayout.tsx
  • references/code-examples/pages/Login.module.css
  • references/code-examples/pages/Login.tsx
  • references/code-examples/pages/UserManagement.module.css
  • references/code-examples/pages/UserManagement.tsx
  • references/code-examples/stores/appStore.ts
  • references/code-examples/stores/userStore.ts
  • references/code-examples/types/api.ts
  • … and 6 more

Open the folder on GitHubat commit a4a640b

Compare with similar skills

React Generate Skill next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

React Generate Skill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
React Generate Skill this skilljiushiwon/wg-skills110—~2.8kAutomated safety check: PassApache-2.0
React Flow Node TSmicrosoft/skills3.1k6 repos~502Automated safety check: PassMIT
React ExpertJeffallan/claude-skills12k—~1.4kAutomated safety check: PassMIT
Zustand State Managementsecondsky/claude-skills227—~2.5kAutomated safety check: PassMIT
Zustand State ManagementMindrally/skills267—~1.8kAutomated safety check: PassApache-2.0
South Admin CRUD Generatorsouthliu/south-admin-react580—~1.7kAutomated safety check: PassMIT

Similar skills

  • React Flow Node TS

    microsoft/skills

    Official

    Create React Flow node components with TypeScript types, handles, and Zustand integration.

    3.1k GitHub starsUsed in 6 repos~502 tokens
    Frontend & DesignAuto-check passed
  • React Expert

    Jeffallan/claude-skills

    Builds React 19 components in TypeScript with Server Components, useActionState forms, custom hooks and state libraries, checked with tsc and React Testing Library.

    12k GitHub stars~1.4k tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed
  • Zustand State Management

    secondsky/claude-skills

    Zustand state management for React with TypeScript. An agent skill from secondsky/claude-skills.

    227 GitHub stars~2.5k tokensUpdated 9 days ago
    Frontend & DesignAuto-check passed
  • Zustand State Management

    Mindrally/skills

    Best practices for Zustand state management in React and TypeScript applications, covering store design, selectors, middleware, SSR, and testing.

    267 GitHub stars~1.8k tokensUpdated 1 mo ago
    Frontend & DesignAuto-check passed
  • South Admin CRUD Generator

    southliu/south-admin-react

    Generates a full CRUD page - page component, data model and API client - from the south-admin-react project's own VS Code snippet templates.

    580 GitHub stars~1.7k tokensUpdated 17 days ago
    Frontend & DesignAuto-check passed
  • Admin Template Project Initializer

    southliu/south-admin-react

    Removes the south-admin-react template's demo pages, components and menu entries, after a dry-run preview and your confirmation, and cleans up the matching imports.

    580 GitHub stars~519 tokensUpdated 17 days ago
    Frontend & DesignAuto-check passed

More from jiushiwon/wg-skills

All 121 skills in this repo
  • Frontend UI Foundry

    jiushiwon/wg-skills

    A skill your agent uses when generating UI for a specific scenario (mobile/PC/官网/管理端/营销页/文档/金融/原生/3D), when refactoring an existing HTML/Vue/React project to a unified design system, when extracting…

    110 GitHub stars~1.4k tokensUpdated 3 days ago
    Auto-check passed
  • Workflow Diagram Skill

    jiushiwon/wg-skills

    A skill your agent uses when 用户想用一句话生成流程图、工作流图解、开发流程图、AI 流程图或任何步骤型图解,支持多风格输出(flat icon / 暖白手账风 / dark / cute),并提供现成模板一键出图。

    110 GitHub stars~1.2k tokensUpdated 3 days ago
    Auto-check passed
  • Uniapp App Generate Skill

    jiushiwon/wg-skills

    This skill should be used when the user wants to create a standardized uni-app project for WeChat mini-program, H5, and App from scratch.

    110 GitHub stars~5k tokensUpdated 3 days ago
    Auto-check: notes
  • Fastapi Init Skill

    jiushiwon/wg-skills

    FastAPI 项目一键初始化技能。面向零基础小白,提供环境探测、自动安装、完整 Web 骨架生成、SSE 流式框架、JWT 鉴权、统一响应封装、文件上传接口、一键启动/重启脚本、Swagger 文档,内置 MySQL(默认)/ PostgreSQL / MongoDB 数据库选择。用户只需说"帮我搭一个 FastAPI 项目"即可一条命令完成从零到跑的完整链路。触发词:"FastAPI…

    110 GitHub stars~1.8k tokensUpdated 3 days ago
    Auto-check: notes
  • Ffmpeg Skill

    jiushiwon/wg-skills

    FFmpeg 多媒体处理技能 — 将自然语言描述转为正确的 ffmpeg 命令,覆盖视频剪辑、转码、水印、合成、提取、生成等操作。内置一键安装脚本(Windows/Mac/Linux)。触发词:ffmpeg、视频剪辑、视频裁剪、视频转码、视频压缩、去水印、加水印、视频拼接、视频合成、提取音频、视频转…

    110 GitHub stars~1.4k tokensUpdated 3 days ago
    Auto-check passed
  • Frontend Request Skill

    jiushiwon/wg-skills

    A skill your agent uses when designing or reviewing the request layer of a frontend project (web / uni-app / mini-program), including request.ts wrappers, interceptors, deduplication, mocks, error…

    110 GitHub stars~3.6k tokensUpdated 3 days ago
    Auto-check passed

Questions about React Generate Skill

What does React Generate Skill do?

This skill should be used when the user wants to create a standardized React 18 + TypeScript + Vite + Zustand project from scratch. React Generate Skill is an agent skill from jiushiwon/wg-skills. This skill should be used when the user wants to create a standardized React 18 + TypeScript + Vite + Zustand project from scratch.

When should I use React Generate Skill?

React Generate Skill fits situations like: wants to create a standardized React 18 + TypeScript + Vite + Zustand project from scratch; says 帮我做一个 React 项目、初始化 React + TS 模板、做一个 React 后台管理系统、用 React 搭一个 xxx; similar requests.

How do I install React Generate Skill in Claude Code?

Run `npx skills add jiushiwon/wg-skills --skill react-generate-skill -a claude-code`. Or copy the skill folder (vibeCoding/frontend/react/react-generate-skill in jiushiwon/wg-skills) into .claude/skills/react-generate-skill in your project. Claude Code loads it when a task matches its description.

How do I install React Generate Skill in Codex?

Run `npx skills add jiushiwon/wg-skills --skill react-generate-skill -a codex`. Or copy the skill folder (vibeCoding/frontend/react/react-generate-skill in jiushiwon/wg-skills) into .agents/skills/react-generate-skill in your project. Codex loads it when a task matches its description.

Can I use React Generate Skill in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jiushiwon/wg-skills --skill react-generate-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/react-generate-skill, .gemini/skills/react-generate-skill, .github/skills/react-generate-skill and .opencode/skills/react-generate-skill in your project.

What does React Generate Skill need to run?

Going by SKILL.md and its folder, React Generate Skill needs TypeScript for the scripts in its folder and the command-line tools its instructions call (npm and tsc). Our summary lists: Node.js.

Does React Generate Skill access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is React Generate Skill safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does React Generate Skill use?

React Generate Skill is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does React Generate Skill use?

About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 11k tokens, read only when the agent opens those files.

What are the alternatives to React Generate Skill?

Skills that share tags, products or a category with React Generate Skill: React Flow Node TS (microsoft/skills, 3.1k stars), React Expert (Jeffallan/claude-skills, 12k stars), Zustand State Management (secondsky/claude-skills, 227 stars) and Zustand State Management (Mindrally/skills, 267 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains React Generate Skill?

jiushiwon (a GitHub user) maintains it in jiushiwon/wg-skills, which has 110 GitHub stars. The repository holds 121 skills in this directory. The repository was last updated on October 4, 2026.

Source: jiushiwon/wg-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.