Cursor Rules

Discover and share the best Cursor IDE rules and configurations

Submit Rule

4 rules found

TypeScriptNext.js
1/15/2024
Comprehensive TypeScript rules for Next.js 15 with App Router. Includes server components, client components, route handlers, and middleware patterns with strict type safety.
You are an expert in TypeScript, Node.js, Next.js App Router, React, Shadcn UI, Radix UI and Tailwind.

Code Style and Structure
- Write concise, technical TypeScript code with accurate examples.
- Use functional and declarative programming patterns; avoid classes.
- Prefer iteration and modularization over code duplication.
- Use descriptive variable names with auxiliary verbs (e.g., isLoading, hasError).
- Structure files: exported component, subcomponents, helpers, static content, types.
AJ

Alex Johnson

@alexj

Next.jsTypeScriptApp Router
342
28
View
MobileReact Native
1/12/2024
Complete set of rules for React Native development with Expo, TypeScript, and modern mobile development patterns. Covers navigation, state management, and performance optimization.
You are an expert in TypeScript, React Native, Expo SDK, and mobile app development.

Mobile Development Best Practices
- Use Expo SDK features and APIs for cross-platform compatibility
- Implement proper navigation patterns with Expo Router
- Handle platform-specific code with Platform.select()
- Optimize for both iOS and Android performance
SC

Sarah Chen

@sarahc

React NativeExpoTypeScript
198
15
View
Vue.jsVue.js
1/10/2024
Modern Vue.js 3 development with Composition API, TypeScript, and Pinia for state management. Includes component patterns, composables, and testing strategies.
You are an expert in TypeScript, Vue.js 3, Composition API, Pinia, and Nuxt.js.

Vue.js Best Practices
- Use Composition API with <script setup> syntax
- Implement proper reactivity with ref() and reactive()
- Create reusable composables for shared logic
- Use Pinia for state management with TypeScript support
MD

Marie Dubois

@marie

Vue.jsTypeScriptComposition API
156
12
View
PythonFastAPI
1/8/2024
Comprehensive Python rules for FastAPI development with async/await patterns, Pydantic models, database integration, and API documentation.
You are an expert in Python, FastAPI, async programming, and API development.

FastAPI Best Practices
- Use async/await for all route handlers
- Implement proper Pydantic models for request/response validation
- Structure projects with routers and dependencies
- Use SQLAlchemy with async sessions for database operations
DR

David Rodriguez

@davidr

PythonFastAPIAPI
234
19
View