adr
Skill1 starsChanged 4 months agoApache-2.0View on GitHub
Buat, supersede, atau tinjau Architecture Decision Record (format Nygard) dan tegakkan decision discipline locked/pending/obsolete di DECISIONS.md. Gunakan saat ada keputusan struktural baru (stack, auth, multi-tenancy, deployment, data retention, model routing, batas otonomi agent), saat user atau agent lain mengusulkan mengubah keputusan yang sudah Locked (ingatkan dan minta justifikasi revisit formal), saat user tampak goyah terhadap keputusan lama, atau saat menemukan keputusan penting yang belum tercatat.
90 other projects use a version of this.
Adopted by
Most recently taken up by
- GustavoAlecio/claude-setuptheir own version, first seen Nov 8, 2026
- 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
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 repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- autonomous-runSkill
- docs-first-specSkill
- milestone-wrapupSkill
- session-endSkill
- session-startSkill
- tier-reviewSkill
- vertical-sliceSkill
The file
Files
ADR & Decision Discipline
Kenapa ini penting: agent tidak ingat sesi sebelumnya, dan sesi makin banyak. Tanpa DECISIONS.md yang ditegakkan, keputusan yang sama di-relitigasi berulang — dengan lawan debat yang selalu segar dan persuasif. File ini adalah pertahanannya.
Step 0 — Selalu cek DECISIONS.md dulu
Sebelum menulis apa pun, baca docs/DECISIONS.md (atau docs/adr/):
- Topik sudah ada dan Locked → JANGAN buat ADR baru diam-diam. Tunjukkan keputusan lama ke user, lalu tanya: ada alasan revisit formal? Tanpa justifikasi eksplisit (fakta baru, constraint berubah, insiden), pertahankan keputusan lama dan katakan itu.
- Topik ada dan Pending → lanjut proses memutuskan, tutup pending-nya.
- Topik baru → lanjut Step 1.
Step 1 — Tulis ADR (format Nygard)
# ADR-{NNN}: {Judul — kalimat keputusan, bukan topik}
## Status
Proposed | Accepted | Deprecated | Superseded by ADR-{XXX}
## Context
{Situasi, constraints, forces. Fakta — versi library diverifikasi via web saat lock,
bukan dari ingatan. Sebutkan angka bila ada (biaya, latensi, limit).}
## Decision
{Satu kalimat tegas, kalimat aktif: "Kami memakai X untuk Y."}
## Consequences
{Positif DAN negatif. Konsekuensi negatif yang jujur = tanda ADR matang.}
## Alternatives Rejected
{Tiap opsi + alasan spesifik ditolak — supaya tidak diusulkan ulang oleh sesi berikutnya.}Aturan penulisan: satu ADR = satu keputusan. Nomor urut, tidak didaur ulang.
Simpan di docs/adr/ADR-NNN-{slug}.md, atau sebagai entri D-NNN di docs/DECISIONS.md
untuk proyek kecil — ikuti konvensi yang sudah ada di repo.
Step 2 — Update DECISIONS.md
Tiga kategori, tegakkan tanpa kecuali:
| Kategori | Aturan |
| Locked | Accepted + disepakati user. Tidak di-revisit tanpa justifikasi formal. Immutable — revisi = ADR baru yang men-supersede. |
| Pending | Belum diputuskan. WAJIB punya owner + deadline. Tanpa keduanya, entri belum sah. |
| Obsolete | Di-supersede. JANGAN dihapus — pindah ke Change Log dengan alasan dan pointer ke penggantinya. |
Step 3 — Cek kelengkapan set minimal
Setiap proyek minimal punya ADR untuk: monolith vs services · stack utama (+ pin versi) · auth approach · multi-tenancy model · deployment · data retention · model routing policy (model/effort per jenis task + budget API per bulan) · batas otonomi agent (aksi auto vs wajib manual approval). Bila proyek menyentuh data pribadi: + lokasi data (Indonesia vs asing, dengan alasan).
Ada yang belum? Laporkan sebagai Pending + usulkan owner (biasanya user) + deadline.
Alur supersede
- Tulis ADR baru dengan Context yang menjelaskan kenapa keputusan lama tidak lagi tepat.
- Status ADR lama →
Superseded by ADR-{baru}. Isi lama TIDAK diedit. - Pindahkan entri lama di DECISIONS.md ke Obsolete/Change Log.
- Cek dampak: file docs lain yang merujuk keputusan lama (ARCHITECTURE, CONVENTIONS, MILESTONES) → update + catat di Change Log masing-masing.
Output wajib ke user
ADR lengkap + posisi barunya di DECISIONS.md + daftar dokumen lain yang ikut diubah. Bila menolak revisit: kutip keputusan Locked + tanggalnya + alasan aslinya.
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.

