agentleFS
guillevcguillevc/skills/skills/living-spec/record/SKILL.md

record

Skill0 starsChanged 5 months agoMITView on GitHub

Write a resolved fact into the living spec (a glossary term or an ADR) and keep it coherent. Use proactively the moment a durable fact settles, even if the user never says "record" or "ADR": a decision made, a library/tool/protocol/schema chosen, a rule or constraint set, a term's meaning pinned, or a past decision reversed. Also on "record this", "write an ADR", "add to the glossary", "supersede that decision", /record, or when develop or audit needs to write the spec. Drafts for human ratification; durable writes are gated.

6 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use commit.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • SentrySkill

    commit

    Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 1

    Distinctive

    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. Very specific:

    Never write Status: accepted.

    line 66
  2. Distinctive:

    Write both or neither; else keep the old and record nothing.

    line 78

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “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
SKILL.md

Record

The single writer of the living spec: the glossary (what words mean, edited in place) and ADRs (what was decided, immutable, reversed only by superseding).

Gates

  • Autonomous: classify the fact, choose the slot, draft the entry.
  • Light: glossary edits; confirm before writing.
  • Hard: a committed ADR is immutable. Present the draft, get explicit go-ahead, then write. Never edit a committed ADR in place; reverse it only by superseding. An uncommitted ADR is still soft; see Soft ADRs below.

Route

Durable-fact test: does this change a rule, design, decision, or term? If not, it's behavior or progress; leave it to code and tests, stop. If so:

FactSlot
a term (project vocabulary)glossary entry
a decision / rule / constraint / design / deviationa new ADR (supersede if it reverses one)

Locations: glossary docs/GLOSSARY.md; ADRs docs/decisions/; else the agent doc (CLAUDE.md/AGENTS.md); else ask. Create lazily on first entry.

Glossary

One canonical term per concept. Terms only. A relationship ("an Order owns its line items") is a decision, so it's an ADR. Before writing a term, check the existing glossary; if it collides with or duplicates an entry, surface the conflict for the human instead of writing a rival.

**Term**:
One or two sentences. What it IS, not what it does.
_Avoid_: synonym1, synonym2

ADR

# <NNNN>: <decision stated as a choice>

Supersedes: <old-id>            <!-- only when this reverses an existing ADR; else omit -->
Status: superseded by <id>      <!-- only on an ADR that was later reversed; a live ADR has none -->

<1-3 sentences: context, decision, why.>

## Considered options           <!-- optional; add only when it earns its place -->

## Consequences                 <!-- optional; add only when it earns its place -->

Number by incrementing the highest id in the dir. A new ADR has no Status line, which means live. Never write Status: accepted; the only status ever written is superseded by <id>.

Record an ADR only when all three hold: hard to reverse, surprising without context, a real trade-off. Else skip.

Soft ADRs. An uncommitted ADR is still soft: edit or drop it in place, no supersede, no merits gate. Immutability starts at the commit that delivers it. Once committed, the ADR is immutable. Treat an ADR as immutable and supersede unless you're sure it's still uncommitted.

Supersede to reverse a committed ADR. First the merits gate: argue the reversal fresh, as if no ADR existed, never "the old one is inconvenient." If merits favor change, draft the new ADR with its Supersedes line and flip the old one's Status, never touching the old body. Write both or neither; else keep the old and record nothing.

Steps

  1. Restate the fact in one sentence; run the durable-fact test and route it.
  2. For a reversal, run the merits gate, then the three-test gate.
  3. Draft in the slot's format.
  4. Confirm (hard gate for ADRs), then write. One fact, one home.

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.