Skip to main content

// rules

Rules and Config Files

A rule file is a plain config file that encodes your team conventions so an AI coding tool follows them on every task. The common formats are CLAUDE.md for Claude Code, .cursorrules for Cursor, and AGENTS.md for shared setups. Copy one below as a starting point, read the line-by-line breakdown, and adapt it to your codebase.

New to rule files? Start with the build guide

// the library

Browse Rules and Config Files

1 config
CLAUDE.md claude-md Community

Project-level memory file that tells Claude Code your stack, conventions, and commands every session

# Project

TypeScript React application using Next.js 14 App Router with Tailwind CSS and Prisma ORM.

## Commands
// faq

Rule File Questions

What is a rule file?

It is a config file that tells an AI coding tool your standards and conventions, so its output matches how your team already works. The tool reads it on every task.

What is the difference between CLAUDE.md, .cursorrules, and AGENTS.md?

They are the same idea in different formats for different tools. CLAUDE.md is for Claude Code, .cursorrules is for Cursor, and AGENTS.md is a shared format several tools read. The card badge shows which format each config uses.

How do I use one of these?

Copy the full config with the button on the card, drop it into your project at the path the format expects, and adjust it to your codebase. The rule page explains each line.

Are these safe to copy into my project?

Yes. A rule file only sets preferences and conventions for the tool. Read the line-by-line breakdown so you know what each setting does before you commit it.

Build faster with AI agents

Assemble skills, rules, and MCP servers into agents that run on every commit. ClickUp is where the output they ship gets tracked and managed.

Get Started →