- max_file_lines: 400
# Cursor Rules - Generated by Argus ## Project: argus ## Languages Rust, TypeScript ## Code Quality Rules - max_file_lines: 400 - max_function_lines: 50 - max_parameters: 5 - max_nesting: 4 ## Naming Conventions files: kebab-case classes: PascalCase functions: camelCase constants: UPPER_SNAKE_CASE ## Patterns to Follow - Keep code simple and readable - Prefer composition over inheritance - Use early returns to reduce nesting - Add comments only when necessary ## Anti-patterns to Avoid - God classes with too many responsibilities - Deep nesting (> 4 levels) - Magic numbers and strings - Circular dependencies - Functions longer than 50 lines --- Generated by Argus. Run `argus learn` to update.
Comprehensive .cursorrules file for Next.js 15 App Router projects with TypeScript, enforcing server components by default, proper use of "use client" directive, and App Router conventions.
Cursor rules for Python FastAPI projects enforcing async patterns, Pydantic v2 models, dependency injection, and proper error handling.
Rules for consistent React component development with TypeScript interfaces, proper hook patterns, and component composition.
Rules optimizing Cursor Agent mode behavior including multi-file editing context, session management, and autonomous task completion patterns.
Cursor rules for projects using Tailwind CSS with shadcn/ui component library, enforcing consistent utility class usage and component patterns.
Rules for Go backend services enforcing idiomatic Go patterns, proper error handling, and clean architecture conventions.