agentleFS
prabhakar349prabhakar349/claude-ddd-redesign/skills/adr/SKILL.md

adr

Skill1 starsChanged 3 months agoMITView on GitHub

Defines the content and structure of an Architecture Decision Record. Reference when assembling or reviewing adr/*.md.

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

Files
SKILL.md

ADR

Defines what an Architecture Decision Record contains. An ADR is the human-readable rationale behind an architecture decision; the Stage 5 [record] gate criterion — "architecture review approval, bound to artifact version hash" — is satisfied by a schema-valid Approval record (schemas/approval.schema.json), not by the ADR prose itself. The ADR is why a human signed that approval; the Approval record is the machine-checkable proof that they did (Constitution C2).

Schema anchor

schemas/approval.schema.json. An ADR should reference the specific approval record (by criterion and artifact) that its decision corresponds to, once that approval exists.

Standard sections

  1. Title — a short, specific name for the decision, not "Architecture Decisions for Slice X".
  2. Status — proposed / accepted / superseded (and by which later ADR, if superseded — never delete an ADR).
  3. Context — what forces are in tension. Cite the Behaviors, Divergences, or coupling evidence that drove the decision, by ID.
  4. Decision — the actual choice, stated plainly.
  5. Consequences — what this makes easier, what it makes harder, and what it forecloses. Include the anticorruption-layer / context-map pattern implications if the decision touches a boundary (knowledge/ddd-reference.md §1.3).

Behavior-ID citation

Cite the Behavior IDs, Divergence IDs, or Context IDs that motivated the decision wherever they are the actual reason — an ADR that asserts a rationale with no traceable evidence is an opinion, not a record.

What this skill does not cover

Whether the decision was correct — that is what the human architecture reviewer's Approval record attests to (Constitution C2's escape hatch: the gate checks the record exists and is schema-valid, not that the judgment was right).

Minimal worked example (excerpt)

# ADR-0003: Ordering integrates with legacy Billing via an Anticorruption Layer

## Status
Accepted

## Context
BHV-0011, BHV-0057 (DVG-0003) show Billing's OPEN/CLOSED status is invoice
lifecycle, not order lifecycle — a false cognate, not shared vocabulary.

## Decision
Ordering owns its own status model. A translation adapter converts to/from
Billing's model at the boundary; Billing's model never leaks into Ordering.

## Consequences
Adds one translation layer to maintain. Protects Ordering's model from
drift if Billing's status semantics change later.

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.