Black Friday sale: 85 Claude Code agents for $29 one-time · lifetime updatesGet access →
Free Tool

CLAUDE.md Generator

Create a clear CLAUDE.md for your project in a minute. Claude Code reads this file at the start of every session, so the commands, code style and rules you set here apply to every prompt.

Start from:
Rules for Claude
CLAUDE.md
CLAUDE.md
# My App

A web app that helps small teams track customer feedback.

## Stack

- Next.js (App Router)
- TypeScript
- Tailwind CSS

## Commands

- Start dev server: `npm run dev`
- Build: `npm run build`
- Run tests: `npm test`
- Lint: `npm run lint`

## Project structure

- src/app/ - routes and pages
- src/components/ - shared UI components
- src/lib/ - helpers and data access
- public/ - static files

## Code style

- Use TypeScript strict mode; no `any`.
- Server Components by default; add "use client" only when needed.
- Named exports for components; one component per file.

## Rules

- Run the tests and the linter before saying a task is done.
- Make the smallest change that solves the task; don't refactor unrelated code.
- Ask before adding a new dependency.
- Never commit or push unless I ask.
- Never read or print .env files or secrets.

38 lines — a good length.

How to use your CLAUDE.md

  1. Download the file or copy it into CLAUDE.md at your project root.
  2. Commit it so everyone on the team, and every Claude Code session, uses the same rules.
  3. Keep it short. When Claude repeats a mistake, add one line here instead of repeating it in prompts.
Skip the setup: 85 ready-made agents for Claude Code

Coding, SEO and marketing agents, 52 skills and 53 slash commands. Installs with one line.

All free tools →

Frequently asked questions

CLAUDE.md is a Markdown file Claude Code reads at the start of every session in that folder. It is where you tell Claude about your project: the stack, the commands to run, the code style and the rules to follow, so you don't repeat them in every prompt.

Related guides and tools