CCC

Documentation

Learn how to use the Claude Code Configurator.

What is CLAUDE.md?

CLAUDE.md is a configuration file that tells Claude Code how to work with your project. It defines the AI's persona, your tech stack, coding conventions, allowed commands, forbidden actions, and more. Think of it as the instruction manual that makes Claude Code a project-aware coding assistant tailored to your specific needs.

Place the CLAUDE.md file in the root of your project directory. Claude Code reads it automatically when you start a conversation, giving it full context about your project.

How to use the Configurator

  1. Choose a template — Browse the template library and pick one that matches your stack. Each template comes pre-loaded with production-ready configuration blocks.
  2. Customize blocks — In the editor, you can:
    • Drag and drop blocks to reorder them
    • Toggle blocks on/off (disabled blocks appear as comments)
    • Edit block content directly in the textarea
    • Double-click block titles to rename them
    • Add new blocks from the block library sidebar
    • Delete non-required blocks
  3. Preview in real time — The right panel shows your CLAUDE.md with syntax highlighting, updating live as you type.
  4. Export — Download as CLAUDE.md file, export as JSON for later import, or copy to clipboard.

Block types reference

TypePurposeExample
roleDefine the AI expert persona and core principlesYou are an expert Next.js developer...
stackList all tools, frameworks, and versionsFramework: Next.js 14, Language: TypeScript 5.4
architectureDescribe folder structure and module boundariessrc/app/ for routes, src/components/ for UI...
conventionsDefine naming, patterns, and coding rulesUse camelCase for variables, PascalCase for components
commandsCLI commands Claude is allowed to runpnpm dev, pnpm build, pnpm test
forbiddenActions Claude must never takeNEVER use any in TypeScript
testingTest strategy, coverage, and frameworksVitest for unit tests, 80% coverage minimum
deploymentCI/CD, Docker, and infrastructure patternsDocker multi-stage build, deploy on merge to main
securitySecurity policies and OWASP guidelinesAlways validate input, use parameterized queries
stylePrettier, ESLint, and formatting rulesSingle quotes, 2-space indent, trailing commas
mcpMCP server configurationsfilesystem, database, or custom tool servers
agentsCustom agent definitionsCode reviewer, security auditor, TDD guide
hooksShell commands on Claude Code eventsPre-commit, post-tool-use hooks
customFreeform instructionsAny additional project-specific guidance

Using the exported CLAUDE.md

After exporting, place the CLAUDE.md file in the root of your project directory. Claude Code will automatically read it when you start working in that directory. No additional setup is needed.

Importing a JSON config

You can save your configuration as JSON to share with teammates or back up your setup. To import a JSON config, click the Export dropdown in the configurator and select "Import JSON". The file must be a valid JSON with version "1.0" and a blocks array.

Keyboard shortcuts

Cmd/Ctrl + SExport as CLAUDE.md (download)
Cmd/Ctrl + ZUndo last block change