Loading...
Loading...
Enterprise React architecture combining DDD and FSD patterns. Use when (1) designing or structuring React applications, (2) implementing Index/Types/Styles component pattern, (3) setting up Service/Hook 1:1 mapping with React Query and Axios, (4) configuring Zustand state management, (5) applying TypeScript conventions for maintainable codebases. Triggers include architectural decisions, folder structure planning, data layer design, and code organization tasks.
npx skill4agent add mineru98/skills-store frontend-design-patternsreferences/ddd-fsd-fundamentals.mdApp -> Pages -> Widgets -> Features -> Entities -> Sharedfeatures/cartfeatures/authui/model/api/lib/config/index.tsreferences/fsd-layers-guide.mdComponentName/
├── index.tsx # React logic & JSX
├── types.ts # TypeScript interfaces
└── styles.ts # CSS-in-JS (Emotion/styled-components)references/component-structure.mdService Layer (Pure TS) -> Hook Layer (React Query) -> Componentsreferences/data-layer-architecture.mdmodel/references/state-management.md| Target | Case | Example |
|---|---|---|
| Component | PascalCase | |
| Interface | PascalCase | |
| Variable | camelCase | |
| Boolean | camelCase | |
| Constant | UPPER_SNAKE | |
| Hook | camelCase | |
references/typescript-conventions.md| Task | Reference |
|---|---|
| Architecture design | |
| Folder structure | |
| Component creation | |
| API/Data layer | |
| State management | |
| Code conventions | |
python scripts/create_fsd_structure.py <project-root> [--slices cart auth user]python scripts/create_component.py <path> <ComponentName>python scripts/create_service_hook.py <feature-path> <service-name>python scripts/create_zustand_store.py <feature-path> <store-name>any