agentleFS
viknesh20-20viknesh20-20/claude-code-tool-kit/.claude/CLAUDE.md

claude-code-tool-kit

CLAUDE.md7 starsChanged 6 months agoMITView on GitHub

Universal Claude Code configuration — stack-agnostic, upgradable, shared across all projects. Detailed rules are in .claude/rules/ and auto-load into context. Current directory: !pwd Project files: !ls -1 2>/dev/null | head -20 Git branch: !git branch --show-current 2>/dev/null || echo "not a git repo" Language hints: !ls package.json requirements.txt Pipfile pyproject.toml go.mod Cargo.toml *.csproj *.sln Gemfile build.gradle pom.xml composer.json mix.exs deno.json 2>/dev/null Customize this section per project, or create CLAUDE.local.md for personal notes.

  • Reads credentials

The file

We split this CLAUDE.md into the rules it gives an agent

12 rules. About 0 are common, 12 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈12

    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:

    Follow the existing patterns and conventions already present in THIS project

    line 17
  2. Distinctive:

    When rules conflict with project conventions, project conventions win

    line 19
  3. Distinctive:

    Verify directories exist before creating files

    line 22
  4. Distinctive:

    Prefer editing specific sections over rewriting entire files

    line 23
  5. Distinctive:

    Follow existing naming conventions in the project

    line 25
  6. Distinctive:

    Ask clarifying questions rather than assuming

    line 30
  7. Distinctive:

    Do not refactor files outside the current task scope

    line 33
  8. Distinctive:

    Do not install new packages without confirming with the user

    line 34
  9. Distinctive:

    Do not modify lock files manually

    line 35
  10. Distinctive:

    Do not overwrite .env files or secrets

    line 36
  11. Distinctive:

    Do not make architectural changes without discussion

    line 37
  12. Distinctive:

    Do not delete tests, even if currently failing

    line 38

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

Project Instructions

Universal Claude Code configuration — stack-agnostic, upgradable, shared across all projects. Detailed rules are in .claude/rules/ and auto-load into context.

Environment Detection

Current directory: !pwd Project files: !ls -1 2>/dev/null | head -20 Git branch: !git branch --show-current 2>/dev/null || echo "not a git repo" Language hints: !ls package.json requirements.txt Pipfile pyproject.toml go.mod Cargo.toml *.csproj *.sln Gemfile build.gradle pom.xml composer.json mix.exs deno.json 2>/dev/null


Core Principles

  • Follow the existing patterns and conventions already present in THIS project
  • Detailed standards are in .claude/rules/ — they auto-load per session
  • When rules conflict with project conventions, project conventions win

File Operations

  • Verify directories exist before creating files
  • Prefer editing specific sections over rewriting entire files
  • Respect .gitignore — never modify ignored file categories
  • Follow existing naming conventions in the project

Communication

  • Be concise but thorough — explain "why" not just "what"
  • Flag potential issues and trade-offs proactively
  • Ask clarifying questions rather than assuming

Boundaries

  • Do not refactor files outside the current task scope
  • Do not install new packages without confirming with the user
  • Do not modify lock files manually
  • Do not overwrite .env files or secrets
  • Do not make architectural changes without discussion
  • Do not delete tests, even if currently failing

Project-Specific Configuration

Customize this section per project, or create CLAUDE.local.md for personal notes.

Stack

<!-- Language, framework, database, test runner, package manager -->

Build & Dev Commands

<!-- dev server, build, test, lint, type check -->

Architecture Notes

<!-- Key directories, patterns, data flow -->

Key Conventions

<!-- Project-specific conventions beyond the universal rules -->

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.