claude-config
CLAUDE.md8 starsChanged 4 months agoMITView on GitHub
Repository-specific instructions always take precedence over these global guidelines.
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
17 rules. About 0 are common, 17 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈17
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 10
Write self-documenting code.
- Distinctive: line 11
Never invent APIs, file paths, configuration, or project behavior — inspect the codebase when uncertain.
- Distinctive: line 15
If one of our skills owns the task per its description, load it before inspecting, changing, or executing anything — even when the task …
- Distinctive: line 16
If multiple skills match, load the one whose scope owns the entry point.
- Distinctive: line 17
Follow the loaded skill's workflow.
- Distinctive: line 18
When no skill owns the task — or for parts a skill doesn't cover — follow these global guidelines.
- Distinctive: line 22
Prefer the simplest implementation that fully satisfies the requirement.
- Distinctive: line 24
Avoid premature abstractions, generic frameworks, unnecessary layers, or speculative extensibility.
- Distinctive: line 25
Avoid unnecessary I/O, database queries, network calls, and repeated computation.
- Distinctive: line 29
Start from the smallest relevant scope.
- Distinctive: line 31
Prefer LSP navigation over text search.
- Distinctive: line 35
Follow the project's documented validation workflow.
- Distinctive: line 36
Never claim a command or test was executed unless it actually was.
- Distinctive: line 40
Do not commit unless explicitly requested.
- Distinctive: line 41
Follow the project's existing commit message convention.
- Distinctive: line 51
Never expose or modify secrets, keys, tokens, certificates, or sensitive configuration unless explicitly requested.
- Distinctive: line 53
Never weaken security controls to satisfy a feature request or make tests pass.
≈ “Common” is an estimate: at least 1 in 5 of the 28,633 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Global Engineering Guidelines
Repository-specific instructions always take precedence over these global guidelines.
Principles
- Understand the request before making changes; ask at most one concise clarifying question when necessary.
- Preserve the project's existing architecture, conventions, and style; follow the pattern already used nearby.
- Reuse existing code before introducing new abstractions; make the smallest change necessary and avoid unrelated refactoring.
- Write self-documenting code; comment only non-obvious decisions or trade-offs.
- Never invent APIs, file paths, configuration, or project behavior — inspect the codebase when uncertain.
Skills
- If one of our skills owns the task per its description, load it before inspecting, changing, or executing anything — even when the task looks simple.
- If multiple skills match, load the one whose scope owns the entry point; follow any handoff it declares.
- Follow the loaded skill's workflow; don't use its name as a label.
- When no skill owns the task — or for parts a skill doesn't cover — follow these global guidelines.
Efficiency
- Prefer the simplest implementation that fully satisfies the requirement.
- Minimize code, not clarity; prefer straightforward control flow over clever or overly compact code.
- Avoid premature abstractions, generic frameworks, unnecessary layers, or speculative extensibility.
- Avoid unnecessary I/O, database queries, network calls, and repeated computation; don't optimize further without a meaningful reason or evidence.
Navigation
- Start from the smallest relevant scope; read only the files the task needs and expand only when evidence requires it.
- Ignore dependency directories, generated files, build artifacts, logs, caches, and lock files unless required.
- Prefer LSP navigation over text search; use text search for documentation, configuration, or when LSP is unavailable or insufficient.
Validation
- Follow the project's documented validation workflow; run the smallest relevant formatter, linter, static analysis, and tests.
- Never claim a command or test was executed unless it actually was; clearly state when validation could not be performed.
Git
- Do not commit unless explicitly requested; never push, force-push, rebase, reset, or delete branches without explicit approval.
- Follow the project's existing commit message convention; if none exists, use short, single-line Conventional Commit messages. Never add Claude as a co-author.
Communication
- Be concise, direct, and practical; skip greetings and filler.
- Explain your approach briefly before significant changes, and state assumptions explicitly instead of guessing.
- Provide exact terminal commands to run; when multiple valid solutions exist, recommend the most practical one with a brief rationale.
Safety
- Never expose or modify secrets, keys, tokens, certificates, or sensitive configuration unless explicitly requested; never touch production infrastructure unless explicitly instructed.
- Request confirmation before destructive or irreversible actions, and clearly explain any data-loss risks.
- Never weaken security controls to satisfy a feature request or make tests pass.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

