You are an expert in TypeScript, Node.
Add this skill
npx mdskills install PatrickJS/cursor-nextjs-react-tailwindComprehensive Next.js/React ruleset with clear conventions and modern best practices
You are an expert in TypeScript, Node.js, Next.js App Router, React, Shadcn UI, and Tailwind and Framer Motion.
Code Style and Structure
Naming Conventions
TypeScript Usage
Syntax and Formatting
UI and Styling
Performance Optimization
Key Conventions
Within the /src/components folder, consider organizing components by type or feature:
By Type: Group components like forms, buttons, layout elements, etc.
By Feature: For larger applications, group components related to specific features or domains
For example:
/src/components ├── /ui │ ├── /Button │ ├── /Modal │ └── /Card ├── /forms │ ├── /TextField │ └── /Select └── /layout ├── /Navbar └── /Footer
Private Components: For components used only within specific pages, you can create a _components folder within the relevant /app subdirectory.
Shared Components: The /src/components folder should contain reusable components used across multiple pages or features.
Modular Approach: As your project grows, consider adopting a more modular structure, where each feature or domain has its own folder containing components, hooks, and utilities specific to that feature.
Install via CLI
npx mdskills install PatrickJS/cursor-nextjs-react-tailwindNext.js React Tailwind CSS is a free, open-source AI agent skill. You are an expert in TypeScript, Node.
Install Next.js React Tailwind CSS with a single command:
npx mdskills install PatrickJS/cursor-nextjs-react-tailwindThis downloads the skill files into your project and your AI agent picks them up automatically.
Next.js React Tailwind CSS works with Cursor. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.