Pillar Specification & Hub DirectoryCLAUDE.md Repository Guidelines Directory
The root onboarding manual for Anthropic's Claude Code CLI. Gives Claude instant mastery over your build systems, test suites, and project architecture.
./ (Repository Root)CLAUDE.mdHow CLAUDE.md Repository Guidelines Operates in Production
A CLAUDE.md file placed at the root of a Git repository acts as Claude's persistent onboarding manual. Whenever Claude Code launches in a project directory, it parses CLAUDE.md before running any commands. It provides essential facts about package managers, build commands, test runners, directory architecture, and non-negotiable coding conventions.
Provide exact build, test, and lint commands so Claude never has to guess.
## Common Commands
- Build: `npm run build`
- Test: `npm test -- --watch=false`
- Typecheck: `npx tsc --noEmit`
- Lint: `npm run lint`Define immutable project invariants and module responsibilities.
## Code Style & Architecture
- Next.js 15 App Router: Server Components by default.
- Data Mutations: Server Actions with Zod safeParse.
- Styling: Tailwind CSS v4 utility classes only../CLAUDE.mdRepository RootPrimary instructions file read immediately upon Claude Code session startup.
Available Tech Stack Presets (18)
Click any tech stack below to open the client-side editor preloaded with this verified configuration.
Next.js 15 App Router
Generate a Next.js 15 CLAUDE.md repository instruction file with App Router conventions.
"Define standard commands: build, test, lint, and dev server."
React 19 & Vite
Generate a React 19 CLAUDE.md repository guide with Vite, TypeScript, and custom hook guidelines.
"Standard commands: `npm run build`, `npm test`, `npm run lint`."
Python FastAPI
Generate a Python FastAPI CLAUDE.md repository instruction file with async backend conventions.
"Specify virtual environment and dependency runner commands (`uv run pytest`, `uv run uvicorn`)."
Supabase & PostgreSQL
Generate a Supabase & PostgreSQL CLAUDE.md repository guideline for Claude Code.
"Always include `ENABLE ROW LEVEL SECURITY;` on every created table."
Prisma ORM
Generate a Prisma ORM CLAUDE.md repository guideline for Claude Code.
"Always use `select` to specify required fields; avoid raw `findMany()` fetching unused relations."
Drizzle ORM
Generate a Drizzle ORM CLAUDE.md repository guideline for Claude Code.
"Define schemas using pgTable/sqliteTable with explicit foreign keys and constraints."
Go & Fiber
Generate a Go Fiber CLAUDE.md repository file with Go build commands and testing standards.
"Commands: `go test -v ./...`, `golangci-lint run`, `go run cmd/server/main.go`."
Rust & Axum
Generate a Rust Axum CLAUDE.md repository guide with cargo test, clippy, and error handling rules.
"Commands: `cargo test`, `cargo clippy -- -D warnings`, `cargo check`."
Tailwind CSS v4
Generate a Tailwind CSS v4 CLAUDE.md repository guideline for Claude Code.
"Configure themes directly in globals.css using `@theme` and `@import 'tailwindcss';`."
Vue 3 & Nuxt 3
Generate a Vue 3 & Nuxt 3 CLAUDE.md repository guideline for Claude Code.
"Always use `<script setup lang='ts'>` and the Composition API; ban legacy Options API."
SvelteKit 5 & Svelte 5
Generate a SvelteKit 5 & Svelte 5 CLAUDE.md repository guideline for Claude Code.
"Use Svelte 5 runes: `$state()`, `$derived()`, and `$props()`."
Universal Cursor Pro
Generate a Universal Cursor Pro CLAUDE.md repository guideline for Claude Code.
"Deliver surgical, targeted diffs; never replace entire files unnecessarily."
Pragmatic Rapid Prototyping
Generate a Pragmatic Rapid Prototyping CLAUDE.md repository guideline for Claude Code.
"Prioritize working software over complex design patterns or deep inheritance hierarchies."
Zero-Trust Security
Generate a Zero-Trust Security CLAUDE.md repository guideline for Claude Code.
"Flag and prevent any dynamic SQL query string interpolation."
Docker & CI/CD
Generate a Docker & CI/CD CLAUDE.md repository guideline for Claude Code.
"Always use multi-stage Docker builds to separate builder tools from the lean production image."
Vitest & Playwright TDD
Generate a Vitest & Playwright TDD CLAUDE.md repository guideline for Claude Code.
"Write unit tests covering happy paths and at least two edge/error cases for every new function."
Automated Code Reviewer
Generate a Automated Code Reviewer CLAUDE.md repository guideline for Claude Code.
"Scan repository manifests to map stack idioms before evaluating logic."
Multi-Agent System Orchestration
Generate a Multi-Agent System Orchestration CLAUDE.md repository guideline for Claude Code.
"Define subagent roles: Lead Architect, Frontend Engineer, Backend Specialist, Security Reviewer."
Where should CLAUDE.md be placed?
CLAUDE.md should be located in the root directory of your repository. Claude Code automatically looks for and loads this file when you run claude in terminal.
Can I use CLAUDE.md alongside Cursor .mdc rules?
Yes! They complement each other. CLAUDE.md provides overall project build/test commands and repository orientation, while .cursor/rules/*.mdc provides granular, file-glob scoped editing rules.