agentleFS
am-spaceam-space/own-planner/docs/CLAUDE.md

own-planner

CLAUDE.md2 starsChanged 2 months agoMITView on GitHub

Guidance for working with documentation in this folder. The root CLAUDE.md has the short version; this file holds the mechanics. Keep README.md current when adding, moving, renaming, or removing documentation. 1. Copy docs/adr/template.md to docs/adr/NNNN-<kebab-title>.md, where NNNN is the next unused zero-padded number. 2. Fill in the header (Date = today, Status = Accepted once the work merges, Deciders). 3. Describe the decision as actually built, not as originally planned — fold in any refinements made during review. The Decision…

The file

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

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep README.md current when adding, moving, renaming, or removing documentation.

    line 6
  2. Distinctive:

    Update and verify any relative links affected by the move.

    line 22
  3. Very specific:

    When an ADR replaces an earlier one, set the old ADR's Status to Superseded by ADR-NNNN and the new one's Context should link back.

    line 32
  4. Distinctive:

    Write or update the corresponding ADR first.

    line 37
  5. Distinctive:

    Add an archival banner at the top of the moved plan:

    line 39

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

docs/ — Documentation process

Guidance for working with documentation in this folder. The root CLAUDE.md has the short version; this file holds the mechanics.

Keep README.md current when adding, moving, renaming, or removing documentation.

Four kinds of docs

KindLocationLifecycle
Backlog proposaldocs/backlog/*-plan.mdPotential work with no implementation commitment. Promoted to an active plan when the team decides to build it.
Active plandocs/*-plan.mdApproved or actively pursued implementation work. Expected to drift from final code; archived once shipped.
ADRdocs/adr/NNNN-kebab-title.mdDurable record of a decision as shipped. Never edited to fit later decisions — superseded by a new ADR instead.
Referencedocs/*.md (e.g. architecture-layers.md, email-configuration.md)Living description of how things work now. Update it in the same change that alters the behavior.

Promoting a backlog proposal

  1. Confirm that the work is approved or actively being pursued.
  2. Change its Status from Backlog to Active.
  3. git mv docs/backlog/<feature>-plan.md docs/<feature>-plan.md.
  4. Update and verify any relative links affected by the move.

Writing an ADR

  1. Copy docs/adr/template.md to docs/adr/NNNN-<kebab-title>.md, where NNNN is the next unused zero-padded number.
  2. Fill in the header (Date = today, Status = Accepted once the work merges, Deciders).
  3. Describe the decision as actually built, not as originally planned — fold in any refinements made during review. The Decision section should match the code; the Related Files table points at the implementation.
  4. When an ADR replaces an earlier one, set the old ADR's Status to Superseded by ADR-NNNN and the new one's Context should link back.

Archiving a plan when its feature ships

  1. Write or update the corresponding ADR first.
  2. git mv docs/<feature>-plan.md docs/archive/<feature>-plan.md.
  3. Add an archival banner at the top of the moved plan:

    > **Archived — implemented.** This is the original implementation plan, kept for historical
    > context. The shipped design and rationale are recorded in
    > [ADR-NNNN: <title>](../adr/NNNN-<kebab-title>.md).
    > Details below may not reflect later refinements made during review.

Never delete a plan — archive it. And never leave a shipped plan sitting in docs/ as if it were current documentation; that's what the ADR + archive split prevents.

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.