agentleFS
nikovirtalanikovirtala/artifact/.claude/skills/adr/SKILL.md

adr

Skill0 starsChanged 4 days agoMITView on GitHub

Use before changing architecture, data stores, integration patterns, dependencies or cross-cutting conventions, and whenever asked to record, propose or look up an architectural decision.

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 9 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

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. 0 are common, 12 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 87 edited versions we read keep these.

  • 12

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Call adr_for_path for the files you will touch, and adr_search for the area you are about to change.

    line 14
  2. Distinctive:

    If your change conflicts with an accepted decision, stop and tell the user which ADR it conflicts with.

    line 18
  3. Distinctive:

    If the user still wants the change, propose a superseding ADR.

    line 20
  4. Very specific:

    Use adr_get or adr://decision/{id}, never docs/adr/decisions/*.md.

    line 24
  5. Distinctive:

    If a response says SUPERSEDED or DEPRECATED, follow it to the effective decision before acting.

    line 25
  6. Distinctive:

    If it says REJECTED or WITHDRAWN, the decision was never in force.

    line 27
  7. Distinctive:

    Call adr_templates and fill every required section.

    line 32
  8. Distinctive:

    Use only facts from the conversation and the code.

    line 33
  9. Distinctive:

    Do not accept your own proposal.

    line 37
  10. Distinctive:

    If the user decides against your proposal, withdraw it with adr_withdraw and give their reason.

    line 39
  11. Distinctive:

    When you move or rename code covered by a decision, let the pre-commit hook update its globs (adr hooks install).

    line 45
  12. Distinctive:

    Before any scope change, read the decision's Scope section.

    line 50
  13. Distinctive:

    Use adr_note to change the meaning of a decision.

    line 59
  14. Very specific:

    Use the CLI with --json: adr search, adr for, adr show, adr new, adr note.

    line 64

“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

Architectural decisions (adr)

Decisions in this repo are managed by adr. Decision files do not show their own status, so never judge from the raw files whether a decision applies.

Before changing architecture

  1. Call adr_for_path for the files you will touch, and adr_search for the area you are about to change. adr_search returns active decisions only; adr_for_path also lists inactive ones, each with a warning.
  2. If your change conflicts with an accepted decision, stop and tell the user which ADR it conflicts with. Do not work around it silently.
  3. If the user still wants the change, propose a superseding ADR.

Reading decisions

  • Use adr_get or adr://decision/{id}, never docs/adr/decisions/*.md.
  • If a response says SUPERSEDED or DEPRECATED, follow it to the effective decision before acting.
  • If it says REJECTED or WITHDRAWN, the decision was never in force; do not apply it.

Proposing decisions

  1. Call adr_templates and fill every required section.
  2. Use only facts from the conversation and the code. Mark unknowns as open questions instead of inventing them.
  3. List at least two options considered when the template has that section.
  4. Set supersedes when the proposal replaces an existing decision.
  5. Do not accept your own proposal. Tell the user the ADR id and that they can review it and run: adr accept <id>
  6. If the user decides against your proposal, withdraw it with adr_withdraw and give their reason. Don't withdraw other people's proposals; tell the user instead.

Changing scope

  • When you move or rename code covered by a decision, let the pre-commit hook update its globs (adr hooks install). For your own proposals, you can use adr_scope. Rescoping an accepted decision needs mcp_can_decide; otherwise tell the user and suggest adr scope <id> ….
  • Before any scope change, read the decision's Scope section. If it would no longer read true after the change, do not rescope: tell the user the decision itself is changing and propose a superseding ADR.

Never

  • Edit an accepted decision body, any file under docs/adr/events/, or index.md by hand.
  • Use adr_note to change the meaning of a decision. Notes clarify; changed decisions need a superseding ADR.

Without the MCP server

Use the CLI with --json: adr search, adr for, adr show, adr new, adr note. Set ARK_AGENT=<your name> and ARK_ON_BEHALF_OF=<the user's email> so your writes are attributed.

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.