agentleFS
vndeevndee/engineering-skills/.claude/skills/adr/SKILL.md

adr

Skill3 starsChanged 9 months agoMITView on GitHub

Use when making significant technical decisions that should be documented — framework choices, architecture patterns, trade-offs, and migration decisions

35 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use coverage, agents-md and 4 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

  • 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

  • GitHubSkill

    prd

    Generate high-quality Product Requirements Documents (PRDs) for software systems and AI-powered features. Includes executive summaries, user stories, technical specifications, and risk analysis.

    Also in 4 projects that use this

  • CloudflareSkill

    security-audit

    Security guidance and vulnerability review for codebases, APIs, services, CLI tools, libraries, and daemons. Use for security questions, focused reviews, vulnerability research, security audits, or pen tests. Run the complete workflow only for explicit codebase audit or pen-test requests, full/comprehensive/end-to-end reviews, or requested report artifacts.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 31 edited versions we read keep these.

  • 1

    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. Distinctive:

    Document why you chose one approach over another.

    line 10
  2. Very specific:

    REQUIRED: Update CLAUDE.md if decision changes architecture or conventions (claude-md)

    line 106

“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

Architecture Decision Records

Overview

Document why you chose one approach over another. Future you (and future Claude sessions) need this context.

Core principle: Decisions without documented reasoning get relitigated endlessly. Write it down once.

When to Use

  • Choosing a framework, library, or tool
  • Deciding on architecture patterns (monolith vs microservice, sync vs async)
  • Making trade-offs (consistency vs availability, simplicity vs flexibility)
  • Changing an existing decision
  • Any decision someone might ask "why did we do it this way?"

ADR Format

# ADR-[NNN]: [Decision Title]

**Status:** [Proposed | Accepted | Deprecated | Superseded by ADR-NNN]
**Date:** [YYYY-MM-DD]
**Deciders:** [who was involved]

## Context

[What is the situation? What forces are at play? What problem are we solving?]

## Decision

[What did we decide to do?]

We will use [choice] because [primary reason].

## Alternatives Considered

### Alternative A: [name]
- **Pros:** [list]
- **Cons:** [list]
- **Why not:** [decisive reason]

### Alternative B: [name]
- **Pros:** [list]
- **Cons:** [list]
- **Why not:** [decisive reason]

## Consequences

### Positive
- [benefit 1]
- [benefit 2]

### Negative
- [trade-off 1]
- [trade-off 2]

### Risks
- [risk 1] — mitigated by [how]

## Review Triggers

Revisit this decision when:
- [condition 1, e.g., "team grows beyond 5 engineers"]
- [condition 2, e.g., "traffic exceeds 10k req/sec"]

File Organization

docs/
  adr/
    001-use-fiber-over-echo.md
    002-clean-architecture.md
    003-offset-pagination.md
    004-generic-validation.md
    005-monolith-first.md

Common ADR Topics

DecisionKey Trade-offs
Framework choiceEcosystem, performance, learning curve, community
Monolith vs microservicesComplexity, deployment, team size, scaling
SQL vs NoSQLConsistency, query flexibility, schema evolution
REST vs GraphQLClient flexibility, caching, complexity
Sync vs async processingLatency, reliability, complexity
Build vs buyCost, customization, maintenance burden
Offset vs cursor paginationSimplicity vs performance at scale

Anti-Patterns

  • No alternatives listed — if you didn't consider alternatives, you didn't make a decision
  • No consequences — every decision has trade-offs, document them
  • Too vague — "we chose the best option" explains nothing
  • Never updated — mark old ADRs as deprecated/superseded, don't delete them

Chains

  • REQUIRED: Update CLAUDE.md if decision changes architecture or conventions (claude-md)
  • After: system-design decisions, data-model schema decisions
  • Reference: During go-refactor / py-refactor to understand original intent

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.