Comprehensive Next.js, React, Redux, and TypeScript development guidelines covering SOLID principles, component architecture, and best practices.
Complete development guidelines for building maintainable, scalable applications with Next.js, React, Redux Toolkit, and TypeScript.
=== over ==| Convention | Usage |
|------------|-------|
| PascalCase | Components, type definitions, interfaces |
| kebab-case | Directory and file names (e.g., user-profile.tsx) |
| camelCase | Variables, functions, methods, hooks, properties, props |
| UPPERCASE | Environment variables, constants, global configurations |
handle (e.g., handleClick)isLoading, hasError, canSubmit)use (e.g., useAuth, useForm)function keywordReact.memo() strategicallyuseEffect hooksuseCallback for memoizing functionsuseMemo for expensive computationskey props in lists (never use index)Image, Link, Script, Headuse client only when necessary:
Partial, Pick, Omit)interface over type for objectsuseState for component-level stateuseReducer for complex stateuseContext for shared statecreateSlice for combined state/reducers/actionsscreen in RTL)npx skills add Mindrally/nextjs-react-redux-typescript-cursor-rules下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer