Cursor rules library
Curated .cursorrules templates for agentic developers — frontend, backend, MCP, and testing.
Updated 2026-08-04
Categories
- #1 TypeScript + ReactFrontend
Strict TypeScript, React 19, functional components, and accessible UI patterns for Cursor.
- #2 Next.js App RouterFrontend
Next.js 15 App Router conventions — server components, metadata, and route handlers.
- #3 Python FastAPIBackend
FastAPI best practices — Pydantic models, async routes, and typed dependencies.
- #4 Node.js ExpressBackend
Express API patterns with TypeScript, middleware, and error handling.
- #5 Rust SystemsSystems
Idiomatic Rust — ownership, error handling with Result, and clippy-friendly code.
- #6 Go MicroservicesBackend
Go service conventions — context propagation, interfaces, and table-driven tests.
- #7 AI Agent + MCPAgentic
Rules for building MCP servers and agentic tools — tool schemas, error surfaces, and safety.
- #8 Testing (Jest/Vitest)Quality
Unit and integration testing patterns — meaningful assertions, no trivial tests.
- #9 Tailwind CSS UIFrontend
Tailwind utility-first styling with consistent spacing, responsive design, and a11y.
- #10 PostgreSQL & SQLData
SQL style guide — migrations, indexes, and parameterized queries.
- #11 Security ReviewQuality
Security-first coding — input validation, secrets handling, and OWASP awareness.
- #12 Technical WritingDocs
Clear API docs, README structure, and changelog conventions.