agentleFS
lgulliverlgulliver/derrick/.claude/skills/derrick-decision-log/SKILL.md

derrick-decision-log

Skill2 starsChanged 6 months agoMITView on GitHub

Record a new architectural decision in DESIGN.md §12. Use when locking in a choice that has been open, when superseding an existing decision, or when promoting an open question to a resolved decision. Triggers include "record a decision", "lock this in", "add D entry", "decision log", or natural-language equivalents.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read DESIGN.md §12 to find the next free D number.

    line 38
  2. Distinctive:

    Add the new row to the §12 decisions table.

    line 41
  3. Distinctive:

    If the decision resolves an open question, remove the question from the "Remaining open questions" subsection.

    line 42
  4. Very specific:

    Commit with a message in the form design: D## — <title> so the decision is greppable in git history.

    line 44
  5. Distinctive:

    Add code. Pure documentation skill.

    line 52
  6. Very specific:

    Add open questions. New open questions are added directly to §12 by design-keeper without using this skill.

    line 53

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

Derrick Decision Log

Append a new D# entry to DESIGN.md §12 (Decisions taken) without breaking the format. Update or remove the corresponding open question if there was one.

When to use

  • A choice that has been an open question is now resolved.
  • A new constraint emerges mid-implementation that future PRs need to respect.
  • An existing D entry is being superseded.

Format

Each entry is one row in the existing table:

| D## | **Title**: one or two sentences describing the decision. | §section |
  • D## is the next integer (D27, D28, …). Never reuse a number even if a decision is superseded.
  • Title is bold, ≤8 words, captures the essence.
  • Body is one or two sentences. Reference the chosen approach, not the alternatives.
  • §section points at the load-bearing locus in DESIGN.md.
  • A superseding decision body begins "Supersedes D##." and explains the shift.

Process

  1. Read DESIGN.md §12 to find the next free D number.
  2. Locate the affected section in DESIGN.md. If it doesn't reflect the decision yet, update it first (the prose, not the table).
  3. Add the new row to the §12 decisions table.
  4. If the decision resolves an open question, remove the question from the "Remaining open questions" subsection.
  5. Commit with a message in the form design: D## — <title> so the decision is greppable in git history.

What this skill does NOT do

  • Edit existing D entries. They are immutable except for typo fixes (handled by direct edit, not this skill).
  • Add code. Pure documentation skill.
  • Add open questions. New open questions are added directly to §12 by design-keeper without using this skill.

Reference

  • DESIGN.md §12 — Decisions taken & remaining open questions.
  • AGENTS.md — house rule 7 (DESIGN.md is the rulebook).
  • .claude/agents/design-keeper.md — the agent that uses this skill most often.

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.