Developer AI Agent Rules & Cursorrules
Stop AI coding agents from generating deprecated APIs, introducing security vulnerabilities, or violating your architecture. Download production-ready .cursorrules, CLAUDE.md, and AGENTS.md files.
All Framework & Language Rules
Showing 10 Rule ConfigurationsNext.js 15 App Router AI Agent Rules & Cursorrules
Prevent AI coding agents from generating obsolete Next.js Pages router code, leaking sensitive server logic into client bundles, or misusing React 19 hooks.
React 19 Modern Hooks & Compiler AI Agent Rules
Eliminate obsolete React patterns. Teach AI models to write modern React 19 code using useActionState, useOptimistic, and clean unidirectional data flow.
TypeScript Strict Mode AI Agent Rules & Cursorrules
Stop AI agents from cutting corners with 'any', 'as unknown as T', or non-null assertions. Enforce branded types, exhaustive switch statements, and schema-driven type safety.
Python & FastAPI AI Agent Rules & Cursorrules
Prevent AI models from generating legacy Python 2/3.8 patterns. Enforce Python 3.12 type hints, Pydantic v2 settings, FastAPI dependency injection, and async database sessions.
Tailwind CSS v4 AI Agent Rules & Cursorrules
Prevent AI agents from generating deprecated Tailwind v3 config files. Enforce Tailwind CSS v4 CSS-first configuration (`@theme`), OKLCH colors, and container queries.
Node.js & Backend REST API AI Agent Rules & Cursorrules
Prevent memory leaks and unhandled promise crashes. Enforce enterprise Node.js standards including structured JSON logging, graceful SIGTERM shutdowns, and rate limiting.
PostgreSQL, Prisma & Drizzle AI Agent Rules & Cursorrules
Prevent AI agents from writing disastrous database migrations and slow unindexed queries. Enforce compound indexing, non-blocking lock timeouts, and safe ORM joins.
Docker & Container Security AI Agent Rules & Cursorrules
Stop AI agents from generating insecure, bloated 1GB Docker images that run as root. Enforce multi-stage builds, non-root user execution, and BuildKit cache mounts.
Go Microservices & Clean Architecture AI Agent Rules & Cursorrules
Prevent AI models from generating Java-like Go code or introducing silent goroutine leaks. Enforce idiomatic error handling, context propagation, and clean architectural boundaries.
Angular 18+ Signals & Standalone AI Agent Rules & Cursorrules
Prevent AI models from generating deprecated Angular 12 NgModules and manual RxJS subscriptions. Enforce modern Angular Signals, computed states, and built-in control flow (@if, @for).
Taming LLM Hallucinations in Software Engineering
When AI coding assistants write code, they extrapolate from their training corpora, which often contain deprecated conventions from earlier major versions. Placing targeted rules files like .cursorrules, CLAUDE.md, or AGENTS.md in your repository root injects authoritative system instructions directly into the agent's prompt context. This guarantees that every snippet generated adheres to your current framework versions, type safety constraints, and security standards.