agentleFS
RealDougEubanksRealDougEubanks/ClaudeMarketplace/skills/adr/SKILL.md

adr

Skill1 starsChanged 3 months agoMITView on GitHub

Creates and maintains Architecture Decision Records (ADRs) in docs/decisions/ using the MADR format. Supports creating, listing, updating, superseding, and searching ADRs.

35 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use coverage, observability and 8 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.
  • PydanticSkill

    coverage

    Fetch coverage diff from Codecov for the current branch or a specific PR. Shows uncovered lines, patch coverage, and overall coverage change.

    Also in 3 projects that use this

  • OpenAISkill

    observability

    Vercel Observability expert guidance — Drains (logs, traces, speed insights, web analytics), Web Analytics, Speed Insights, runtime logs, custom events, OpenTelemetry integration, and monitoring dashboards. Use when instrumenting, debugging, or optimizing application performance and user experience on Vercel.

    Also in 5 projects that use this

  • SentrySkill

    agents-md

    This skill should be used when the user asks to "create AGENTS.md", "update AGENTS.md", "maintain agent docs", "set up CLAUDE.md", or needs to keep agent instructions concise. Guides discovery of local skills and enforces minimal documentation style.

    Also in 3 projects that use this

  • MongoDBSkill

    jira

    Use this skill for any Jira operation in the DOCSP project — creating, viewing, searching, updating, transitioning, commenting on, or linking tickets. Also handles follow-up ticket creation to manage scope creep. TRIGGER when: user mentions a DOCSP-XXXXX ticket number or any Jira ticket URL; user asks to view, open, check, update, transition, close, comment on, link, or search tickets; user references \"the ticket\", \"the Jira\", or \"open a ticket\". SKIP: GitHub issues; non-Jira platforms; questions unrelated to ticket operations.

    Also in 4 projects that use this

  • GitHubSkill

    refactor

    Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.

    Also in 5 projects that use this

  • 0xSeroSkill

    security

    Also in 4 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. 0 are common, 12 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 31 edited versions we read keep these.

  • 12

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create, list, update, and supersede Architecture Decision Records (ADRs) following the Markdown Architectural Decision Records (MADR) …

    line 13
  2. Very specific:

    Before creating anything, detect where this project keeps ADRs.

    line 19
  3. Distinctive:

    Every ADR uses this structure:

    line 25
  4. Distinctive:

    If no arguments were given, ask the user what they want to do:

    line 92
  5. Distinctive:

    Use Glob to find all existing ADRs in the detected ADR directory.

    line 103
  6. Distinctive:

    Use Read on any related existing ADRs mentioned.

    line 104
  7. Distinctive:

    Ask the user (skip the title question if it was passed as an argument):

    line 105
  8. Very specific:

    Use Write to save to <adr-dir>/ADR-<NNN>-<kebab-case-title>.md.

    line 112
  9. Distinctive:

    Update the ADR index (see Step 3).

    line 113
  10. Distinctive:

    Use Glob to find all ADRs in the detected ADR directory.

    line 119
  11. Distinctive:

    Use Read to load the ADR. Use Edit to update the Status field.

    line 135
  12. Distinctive:

    Create a new ADR (Step 2a) that documents the new decision.

    line 145
  13. Distinctive:

    Use Edit to update the old ADR's status to "Superseded by ADR-NNN".

    line 147
  14. Distinctive:

    Use Grep across the detected ADR directory for the keyword or tag.

    line 153
  15. Very specific:

    After any create/update operation, regenerate <adr-dir>/README.md — an index of all ADRs sorted by number, showing status as a text badge: …

    line 159

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

Purpose

Create, list, update, and supersede Architecture Decision Records (ADRs) following the Markdown Architectural Decision Records (MADR) format. Maintains an ADR directory (see Directory Convention below). Works standalone or as a companion to /architecture-design.


Directory Convention

Before creating anything, detect where this project keeps ADRs. Use Glob to check, in order: docs/decisions/ADR-*.md, docs/adr/*.md, adr/*.md, docs/architecture/decisions/*.md. Use the first directory that already contains ADRs. Only if none exists, default to docs/decisions/. All paths below refer to this detected directory.


ADR Format (MADR)

Every ADR uses this structure:

# ADR-NNN: <Title>

**Date:** YYYY-MM-DD
**Status:** Proposed | Accepted | Deprecated | Superseded by ADR-NNN
**Deciders:** <names or roles>
**Tags:** <architecture | security | database | api | infrastructure | ...>

## Context and Problem Statement

[1-3 paragraphs: what situation led to this decision? What is the problem being solved? What forces are at play?]

## Decision Drivers

- [driver 1: most important constraint or goal]
- [driver 2]

## Considered Options

1. **[Option A — Recommended]** — one-sentence description
2. **[Option B]** — one-sentence description
3. **[Option C]** — one-sentence description

## Decision Outcome

**Chosen option:** [Option A], because [one paragraph justification tied to decision drivers].

### Positive Consequences
- [what becomes easier, better, or possible]

### Negative Consequences / Trade-offs
- [what becomes harder, more expensive, or is given up]

## Pros and Cons of the Options

### Option A — [Name]
- ✅ [pro]
- ✅ [pro]
- ❌ [con]
- ❌ [con]

### Option B — [Name]
- ✅ [pro]
- ❌ [con]

## Links
- [Link to related ADR, design doc, RFC, or Jira ticket]

Instructions

Step 1 — Determine the action

Parse $ARGUMENTS first and dispatch directly — do not ask if the action is given:

InvocationAction
/adr create <title>Step 2a, using <title> as the decision title
/adr listStep 2b
/adr update <n> <status>Step 2c on ADR-<n>, setting <status>
/adr supersede <n>Step 2d replacing ADR-<n>
/adr search <keyword>Step 2e with <keyword>

If no arguments were given, ask the user what they want to do:

  • (a) Create a new ADR — document a new architectural decision
  • (b) List existing ADRs — show all ADRs with status and one-line summary
  • (c) Update an ADR's status — mark as Accepted, Deprecated, or Superseded
  • (d) Supersede an ADR — create a new ADR that replaces an existing one
  • (e) Search ADRs — find ADRs by tag, status, or keyword

Step 2a — Create a new ADR

  1. Use Glob to find all existing ADRs in the detected ADR directory. Determine the next number.
  2. Use Read on any related existing ADRs mentioned.
  3. Ask the user (skip the title question if it was passed as an argument):
    • What is the decision being made? (one sentence title)
    • What is the context / problem? (what forced this decision)
    • Who are the deciders?
    • What options were considered?
    • What was chosen and why?
  4. Generate the full ADR using the MADR format above.
  5. Use Write to save to <adr-dir>/ADR-<NNN>-<kebab-case-title>.md. Create the directory if it doesn't exist.
  6. Update the ADR index (see Step 3).

Step 2b — List existing ADRs

Use Glob to find all ADRs in the detected ADR directory. Use Read on each to extract: number, title, status, date, tags. Output a sorted table:

## Architecture Decision Records

| # | Title | Status | Date | Tags |
|---|-------|--------|------|------|
| ADR-001 | Use PostgreSQL as primary database | Accepted | 2026-01-15 | database |
| ADR-002 | Adopt hexagonal architecture | Accepted | 2026-01-20 | architecture |
| ADR-003 | Use Redis for session storage | Proposed | 2026-02-01 | infrastructure |

Step 2c — Update status

Use Read to load the ADR. Use Edit to update the Status field. Valid transitions:

  • Proposed → Accepted (decision confirmed)
  • Proposed → Deprecated (no longer relevant before being accepted)
  • Accepted → Deprecated (no longer the right approach)
  • Accepted → Superseded by ADR-NNN (replaced by a newer decision)

Step 2d — Supersede

  1. Create a new ADR (Step 2a) that documents the new decision.
  2. In the new ADR, add a link: "Supersedes ADR-NNN: [title]"
  3. Use Edit to update the old ADR's status to "Superseded by ADR-NNN".

Step 2e — Search

Use Grep across the detected ADR directory for the keyword or tag. Return matching ADRs with context.


Step 3 — Maintain ADR Index

After any create/update operation, regenerate <adr-dir>/README.md — an index of all ADRs sorted by number, showing status as a text badge: [ACCEPTED], [PROPOSED], [DEPRECATED], [SUPERSEDED].

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.