agentleFS
The-UrcydoThe-Urcydo/Agents-Skills-Roles-Oriented/skills/record-decision/SKILL.md

record-decision

Skill2 starsChanged 23 days agoMITView on GitHub

Record a significant technical decision as an architecture decision record with context, considered options, outcome, and consequences. Use when a choice is hard to reverse, has real alternatives, or future agents will ask why.

16 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use explain-code, verify and 1 more.

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.
  • zbruhnkeSkill

    explain-code

    Explain how code works in detail. Use when trying to understand unfamiliar code, complex logic, or system architecture.

    Also in 3 projects that use this

  • Microsoft AzureSkill

    verify

    End-to-end app testing pipeline for browser-based web apps on cloud browsers via Azure Playwright Workspaces: verify the live app, author tests for working flows, heal failing tests, then re-run with video and produce one consolidated report. Three phases (app verification, test authoring, test healing) plus a scoped final sanity run; each phase emits a sub-report. Use when asked to "verify my app", "make sure my app works and has good test coverage", "do a full QA pass", "add tests where I'm missing coverage", "fix failing tests and add new ones", "smoke test before deploy", "QA my deployment", or any combined verify-and-test ask. Requires Azure CLI (`az login`) and a Playwright Workspace resource ID — bootstraps configs on first invocation. Browser-based web apps with Playwright only — not for unit/API tests, native mobile/desktop, load/perf, or full accessibility audits.

    Also in 4 projects that use this

  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 13 edited versions we read keep these.

  • 3

    Distinctive

    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:

    Use this when a choice has real alternatives and a future reader will need the reason.

    line 12
  2. Distinctive:

    Read the existing decisions first.

    line 16
  3. Distinctive:

    Run the repository's check and confirm the file name, number, status, and date are valid.

    line 28

“Common” is measured: kept by at least 6 in 10 of the 13 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 a decision

Use this when a choice has real alternatives and a future reader will need the reason. A small reversible choice inside your remit belongs in the pull request, not an ADR.

Steps

  1. Read the existing decisions first. Accepted decisions are binding. If the new choice conflicts, propose a superseding record instead of working around it.
  2. Decide whether the choice meets the bar: hard to reverse, costly, security-relevant, affects several parts, or likely to be questioned later. If not, record it in the pull request and stop.
  3. Allocate the next number with the repository's tool. Do not guess a number or create the file by hand when a tool exists.
  4. Write:
    • Context and problem statement: the forces and the question.
    • Decision drivers: what matters and why.
    • Considered options: at least two, with the real trade-offs.
    • Decision outcome: the chosen option and the reason.
    • Consequences: what gets better, what gets worse, and what stays neutral.
    • Confirmation: how the decision will be checked.
  5. Set the status. A significant, costly, or irreversible decision starts as proposed; only the human moves it to accepted. A small reversible decision inside your remit may start as accepted.
  6. Link the affected docs and code. Put the one-sentence summary in the front matter.
  7. Run the repository's check and confirm the file name, number, status, and date are valid.

Verify

  • The record has context, at least two options, an outcome, and consequences.
  • The number is unique and the file name follows the repository's convention.
  • The status matches who approved it.
  • A reader six months from now can understand why without asking.
  • The check passes.

In Repo-Template

python3 tools/new_adr.py "Title"                    # proposed by default
python3 tools/new_adr.py "Title" --status accepted  # a small, reversible decision
python3 tools/new_adr.py "Title" --supersedes 0003  # replace an accepted record

ADRs live in docs/decisions/. The tool allocates the number. A significant ADR starts as proposed; the human accepts it. --supersedes marks the older record superseded and links both directions.

Stop and ask

  • The decision is irreversible, costly, security-relevant, or reverses an accepted decision.
  • Two accepted decisions conflict.
  • The human has not approved a decision that needs their sign-off.
  • The record would include a secret or a personal path.

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.