fec-react-project-standard

fec-react-project-standard is a skill for Claude Code from bovinphang/frontend-craft. It costs 101 tokens per session (1,489 once invoked), scanned A, original, MIT.

A guide for organizing medium-sized or large React and TypeScript projects. It defines boundaries between pages, business features, shared components, hooks, services, state, APIs, and utilities.

In plain words
What is it for?
Use it to plan or review React project structure, component boundaries, routing, state ownership, API handling, loading and error states, types, tests, and lazy-loaded heavy interface features.
Why use it?
It helps keep React code understandable as the application grows and prevents unrelated responsibilities from becoming tangled.

Skill for Claude Code

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

Part of the frontend-craft plugin — 53 skills, 11 commands, 14 agents, 5 hooks shipped together

Good fit Use it to plan or review React project structure, component boundaries, routing, state ownership, API handling, loading and error states, types, tests, and lazy-loaded heavy interface features.

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

Made for: Claude Code.

Or install frontend-craft, the plugin that ships this one along with the rest of its 53 skills, 11 commands, 14 agents, 5 hooks.

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 fec-react-project-standard

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bovinphang/frontend-craft/fec-react-project-standard"><img src="https://agentmods.dev/badge/skills/bovinphang/frontend-craft/fec-react-project-standard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,489 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 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.00101 $0.01489
Opus 5.5 $0.00040 $0.00596
Sonnet 5.5 $0.00020 $0.00298
Haiku 4.5 $0.00010 $0.00149

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

Security

Grade A, and why

fec-react-project-standard 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 25d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (examples/engineering/request-view.mjs, examples/engineering/request-view.test.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

localized/zh-CN/skills/fec-react-project-standard/SKILL.md · 98 lines

How it starts

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

React 项目规范

适用于 React + TypeScript 仓库中的中大型模块建设、页面重构和工程结构设计。

用途

为 React + TypeScript 项目提供工程结构、模块边界和默认实现约定,确保架构清晰、代码可维护。

流程

本 skill 主要解决 React 工程任务“如何设计和落地”的问题,不重复声明基础编码底线。处理 React 工程化任务时,按以下顺序执行:

  1. 识别仓库已有约定

    • 目录组织方式
    • 样式体系
    • 状态管理方案
    • 请求封装方式
    • 测试框架
    • UI 组件库 / 设计系统
  2. 判断目标属于哪一层

    • 路由页面
    • 页面私有组件
    • feature 业务模块
    • 全局通用组件
    • hooks / services / stores / utils
  3. 设计边界后再落代码

    • 哪些逻辑属于页面编排
    • 哪些逻辑属于 feature
    • 哪些逻辑应下沉为通用能力
    • 哪些状态应本地管理,哪些应交给 store / query / URL
    • 状态归属复杂时使用状态管理流程先做状态清单
    • DTO、公共 props、泛型组件或 tsconfig 边界复杂时,先使用 TypeScript 项目规范流程收敛跨框架类型契约
  4. 输出时补齐关键质量项

    • loading / error / empty / data 状态
    • 错误处理与重试
    • 类型约束
    • 关键测试入口
    • 必要的专项 skill 分流
    • 依赖是否已存在于 package.json,缺失时先给安装命令再使用
    • 重型 UI 能力(动效、图表、3D、编辑器、地图)是否隔离为 leaf component 并按需加载
    • 图片、视频、字体等资源是否本地化、可缓存,并避免占位 URL 进入交付
    • 页面级 Error Boundary、模块级 fallback、API 错误映射和用户可恢复动作是否一致
    • Tailwind token/variant 或响应式布局需求是否应分流到对应专项 skill
    • 对明显架构性能风险做轻量筛查,如重型依赖边界、过宽 Context、高频派生值和懒加载 fallback;需要指标证据时进入性能优化 workflow

详细参考

按需要加载更细的参考文件:

约束

  • 默认遵守仓库现有全局规则和 React rule
  • 若仓库已有明确目录结构、样式体系、状态管理或请求封装,优先沿用仓库约定
  • 组件文件规模宜约 300 行内;逾 500 行或复杂度过高须拆分子组件、Hooks、utils、类型
  • 禁止新增类组件(Error Boundary 用 react-error-boundary 等库)
  • 禁止绕过模块出口,从 feature 深层路径导入
  • 不要用 useEffect + setState 模拟本可直接计算的派生值
  • 避免 prop drilling 过深却不考虑组合或局部封装
  • 不在通用页面组件里同步引入 GSAP、Three.js、Lottie、富文本编辑器或地图 SDK;需要时用动态导入、路由级分包或叶子组件隔离。
  • 不在 React 组件中散落裸 fetch、API URL、token refresh 或上传流程;跨边界请求应收敛到 API 集成层。
  • 不用 Error Boundary 处理普通 API 失败;请求错误应优先落到 loading/error/empty/data 状态和可恢复操作。
  • 不把 React 性能建议写成无证据的全局 memo 化;先定位请求瀑布、bundle 边界、重复渲染或 effect 误用。

Read the full file on GitHub · 98 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. 25d ago Changed · +6 lines 9df7b8512adf
  2. 3mo ago First seen · 92 lines · 101 tokens per session scan A 541effd60f01

Subscribe to this mod's changes

fec-react-project-standard is a skill published in the GitHub repository bovinphang/frontend-craft (24 stars, last pushed 18d ago), licensed MIT. It adds 101 tokens to every session and 1,489 once invoked, about $0.0004 per session on Opus 5.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-08-30.

Related

fec-react-project-standard compared with skills from other repositories

fec-react-project-standard next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fec-react-project-standardbovinphang/frontend-craftSkill2418d agoMITA101Claude Code
adhdszarkans/multiSkill262d agoMITA124Claude Code
validate-apijohnkozaris/jko-claude-pluginsSkill1129d agoMITA20Claude Code
backend-architecturejohnkozaris/jko-claude-pluginsSkill1129d agoMITA119Claude Code
validate-wsjohnkozaris/jko-claude-pluginsSkill1129d agoMITA19Claude Code
brand-designrfxlamia/pockettoSkill81mo agoMITB146Claude Code
dotnet-backend-expertmathisk2095/jko-claude-pluginsSkill31mo agoMITA181Claude Code