agentleFS
me-cedricme-cedric/agent-compass/skills/adr/SKILL.md

adr

Skill3 starsChanged 27 days agoMITView on GitHub

Write a MADR 4 decision record from a meeting transcript, call notes or a decision made in chat. Keeps the rejected options and the reasons. Use when the user asks to record or capture a decision.

90 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use fdr, runbook and 10 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.
  • thiagofgfSkill

    fdr

    Use when creating, changing, reviewing, retiring, auditing, or backfilling implemented user-visible feature behavior, permissions, feature-specific rationale, tradeoffs, or relationships to architectural decisions.

    Also in 3 projects that use this

  • AnthropicSkill

    runbook

    Create or update an operational runbook for a recurring task or procedure. Use when documenting a task that on-call or ops needs to run repeatably, turning tribal knowledge into exact step-by-step commands, adding troubleshooting and rollback steps to an existing procedure, or writing escalation paths for when things go wrong.

    Also in 5 projects that use this

  • drewdrewthisSkill

    sweep

    Search for similar patterns, anti-patterns, or issues elsewhere in the codebase after a fix or feature. Use after implementing a fix to catch the same bug in other places, or proactively to audit for a known pattern.

    Also in 4 projects that use this

  • vndeeSkill

    product-spec

    Use when starting a new feature, product, or project — before any architecture or code, to define what to build and why

    Also in 3 projects that use this

  • OpenAISkill

    threat-model

    Use when Codex is already in the threat-modeling phase of a security scan, the user explicitly invokes $threat-model, or the user explicitly asks to create, update, or persist a repository threat model. Do not use as the primary trigger for full PR, commit, branch, patch, or repository scans.

    Also in 6 projects that use this

  • montymiSkill

    tech-spec

    Parse and review Technical Specification documents for completeness, consistency, and implementation readiness

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 75 edited versions we read keep these.

  • 2

    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:

    Use the template in that directory when one exists.

    line 19
  2. Distinctive:

    Keep every rejected option with the reason that it lost.

    line 23
  3. Distinctive:

    Write each gap as an open question or a follow-up under Consequences.

    line 26

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

adr

Record a decision that is structural and costly to undo: architecture, a shared contract, data ownership, build or buy, a cross-cutting convention. Skip a local choice that the code already shows. For the architecture of a new project, use architecture-advisor.

Steps

  1. Find {{ADR_DIR}}. Create it if it does not exist.
  2. Use the template in that directory when one exists. Its name starts with template or adr-template. Else use the shape below.
  3. Take the next number: the highest NNNN plus one, in four digits. Name the file NNNN-kebab-title.md.
  4. Extract from the source. Do not invent. Take the problem, the forces, each option, its pros and cons, the choice, the reasons and the follow-ups.
  5. Attribute nothing that the source does not support.
  6. Keep every rejected option with the reason that it lost.
  7. Set status: proposed. Set accepted only when the meeting ratified the decision.
  8. Set date to the meeting date. Fill decision-makers, consulted and informed only from the source.
  9. Write each gap as an open question or a follow-up under Consequences.
  10. Link both ways. Link the module README or design note to the ADR. Link the ADR to the spec, the issue and the PR.
  11. Report the path and a one-line summary.

Shape (MADR 4)

---
status: proposed
date: <YYYY-MM-DD>
decision-makers: []
---
# <short title>
## Context and problem statement
## Decision drivers
## Considered options
## Decision outcome
Chosen option: "<option>", because <reason>.
### Consequences
## Pros and cons of the options
## More information

Rules

  • Fill every section, or write N/A.
  • Supersede, never rewrite. A reversed decision gets a new ADR. Change the status of the old ADR to superseded by NNNN.
  • Change an accepted ADR only in its status.
  • Do not commit.

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.