一键导入
frontend-architecture-react-vite
React 18+ SPA architecture, hooks, and Vite configuration
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
React 18+ SPA architecture, hooks, and Vite configuration
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Syncs Telegram supergroup topics into local task files and GitHub issues, using embedded Python scripts for deterministic JSON state management. Preserves raw bilingual messages verbatim, injects refactored prompts, and correlates codebase context.
100% Jetpack Compose, MVI (UDF), Hilt, and SQLDelight for token-efficient, zero-hallucination Android development.
NestJS, Prisma ORM, Vertical Slice Architecture, and Strict TypeScript for zero-hallucination backend development.
Expo Managed Workflow, Expo Router, NativeWind, and Strict TypeScript for zero-hallucination cross-platform apps.
Automatically generates decentralized task files based on manager instructions.
Idiomatic Go, Clean Architecture, and Gin routing best practices
| name | frontend-architecture-react-vite |
| description | React 18+ SPA architecture, hooks, and Vite configuration |
features/auth/). This is critical for AI agents, as it keeps all related components, hooks, and APIs in a single localized directory, preventing context exhaustion from scanning global folders.interface Props {} for components. Pure JS causes prop-drilling hallucinations.src/
├── assets/ # Static assets
├── components/ # Shared, reusable UI components
│ ├── common/ # Buttons, Inputs, Modals
│ └── layout/ # Header, Sidebar
├── features/ # Feature-based modules
│ └── auth/ # Co-locate auth components, hooks, api
├── hooks/ # Global custom React hooks
├── pages/ # Route-level components
├── services/ # API clients and network calls
├── store/ # Global state (Zustand/Redux)
├── utils/ # Pure helper functions
├── App.tsx # Main entry and Router provider
└── main.tsx # Vite mount point
PascalCase (e.g., UserProfile.tsx)camelCase starting with use (e.g., useTheme.ts)camelCase or kebab-case (e.g., formatDate.ts)features/auth, features/dashboard) rather than by type, scaling better for large SPAs.Zustand for global UI state. Use TanStack React Query for server state and data fetching.interface ButtonProps {}).React.memo, useMemo, and useCallback only when profiling indicates a bottleneck, not preemptively.Vitest + React Testing Library.getByRole), and simulate user events using @testing-library/user-event.