Claude Code Patterns
Repo structures and AI coding workflows built around Claude Code. Compare file setups, tradeoffs, and what fits your project.
Repo structures and AI coding workflows built around Claude Code. Compare file setups, tradeoffs, and what fits your project.
One AGENT.md file as the single source of truth, with symlinks to CLAUDE.md, .cursorrules, .windsurfrules, and copilot-instructions.md.
A deliberately tiny CLAUDE.md (under 50 lines) paired with aggressive /clear usage, plan mode, and letting the codebase speak for itself.
Separates what to build (SPEC.md) from how the AI should work (CLAUDE.md). Specs define features and constraints, CLAUDE.md defines workflow and conventions.
Frontend-optimized AI config covering design system tokens, component conventions, and testing patterns across Cursor, Copilot, and Claude Code simultaneously.
A lean CLAUDE.md that uses @path/to/file imports to pull in docs, architecture decisions, and git workflows on demand rather than inline.
Root-level CLAUDE.md with per-package CLAUDE.md files that Claude auto-loads when working in subdirectories. Works with Turborepo, Nx, and pnpm workspaces.
Full .claude/ directory with auto-discovered skills, slash commands, subagents, lifecycle hooks, and plugin support for advanced workflows.
A single CLAUDE.md file under 200 lines with project context, commands, and conventions. The Anthropic-recommended starting point.