// Interactive Tool

CLAUDE.md
Generator

Build your agent constitution. 9 inputs. Production-ready output.

CLAUDE.md is the file that tells Claude Code how to behave in your project. Stack conventions, git rules, quality gates, and anti-patterns — all in one file. Fill out the form below and copy the result into your repo root.

01 — Project Identity
02 — Workflow & Deploy
03 — Quality & Guardrails
Live PreviewCLAUDE.md
# CLAUDE.md — my-project

## Stack
- **Framework:** Next.js
- **Styling:** Tailwind CSS
- **Testing:** Vitest
- **Deploy:** Cloudflare

## Git Rules
- **NEVER** commit directly to `main`. Always create a feature branch, push, and open a PR.
- Branch naming: `feat/<description>`, `fix/<description>`, `chore/<description>`
- Squash merge PRs. Keep commit history clean.

## Architecture Constraints
- Use App Router (`app/` directory). No Pages Router.
- Server Components by default. Only add `"use client"` when interactivity is required.
- Static export (`output: "export"`) unless server-side features are explicitly needed.
- All styling via Tailwind CSS. No inline styles except for dynamic values.

## Quality Gates
- All PRs must pass `npx vitest` before merge.

## Commands
```bash
npm run dev         # local development
npm run build       # production build
npm run lint        # lint check
npm run test        # Vitest
```
L56

CLAUDE.md Mastery

Deep dive into structuring your agent constitution for maximum effectiveness.

Related Tools