adr
Skill0 starsChanged 27 days agoMITView on GitHub
Gerencia Architecture Decision Records do repo em docs/adr/ — new, supersede, deprecate, list, show, reindex, propose (a partir de decisões do ciclo). ADRs são imutáveis; mudança de decisão = supersede.
90 other projects use a version of this.
Adopted by
Most recently taken up by
- computerlovetech/skillstheir own version, first seen Nov 8, 2026
- rvdbreemen/OTGW-firmwaretheir own version, first seen Nov 8, 2026
- axodouble/skillstheir own version, first seen Nov 8, 2026
- RodrigoAnciaes/golem-sddtheir own version, first seen Nov 8, 2026
- n1kben/agentstheir own version, first seen Nov 8, 2026
- Mehul72/skillstheir own version, first seen Nov 8, 2026
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.
thiagofgfSkillfdr
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
AnthropicSkillrunbook
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
drewdrewthisSkillsweep
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
vndeeSkillproduct-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
OpenAISkillthreat-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
montymiSkilltech-spec
Parse and review Technical Specification documents for completeness, consistency, and implementation readiness
Also in 3 projects that use this
Other versions90 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 90
- CrowdDotDev/crowd.dev★ 3.4ksame name
- chattocorp/chatto★ 2.9ksame name
- Cosmian/kms★ 372same name
- linuxfoundation/insights★ 288same name
- rvdbreemen/OTGW-firmware★ 213same name
- sd0xdev/sd0x-dev-flow★ 192same name
- sd0xdev/sd0x-harness★ 192same name
- irahardianto/awesome-agv★ 157same name
- jellydn/my-ai-tools★ 127same name
- EmeaAppGbb/spec2cloud★ 100same name
80 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository28 other files it gives its agents.
- ado-closeSkill
- ado-commentSkill
- ado-getSkill
- ado-refineSkill
- approve-reviewSkill
- appSkill
- autoSkill
- challenge-specSkill
- completeSkill
- dart-clean-archSkill
- discoverySkill
- fixSkill
- flutter-clean-archSkill
- implementSkill
- jira-refineSkill
- kickoffSkill
- linear-refineSkill
- orcamentoSkill
- planSkill
- post-reviewSkill
- pr-openSkill
- pr-statusSkill
- refineSkill
- reviewSkill
- specifySkill
- statusSkill
- tasksSkill
- verifySkill
The file
Files
Uso: /adr <subcomando> [args]. Sem subcomando → list.
REPO=$(git rev-parse --show-toplevel)
ADR_DIR="$REPO/docs/adr"
source ~/.claude/bin/get-project.sh
WF_DIR="$HOME/.claude/workflow/$(get-project-name)"
SUBMODULE=$(git -C "$ADR_DIR" rev-parse --show-superproject-working-tree 2>/dev/null)Submódulo: SUBMODULE não vazio significa que docs/adr é um submódulo (ADR vive em outro repo). Aí new, supersede e reindex recusam com uma linha explicando; propose não escreve ADR: grava as candidatas em $WF_DIR/adr-candidates.md (o /pr-open --from-complete anexa esse arquivo ao PR).
Formato
docs/adr/NNNN-<slug>.md:
---
id: NNNN
title: <decisão em uma frase>
status: proposed | accepted | deprecated | superseded
date: YYYY-MM-DD
affects: ["lib/features/**/bloc/**"]
supersedes: []
superseded_by: []
tags: []
---
# NNNN — <título>
## Contexto
<forças em jogo; o que tornou a decisão necessária>
## Decisão
<o que foi decidido, no imperativo>
## Alternativas consideradas
- **<alternativa>** — <por que não>
## Consequências
- <o que fica mais fácil / mais difícil; o que os gates passam a cobrar>
## Relacionados
- [[NNNN-outro-adr]]affects é o que liga o ADR ao fluxo: o /plan, o G1 e o dev-implementer só leem ADRs accepted cujos globs casam com os arquivos tocados. ADR sem affects não é encontrado por ninguém — sempre preencha.
Subcomandos
- new
<título>—python3 ~/.claude/bin/adr-index.py next-id "$REPO"para o id. Pergunte contexto, decisão, alternativas eaffects(proponha os globs a partir do código). Statusproposed. Reindex. - accept
<id>—proposed→accepted. Reindex. - supersede
<id><novo título>— cria o novo ADR comsupersedes: [<id>]; no antigo, só trocastatus: supersededesuperseded_by. Não edite o corpo do antigo. Reindex. - deprecate
<id>—status: deprecated+ uma linha em Consequências com o motivo. Reindex. - list — mostre o
INDEX.md(reindex antes se estiver desatualizado). - show
<id>— conteúdo + ADRs ligados por wikilink/supersedes. - reindex —
python3 ~/.claude/bin/adr-index.py reindex "$REPO". - propose — usado pelo
/complete: recebe decisões candidatas (dotot-plane dosdecisionsdo dev-implementer), descarta as triviais ou já cobertas por ADR existente, e cria as restantes comoproposed. Mostre a lista e peça OK antes de gravar. Em submódulo, grave a lista em$WF_DIR/adr-candidates.mdem vez de criar ADRs.
Regras
- Nunca edite Decisão/Contexto de ADR
accepted. Mudou → supersede. - Bootstrap num repo sem
docs/adr/: crie a pasta e oINDEX.mdvazio via reindex; não invente ADRs retroativos sem o usuário apontar as decisões.
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
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.

