agentleFS
SupabaseKnown publishersupabase/supabase-go/.agents/skills/recording-decisions/SKILL.md

recording-decisions

Skill0 starsChanged 2 months agoMITView on GitHub

Guides capturing development decisions. Use when a design choice is made, changed or reverted during any task, especially choices that diverge from convention or that a future maintainer is likely to ask "why?" about. Covers when an entry is warranted, the What/Why entry format, the present-tense-only rule and the expectation that entries land atomically with the change they record.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    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:

    Read its preamble for the What/Why format, the present-tense-only rule and the expectation that decision entries land atomically with the …

    line 9
  2. Distinctive:

    Never re-tell a neighboring entry, never name it and never borrow its rationale.

    line 17
  3. Distinctive:

    If two entries need the same sentence, either the sentence belongs to one of them or the two entries are one decision.

    line 18
  4. Distinctive:

    Never restate signatures, mechanics or behavior that is readable at source.

    line 21
  5. Distinctive:

    Before writing a decision entry, name the precise question a future maintainer would ask that reading the finished code - identifiers, …

    line 26
  6. Distinctive:

    If a sentence still informs after its 'which proves / enables / pays off' clause is deleted, then delete that clause!

    line 31
  7. Distinctive:

    Prefer one representative example over an exhaustive enumeration, and avoid 'every' and 'all' unless totality is itself the decision.

    line 35

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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
SKILL.md

Recording Location and Format

decisions.md is the record: Read its preamble for the What/Why format, the present-tense-only rule and the expectation that decision entries land atomically with the change they describe. Existing decision entries establish the pattern to follow.

Authoring Guidelines

Decision entries are records, not essays. They must only state what they uniquely own, otherwise trusting the code as the canonical record of behavior, and trusting neighboring entries to tell their own stories.

Never re-tell a neighboring entry, never name it and never borrow its rationale. If two entries need the same sentence, either the sentence belongs to one of them or the two entries are one decision.

The source code is the canonical record of what the implementation does and what APIs offer. Never restate signatures, mechanics or behavior that is readable at source. Decision entries record the choice and why it beat the alternative, nothing more.

Your default should be No Entry: Most changes, including large refactors, warrant no entry. Before writing a decision entry, name the precise question a future maintainer would ask that reading the finished code - identifiers, types, package boundaries and comments included - cannot answer. Applying an established convention of this codebase again is not such a question as the repeat use of a house pattern is self-evident, not a decision. An entry earns its place only by capturing what the source cannot show - for example, the alternative that lost and the reason it lost.

Record, don't perform. No trailing clauses that admire the design, no coined aphorisms, no imagined reader journeys. If a sentence still informs after its 'which proves / enables / pays off' clause is deleted, then delete that clause!

State the why once and stop: no rationale for the rationale, and what deliberately does not exist earns at most the one line that forbids it.

Prefer one representative example over an exhaustive enumeration, and avoid 'every' and 'all' unless totality is itself the decision. This is very important for maintainability as the codebase grows, otherwise entries end up needing to be expanded in later unrelated iterations to fulfil a false sense of completeness.

Decision entry headings name the decision, and the body carries it. Progressive disclosure applies to prose: the heading lets a reader decide whether to read the entry, the entry lets them decide whether to open the code, and no layer repeats the layer below.

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.