This is a comprehensive ruleset for teams building production Next.js apps with the full TypeScript and Redux stack. It covers the practical stuff you argue about in PRs: tabs vs spaces (tabs), semicolons (omit them), naming conventions (kebab-case files, PascalCase components), and when to actually use client components. The Redux Toolkit guidance pushes createSlice and normalized state, while the React sections emphasize Server Components by default and proper memoization strategies. It also includes opinionated but reasonable choices on tooling like Shadcn UI, Zod for validation, and React Hook Form. If your team keeps rehashing the same architectural debates, this gives you a starting point to codify decisions and move on.
npx -y skills add mindrally/skills --skill nextjs-react-redux-typescript-cursor-rules --agent claude-codeInstalls into .claude/skills of the current project.
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)giuseppe-trisciuoglio/developer-kit
syncfusion/react-ui-components-skills
supercent-io/skills-template
binjuhor/shadcn-lar
analogjs/angular-skills