agentleFS
ku5icku5ic/claude-kit/CLAUDE.md

claude-kit

CLAUDE.md2 starsChanged 7 days agoMITView on GitHub

Working on the kit itself. Build, test, and release steps live in README.md "Develop"; this file holds only what that doesn't. Every behavior the kit applies everywhere has exactly one owner, listed below. Before adding or changing guidance, find its owner here: change it there, or nowhere. Every other file links to the owner or says nothing about the topic. It never restates, paraphrases, or reminds.

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

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

    Every behavior the kit applies everywhere has exactly one owner, listed below.

    line 7
  2. Distinctive:

    When two files disagree, the owner wins and the other file is fixed.

    line 10

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

claude-kit

Working on the kit itself. Build, test, and release steps live in README.md "Develop"; this file holds only what that doesn't.

One source of truth

Every behavior the kit applies everywhere has exactly one owner, listed below. Before adding or changing guidance, find its owner here: change it there, or nowhere. Every other file links to the owner or says nothing about the topic. It never restates, paraphrases, or reminds.

  • Data and mechanics belong to code: kit.yml and the kit binary. Prose never re-describes what a subcommand does.
  • When two files disagree, the owner wins and the other file is fixed.
  • A topic missing from this table gets a row before it gets text anywhere else.
TopicOwner
Reply length, shape, where output goes, writing files with Edit/Write, code-block tags, external-communication tone, review comment shaperules/output.md
Evidence, confidence labels, never invent, stop after three failed fixesrules/evidence.md
Minimal change, precedent, blast radius, dead code, comments, abstractions, simplification criteria, less coderules/change.md
Which pattern a size, spread, or repetition signal calls forskills/engineering-fundamentals/reference/design-patterns.md
Size, nesting, branch, and coupling thresholdsskills/engineering-fundamentals/reference/metric-thresholds.md
Done and verificationrules/verify.md
Git and commit policy, side effects, shell mechanics, plans and the step pause, ask vs proceed, AskUserQuestion, review findings, which skills are procedure skillsrules/workflow.md
Subagent use and agent defaultsrules/subagents.md
CLI choice, read budget, calling bin scripts, scratch and plan locationrules/tooling.md
Artifact naming and pathkit scratch-dir
Resolving a linked ticket or doc before work startsskills/investigate step 0
Report shape and severityskills/report-format
Test designskills/test-patterns
Red-green-refactor cycleskills/engineering-fundamentals/reference/red-green-refactor.md
Guard lists, skill maps, deny lists and flags, gate env and timeout, on_edit formatting, the CLI tools list, the AI-tell lexicon and its tierskit.yml
Which checks, fixers, hooks, and package managers a project hasits own configs, read by go/internal/sources; gap-fill (go/internal/gapfill) for what they leave open
What runs at each checkpoint: full gate, Stop, per edit, commit messagego/internal/enforce
Languages a project uses, and its subprojectsthe manifests go/internal/sources reads (Languages, Anchors)
Where a tool's binary comes from, and when PATH is allowedgo/internal/resolve
How task bodies and CI steps are readgo/internal/classify
Finding AI tells in text, and the unslop: allow markergo/internal/slop
What an AI tell is and how to rewrite one, in prose and in UIskills/slop-patterns
Which skills and rules the claude.ai chat bundle carrieskit.yml chat_bundle:
How the chat bundle is built from themgo/internal/chatbundle
Personal register and typographythe user's own ~/.claude/rules/voice.md, never the kit

Skills and agents carry procedure and stack knowledge only. When one needs a rule above, it cites rules/<file>.md instead of restating it.

Run the checkout's kit

In this repo, call bin/kit, never bare kit: on PATH, kit is the installed release, which plans and checks with the old code. With KIT_DEV=1, bin/kit builds from go/. This overrides rules/tooling.md section 2 here only.

Rules are live

The SessionStart and SubagentStart hooks inject rules/*.md from the plugin root they run from. A session running the hooks from this checkout picks up a rule edit at its next start or compaction, so finish a rules change in one sitting.

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.