agentleFS
swimmesbergerswimmesberger/Elarion/.agents/skills/adr/SKILL.md

adr

Skill2 starsChanged 5 days agoApache-2.0View on GitHub

Write or supersede an architecture decision record in docs/decisions. Use when a decision is hard to reverse, would surprise a future reader, or resolved a real trade-off, and when the user says "record this decision" or "write an ADR".

105 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use fdr, adr-review 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

  • zgagnonSkill

    adr-review

    Use when reviewing code for Architecture Decision Record (ADR) compliance during refactoring or code review - checks code against all project ADRs and reports violations with specific fixes

    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

  • montymiSkill

    tech-spec

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

    Also in 4 projects that use this

  • JkudjoSkill

    incident

    Production incident response — structured triage, hypothesis tree, safe remediation, incident record

    Also in 5 projects that use this

  • dedeneSkill

    untangle-codebase

    Audit or refactor a codebase or subsystem to reduce hidden coupling, scattered business rules, and unnecessary abstractions while preserving behavior and framework conventions. Use when asked to untangle, de-spaghetti, or reduce coupling in a codebase; when code is tangled or hard to change, tech debt has piled up, or one change needs edits in many places; or for an architecture cleanup or broad structural refactor. Not for incidental cleanup during an unrelated feature or a defect-only diff review.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 87 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    Create NNNN-kebab-case-title.md in the README's format: the frontmatter envelope (type: Architecture Decision Record, title, description, …

    line 15
  2. Very specific:

    Add one entry to docs/decisions/index.md (make check fails without it) and one to docs/log.md with tools/log_add.py.

    line 19
  3. Very specific:

    Never rewrite an accepted ADR.

    line 21
  4. Very specific:

    If the decision introduces or changes a term, update GLOSSARY.md in the same change.

    line 23

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

The format, the three-part test for whether a decision deserves an ADR, the status words and the rules for superseding live in docs/decisions/README.md. Read it first; this skill is the procedure, not the format. ADRs live in docs/decisions/, never in docs/adr/.

  1. Apply the three-part test from the README. If it fails, tell the user why and stop.
  2. Take the next free number: the highest number in docs/decisions/ plus one, after checking that no open pull request already uses it (gh pr list --state open --json number,title,files). Never renumber and never reuse a number.
  3. Create NNNN-kebab-case-title.md in the README's format: the frontmatter envelope (type: Architecture Decision Record, title, description, status), the # ADR-NNNN: Title heading, the - Status: and - Date: bullets, then Context, Decision, Consequences, and the rejected alternatives. - Status: Proposed with status: draft until the user accepts it, then Accepted with stable.
  4. Add one entry to docs/decisions/index.md (make check fails without it) and one to docs/log.md with tools/log_add.py.
  5. Never rewrite an accepted ADR. To change a decision, write a new one and mark the old one as the README's "Rules" describe (Superseded by, status: deprecated, superseded_by: NNNN).
  6. If the decision introduces or changes a term, update GLOSSARY.md in the same change. If it changes a rule agents must follow, update AGENTS.md or the pattern rule in .github/instructions/ as well: an ADR is rationale, the rule files are what is loaded.
  7. A published page (.mdx) that cites the ADR links it by its absolute GitHub URL. Link the ADR from the pull request description.

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.