agentleFS
rpraharajrpraharaj/ai-engineer/skills/record-decision/SKILL.md

record-decision

Skill1 starsChanged 15 days agoMITView on GitHub

Capture a sticky technical decision as a one-page ADR — context, options, choice, consequences. Use when the user asks to record a decision, write an ADR, or lock a choice of library, shape, or approach. Do not start a full design document.

10 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use verify.

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.
  • 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 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 6

    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. Distinctive:

    Read AGENTS.md if present.

    line 14
  2. Distinctive:

    Write when the choice will be expensive to reverse: store shape, public API, a new dependency family, a cross-cutting pattern.

    line 18
  3. Distinctive:

    If the decision is not yet made, list options and ask the blocking question.

    line 20
  4. Distinctive:

    Use the first that exists:

    line 24
  5. Very specific:

    If none: write in the reply, and offer to create docs/adr/ using this repo's markdown style

    line 28
  6. Distinctive:

    No secrets. No host or vendor lock-in language unless that *is* the decision.

    line 43
  7. Distinctive:

    Do not implement the decision unless the user asked.

    line 51

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

Write a short architecture decision record. This is not a design doc (no delivery plan, no multi-page spec). If the user wants README, API reference, or a runbook, that is write-docs. If they want a PRD, that is write-prd. If they want system shape, that is write-architecture. If they want how this initiative will be built, that is write-design. This skill locks one expensive choice those docs can point at.

Read AGENTS.md if present.

When to write one

Write when the choice will be expensive to reverse: store shape, public API, a new dependency family, a cross-cutting pattern. Do not ADR a local rename or a one-line bug fix.

If the decision is not yet made, list options and ask the blocking question. Do not pick for the user when the options trade product risk.

Find the home

Use the first that exists:

  1. docs/adr/, doc/adr/, adr/, docs/decisions/
  2. A path AGENTS.md names
  3. If none: write in the reply, and offer to create docs/adr/ using this repo's markdown style

Number the file like existing ADRs (0007-title.md). If there are none, start at 0001.

Copy sections from assets/adr-template.md in this skill directory. Keep every heading; write n/a when a section does not apply. Do not invent extra headings. If that file is missing, use the same headings: Context, Drivers, Options, Decision, Consequences.

Fill from evidence

  • Context is facts: current constraint, failing approach, requirement. Link files/symbols you read.
  • Drivers are the two or three forces that pick among the options (or n/a if Context is enough).
  • Options are real alternatives (including "do nothing"). At least two.
  • Decision is one option. If the user already chose, quote them; do not relitigate.
  • Consequences include what you are giving up and when to revisit.
  • Related points at the PRD, architecture, or design that this choice serves.

No secrets. No host or vendor lock-in language unless that is the decision.

Done

  1. Path of the ADR or the full text in the reply
  2. The decision in one sentence
  3. Whether a later data-change / implement-change / write-docs / write-design should follow

Do not implement the decision unless the user asked. Do not commit unless asked.

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.