agentleFS
ack-solutionsack-solutions/claude-code-ai-skills/templates/CLAUDE.md

claude-code-ai-skills / templates

CLAUDE.md1 starsChanged 44 days agoMITView on GitHub

Follow the user's explicit request and existing project decisions. Use the relevant project skills when their workflows fit the task; do not load every skill for routine edits.

The file

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

11 rules. About 0 are common, 9 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    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:

    Follow the user's explicit request and existing project decisions.

    line 3
  2. Distinctive:

    Read the README, relevant manifests and existing tests to discover setup, stack and commands.

    line 7
  3. Distinctive:

    Use existing product requirements for behaviour, architecture notes for module boundaries, and design tokens/components for UI work.

    line 8
  4. Very specific:

    If the project starter docs are installed, begin with docs/README.md and docs/PROJECT_CONTEXT.md.

    line 9
  5. Distinctive:

    If the complete fix needs changes beyond the authorized task, report the full impact and obtain expanded scope before those changes.

    line 16
  6. Distinctive:

    Keep one clear owner for each business rule and authoritative fact.

    line 17
  7. Distinctive:

    Keep schema changes deliberate and review generated migrations.

    line 19
  8. Distinctive:

    Update affected requirements, contracts and documentation when intended behaviour changes.

    line 21
  9. Very specific:

    Test meaningful behaviour against requirements and use the project's relevant lint/type/build commands.

    line 25
  10. Distinctive:

    Never claim unperformed tests, studies, research, measurements or deployments.

    line 29
  11. Distinctive:

    Use one authoritative backlog and its adopted lifecycle.

    line 30

≈ “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 working agreement

Follow the user's explicit request and existing project decisions. Use the relevant project skills when their workflows fit the task; do not load every skill for routine edits.

Learn this project

  • Read the README, relevant manifests and existing tests to discover setup, stack and commands. Record verified project-specific commands here when asked to configure the project.
  • Use existing product requirements for behaviour, architecture notes for module boundaries, and design tokens/components for UI work. If they do not exist, establish only the context the requested task needs.
  • If the project starter docs are installed, begin with docs/README.md and docs/PROJECT_CONTEXT.md; read the relevant requirements, design, architecture and feature records on demand. Templates and proposed playbook rules are not automatically approved decisions.
  • During project setup or rule configuration, inspect installed .claude/rules/ files explicitly and compare their paths with actual source folders. Propose corrections before relying on those rules; a nonmatching rule may never load itself. Do not edit configuration as a side effect of an ordinary review.
  • State material assumptions. Resolve missing product choices that change the outcome, while proceeding on safe independent work.

Implementation

  • Trace affected consumers before changing shared behaviour. Preserve unrelated work.
  • If the complete fix needs changes beyond the authorized task, report the full impact and obtain expanded scope before those changes. Do not hide an incomplete fix or silently widen the task.
  • Keep one clear owner for each business rule and authoritative fact. Reuse existing contracts/components when the responsibilities match.
  • Enforce permissions and ownership at the trusted boundary. Consider failure, retries, concurrency and compatibility relevant to the change.
  • Keep schema changes deliberate and review generated migrations. Inspect test setup before commands that reset data.
  • Local transactions do not make remote effects atomic. Identify intermediate states and recovery for distributed operations.
  • Update affected requirements, contracts and documentation when intended behaviour changes.

Verification and scope

  • Test meaningful behaviour against requirements and use the project's relevant lint/type/build commands. Report exactly what ran and what remains untested.
  • Inspect rendered UI and real journeys where tools permit. Source review and a passing build do not establish visual or product acceptance.
  • A review or diagnosis produces evidence and recommendations. A request to fix/refactor includes scoped implementation and verification.
  • Publishing, production changes and external communications follow the user's actual authorization. Do not invent deployment targets or credentials.
  • Never claim unperformed tests, studies, research, measurements or deployments. Distinguish facts, hypotheses and proposals.
  • Use one authoritative backlog and its adopted lifecycle. Record partial progress and unresolved decisions without inventing completion states or deleting decision history. Task completion is separate from deployment.

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.