ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 5/5

react-project-standard

React + TypeScript 项目的完整工程规范,涵盖项目结构、组件设计、Hooks、路由、状态管理、API 层、错误处理、测试和性能优化。当用户在 React 项目中创建、修改组件或模块,涉及架构设计、代码编写时自动激活。

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/bovinphang/react-project-standard
Or

What This Skill Does

The react-project-standard skill provides a comprehensive architectural blueprint and development framework for React + TypeScript projects. It enforces industry-standard directory structures, module-based component design, and scalable state management strategies. By utilizing this skill, developers ensure that their codebases remain maintainable, modular, and consistent across team collaborations. It acts as an architectural consultant that guides the creation of features, hooks, services, and styling, ensuring that every new addition adheres to the established project hierarchy.

Installation

Run the following command in your terminal to integrate the skill into your OpenClaw environment:

clawhub install openclaw/skills/skills/bovinphang/react-project-standard

Use Cases

  • Project Initialization: Establishing a robust foundation for a new React application.
  • Feature Refactoring: Migrating loose files into a structured features/ directory to improve cohesion.
  • Code Review & Consistency: Auditing existing components against the defined best practices for performance and directory placement.
  • Team Onboarding: Providing developers with a clear roadmap of where specific logic (API, hooks, styles) should reside, reducing cognitive load for new members.

Example Prompts

  • "I need to add a new User Management feature. Can you suggest a directory structure inside src/features/ and generate the initial index.ts export?"
  • "How should I organize my API service layer using the services/ structure defined in the standards? Please provide a code template."
  • "Review this component file. It feels bloated—can you help me split it into the recommended components/, hooks/, and api.ts structure?"

Tips & Limitations

  • Adaptability: The structure is designed to be pruned for smaller projects. Do not feel compelled to use every folder if your project is simple.
  • TypeScript Strictness: This skill assumes strict TypeScript configuration. Ensure your tsconfig.json is updated to support path aliases (e.g., @/components/*) to match the structural imports.
  • Scope: While this provides architectural guidance, it does not replace specific library-level implementations (like Redux or TanStack Query) but rather provides the container for them. Always tailor the logic to the specific needs of your business domain.

Metadata

Stars4190
Views1
Updated2026-04-18
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-bovinphang-react-project-standard": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#react#typescript#architecture#frontend#scaffolding
Safety Score: 5/5

Flags: file-read, file-write