AI Coding Rules Guides
Cursor rules, CLAUDE.md templates, and AGENTS.md examples -for React, Next.js, and TypeScript. Ready-to-use rules your AI agent will actually follow.
Tool-Specific
CLAUDE.md, Cursor Rules, and AGENTS.md templates for specific tools
Cursor Rules for Next.js App Router
🔍how to structure cursor rules for next.js app router
Learn how to structure .cursor/rules for a Next.js App Router project. Includes a ready-to-use .mdc template covering se…
Cursor Rules for TypeScript Projects
🔍best cursor rules for typescript projects
A complete .cursor/rules template for TypeScript. Covers strict mode, no-any enforcement, naming conventions, interface …
Cursor Rules for React Best Practices
🔍cursor rules for react best practices
A production-ready .cursor/rules template for React projects covering component patterns, hooks, state management, namin…
CLAUDE.md Template for Next.js
🔍claude.md template for next.js
A complete CLAUDE.md template for Next.js App Router projects. Includes project structure, server vs client component ru…
CLAUDE.md Template for TypeScript
🔍best claude.md template for typescript
A production-ready CLAUDE.md template for TypeScript projects. Covers strict mode, no-any rules, interface vs type conve…
CLAUDE.md for React Projects
🔍claude.md for react projects
A ready-to-use CLAUDE.md template for React projects. Covers component patterns, hooks conventions, state management rul…
AGENTS.md Template and Examples
🔍AGENTS.md template example
A complete AGENTS.md template with examples. Learn what to include, how to structure it, and why it works across Codex, …
AGENTS.md vs CLAUDE.md -What's the Difference?
🔍AGENTS.md vs CLAUDE.md difference
Understand the difference between AGENTS.md, CLAUDE.md, and .cursor/rules. Which file does your project need? When to us…
Problem-Solving
Fix the most common AI agent coding problems
Fix: Cursor AI Using Wrong Folder Structure
🔍cursor ai wrong file structure
Cursor AI keeps creating files in the wrong folders? Here is exactly how to fix it with .cursor/rules -force Cursor to r…
AI Agent Ignores Your Coding Standards -Here's Why
🔍AI agent ignores my coding standards
Your AI coding agent keeps ignoring your team's standards. Here's why it happens and exactly how to fix it with CLAUDE.m…
Claude Code Not Following Rules -Fix It
🔍claude code not following rules
Claude Code keeps ignoring your rules? Here are the exact reasons why CLAUDE.md rules get ignored and how to fix each on…
How to Stop AI from Writing Bad Code
🔍stop AI from writing bad code
AI keeps writing messy, inconsistent, or wrong code? Here is the systematic fix using CLAUDE.md and .cursor/rules -with …
Framework Combos
Rules for React, Next.js, TypeScript, and popular libraries
Next.js App Router AI Agent Rules
🔍next.js app router ai agent rules
The complete AI agent rules for Next.js App Router: server components, route groups, data fetching, Server Actions, and …
React + TypeScript AI Coding Conventions
🔍react typescript coding conventions for AI
A complete set of React + TypeScript conventions for your AI coding agent. Covers component patterns, strict TypeScript,…
Next.js Folder Structure for AI Agents
🔍next.js folder structure for AI agents
Define your Next.js folder structure in a way AI agents understand and follow. Includes small, medium, and large project…
Cursor Rules for shadcn/ui Projects
🔍shadcn ui cursor rules
Cursor rules for projects using shadcn/ui. Stop Cursor from re-creating shadcn components from scratch -teach it how to …
Zustand Conventions for AI Agents
🔍zustand best practices AI agent
Teach your AI agent your Zustand conventions. Covers store structure, slice patterns, selector usage, TypeScript typing,…
How-To
Step-by-step guides for setting up AI coding standards
How to Write Cursor Rules (.mdc format)
🔍how to write cursor rules
A step-by-step guide to writing effective Cursor rules in the new .cursor/rules .mdc format. Covers frontmatter, scoping…
How to Create a CLAUDE.md File
🔍how to create claude.md file
A complete guide to creating an effective CLAUDE.md for Claude Code and Claude in IDEs. Covers what to include, what to …
How to Write an AGENTS.md File
🔍how to write AGENTS.md
A step-by-step guide to writing AGENTS.md for Codex, Cursor, Jules, GitHub Copilot, and Gemini CLI. Covers structure, co…
.cursorrules vs .cursor/rules .mdc -What Changed?
🔍.cursorrules vs .cursor/rules mdc
Understanding the difference between the legacy .cursorrules file and the new .cursor/rules/*.mdc format. When to migrat…
AI Coding Standards -The Complete 2026 Guide
🔍AI coding standards guide 2026
The definitive guide to AI coding standards in 2026. Covers CLAUDE.md, .cursor/rules, and AGENTS.md -what they are, why …
Skip the manual work. Generate your rules file.
standarx generates a CLAUDE.md, .cursor/rules, or AGENTS.md tailored to your exact stack -React, Next.js, TypeScript, and your libraries -in under 3 minutes.
Build my agent rules →