cursor-best-practices
Guidance for maximizing Cursor productivity through planning, context management, and effective agent workflows.
- Start with Plan Mode for complex tasks and manage context by letting the agent find relevant code, starting fresh conversations when needed
- Extend agent capabilities using Rules for static context and Skills for dynamic, reusable operations
- Adopt test-driven development, use the agent to explore codebases, automate git operations, and run parallel agents for comparison
- Review AI-generated code with the same rigor as human-written code
Cursor Best Practices
Best practices for working with Cursor to maximize productivity and code quality.
Core Principles
- Start with plans - Use Plan Mode (Shift+Tab) for complex tasks
- Manage context effectively - Let agent find context, start new conversations when needed
- Extend the agent - Use Rules for static context, Skills for dynamic capabilities
- Review carefully - AI-generated code needs review like human code
Key Workflows
- Test-driven development - Write tests first, iterate until passing
- Codebase understanding - Use agent to explore and learn codebases
- Git workflows - Automate common git operations with commands
- Parallel agents - Run multiple agents simultaneously for comparison
References
More from siviter-xyz/dot-agent
create-skill
Guide for creating effective skills following best practices. Use when creating or updating skills that extend agent capabilities.
2.0Ksoftware-engineer
Core software engineering principles for code style, documentation, and development workflow. Applies when editing code, working in software repositories, or performing software development tasks.
375python
Python development guidelines and best practices. Use when working with Python code.
259create-agents-md
Create AGENTS.md files for project-specific inline rules. Use when adding small, project-specific instructions that should be committed in repos.
209frontend-engineer
Frontend development guidelines for React/TypeScript applications. Modern patterns including Suspense, lazy loading, useSuspenseQuery, file organization with features directory, MUI v7 styling, TanStack Router, performance optimization, and TypeScript best practices. Use when creating components, pages, features, fetching data, styling, routing, or working with frontend code.
197backend-engineer
Build robust backend systems with modern technologies (Node.js, Python, Go, Rust), frameworks (NestJS, FastAPI, Django), databases (PostgreSQL, MongoDB, Redis), APIs (REST, GraphQL, gRPC), authentication (OAuth 2.1, JWT), testing strategies, security best practices (OWASP Top 10), performance optimization, scalability patterns (microservices, caching, sharding), DevOps practices (Docker, Kubernetes, CI/CD), and monitoring. Use when designing APIs, implementing authentication, optimizing database queries, setting up CI/CD pipelines, handling security vulnerabilities, building microservices, or developing production-ready backend systems.
183