> Sourced from [Michaelliv/cc-dejavu](https://github.com/Michaelliv/cc-dejavu) β [MIT](https://github.com/Michaelliv/cc-dejavu/blob/9a3098b36b0bc88e81b0e19bb81cc9b60e9501de/CLAUDE.md). <mental> Use `mental` to maintain the mental model as you work on the codebase. <commands> - `mental add domain <name>` - Add a domain (core business concept) - `mental add capability <name>` - Add a capability (what the system does) - `mental add aspect <name>` - Add an aspect (cross-cutting concern) - `mental add decision <what> --why <reason>` - Record a decision - `mental update <type> <name|id>` - Update an entity (--desc, --files, --relates-to, etc.) - `mental supersede decision <id>` - Replace a decision with a new one (keeps history) - `mental show` - Display the current model - `mental view` - Open interactive visualization </commands> <when-to-use> - After adding a new feature or module - After making an architectural decision - When introducing a new domain concept - When adding cross-cutting concerns (auth, logging, caching) - When the user asks to update the mental model </when-to-use> <guidelines> - Domains are nouns (User, Order, Payment) - Capabilities are verbs (Checkout, ProcessPayment, SendNotification) - Aspects apply across capabilities (Auth, Validation, RateLimit) - Decisions capture the "why" behind choices - Link decisions to related entities with --relates-to - Attach documentation with --docs (local paths or URLs) </guidelines> </mental>
Add to your project
Paste into your project's CLAUDE.md or ~/.claude/CLAUDE.md for global rules.
More for TypeScript
Rivet CLAUDE.md
by @rivet-dev
Rivet Actors are the primitive for stateful workloads. Built for AI agents, collaborative apps, and durable execution.
Mindx CLAUDE.md
by @DotNetAge
δΈδΈͺε―θͺδΈ»θΏεηζ°εεεθΊ«
Lerna CLAUDE.md
by @lerna
Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.
Transcriber CLAUDE.md
by @kossakovsky
Automated video-to-text transcription powered by ElevenLabs Scribe API with multi-language support and speaker diarization
Coolify Docs CLAUDE.md
by @coollabsio
Documentation for Coolify
Claude Homelab CLAUDE.md
by @jmagar
Comprehensive Agents, Commands, Hooks, and Skills for homelab service management - media automation, infrastructure monitoring, document management, and more
MCP servers for TypeScript
netdata/netdata#Netdata
ποΈ π βοΈ π π πͺ π§ - Discovery, exploration, reporting and root cause analysis using all observability data, including metrics, logs, systems, containers, processes, and network connections
upstash/context7
π βοΈ - Up-to-date code documentation for LLMs and AI code editors.
microsoft/playwright-mcp
Official Microsoft Playwright MCP server, enabling LLMs to interact with web pages through structured accessibility snapshots
Browse by Tag
Get the Claude Code Starter Pack
Top CLAUDE.md rules for Next.js, TypeScript, Python, Go, and React β free.
