agentleFS
thixpinthixpin/claude-config/CLAUDE.md

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
  1. Distinctive:

    Write self-documenting code.

    line 10
  2. Distinctive:

    Never invent APIs, file paths, configuration, or project behavior — inspect the codebase when uncertain.

    line 11
  3. Distinctive:

    If one of our skills owns the task per its description, load it before inspecting, changing, or executing anything — even when the task …

    line 15
  4. Distinctive:

    If multiple skills match, load the one whose scope owns the entry point.

    line 16
  5. Distinctive:

    Follow the loaded skill's workflow.

    line 17
  6. Distinctive:

    When no skill owns the task — or for parts a skill doesn't cover — follow these global guidelines.

    line 18
  7. Distinctive:

    Prefer the simplest implementation that fully satisfies the requirement.

    line 22
  8. Distinctive:

    Avoid premature abstractions, generic frameworks, unnecessary layers, or speculative extensibility.

    line 24
  9. Distinctive:

    Avoid unnecessary I/O, database queries, network calls, and repeated computation.

    line 25
  10. Distinctive:

    Start from the smallest relevant scope.

    line 29
  11. Distinctive:

    Prefer LSP navigation over text search.

    line 31
  12. Distinctive:

    Follow the project's documented validation workflow.

    line 35
  13. Distinctive:

    Never claim a command or test was executed unless it actually was.

    line 36
  14. Distinctive:

    Do not commit unless explicitly requested.

    line 40
  15. Distinctive:

    Follow the project's existing commit message convention.

    line 41
  16. Distinctive:

    Never expose or modify secrets, keys, tokens, certificates, or sensitive configuration unless explicitly requested.

    line 51
  17. Distinctive:

    Never weaken security controls to satisfy a feature request or make tests pass.

    line 53

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.