165 prompts available in the Cursor directory
Generate optimized .cursorrules files tailored to your project's tech stack, conventions, and team preferences. Covers TypeScript, Python, Rust, Go, and more.
Leverage Cursor's Agent mode to build complete features end-to-end. Handles file creation, terminal commands, dependency installation, and multi-file edits in one flow.
Generate complete React components with TypeScript types, props interface, stories, and unit tests in one prompt.
Generate robust Next.js API routes with Zod validation, error handling, rate limiting, and TypeScript types.
Design database tables with proper types, constraints, indexes, and migration files for PostgreSQL/Supabase.
Generate FastAPI endpoints with Pydantic request/response models, dependency injection, and async database operations.
Generate thorough unit test suites with edge cases, mocking, and coverage for any function or module.
Systematically analyze and fix bugs by examining error messages, stack traces, and related code paths.
Refactor complex functions into clean, testable, well-named smaller functions following SOLID principles.
Fix TypeScript type errors and upgrade code to strict mode with proper type narrowing and generics.
Create custom React hooks with proper cleanup, error handling, loading states, and TypeScript generics.
Generate a type-safe API client layer with request/response types, error handling, and retry logic.
Analyze code for performance issues and apply optimizations including memoization, lazy loading, and caching.
Generate conventional commit messages and detailed PR descriptions from staged changes.
Convert design mockups into responsive Tailwind CSS with dark mode, animations, and accessibility.
Create React error boundaries with proper fallback UIs, error logging, and recovery mechanisms.
Generate Python data processing pipelines with pandas, validation, logging, and error recovery.
Implement complete auth flows with JWT/session management, protected routes, and role-based access.
Generate production-ready Dockerfiles and docker-compose configurations with multi-stage builds and security best practices.
Generate comprehensive documentation from code including API docs, architecture overview, and getting started guide.
Optimize slow SQL queries with index suggestions, query rewrites, and EXPLAIN ANALYZE interpretation.
Generate complex React forms with field validation, error messages, accessibility, and submission handling.
Create middleware functions for logging, authentication, rate limiting, CORS, and request validation.
Create type-safe state management stores with actions, selectors, persistence, and devtools integration.