agentleFS
rkalievrkaliev/eng-kit/templates/CLAUDE.md

eng-kit / templates

CLAUDE.md1 starsChanged 13 days agoMITView on GitHub

Don't say "done" if the commands weren't run.

  • Reads credentials

The file

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

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run exactly these; they mirror CI.

    line 15
  2. Very specific:

    Read only what the task needs.

    line 25
  3. Distinctive:

    Ask first: <migrations, public API changes, payment/fiscal flows, release config, …>

    line 43
  4. Very specific:

    Never: <touch <path>, run against production, read .env, …>

    line 44
  5. Distinctive:

    Don't say "done" if the commands weren't run.

    line 51

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

<One or two sentences: what this is, who uses it, the domain (e.g. POS for cafés, payments API, casual game).>

Stack

  • <Language / framework / runtime>. Versions come from <.nvmrc | global.json | libs.versions.toml | …>; don't restate them here.
  • <Database, queues, key integrations (payment provider, fiscal device SDK, …)>

Structure

  • <path>/ — <responsibility>
  • <path>/ — <responsibility>
  • Generated or vendored, do not edit by hand: <path>

Commands

Run exactly these; they mirror CI.

  • <install command>: install with the lockfile
  • <test command>: tests
  • <typecheck/lint command>: static checks
  • <build command>: build
  • <dev command>: dev server. <Run it | Don't run it; it's already open in another terminal>

Docs

<!-- Where knowledge lives. This file loads in every session: keep facts every task needs, link the rest. -->
  • Index: docs/README.md lists every doc with one line<; llms.txt too, if the repo keeps one>.
  • Read only what the task needs. UI work starts with <design.md: tokens, components, motion>, if the project keeps one. Start here:
TaskStart with
<Change the checkout flow><docs/03-checkout.md, src/checkout/>
  • Which source wins: code, tests and CI say what exists; decision records (docs/decisions/) say which rules hold and why; topic docs describe. A contradiction is a bug: report it, don't pick one silently.
  • Task files (docs/tasks/: one per piece of work, with its description, plan and progress) stay on work branches and are deleted when the work is done; what lasts moves to docs/.

Rules

<!-- Only what differs from sensible defaults or from the eng-kit skills. Delete lines that don't apply. -->
  • Business logic lives in <path>; UI and components only display state.
  • New dependencies need approval.
  • Money: <integer minor units | Decimal>; see the payments-and-money skill.
  • UI text language: <ru | en | …>.
  • Commits: <Conventional Commits | house style>. <Any trailer or issue-ID rules.>

Boundaries

  • Ask first: <migrations, public API changes, payment/fiscal flows, release config, …>
  • Never: <touch <path>, run against production, read .env, …>

Definition of done

  1. Each criterion of the task is verified as test-standard says ("Criteria and levels"): by a test, or by a manual check only where automation is impossible, with the reason in the task file and the user's agreement. Say which, and how.
  2. <test command> and <typecheck command> ran in this session and passed.
  3. The final message lists changed files, commands run with their results, and what was not verified.

Don't say "done" if the commands weren't run.

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.