architecture-decisions
Skill1 starsChanged 4 months agoMITView on GitHub
Records a significant, hard-to-reverse technical decision and the options weighed. Use when a choice such as a datastore, sync versus async, a framework, a public contract, or an auth or security model is being weighed or has just been settled, when the user asks whether to use X or Y, when a choice is made in passing during discussion, or when an old decision is revisited. Skip easily reversible choices.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- caiaffa/claude-code-ultimate-engineering-systemtheir own version, first seen Sep 14, 2026
- drvoss/everything-copilot-clitheir own version, first seen Aug 9, 2026
- Deadlymind/nanolamatheir own version, first seen Jul 16, 2026
- nimadorostkar/Claude-Skills-collectiontheir own version, first seen Jul 14, 2026
- RadekCihlar/Claude-skillstheir own version, first seen Jul 10, 2026
- pavi2410/agent-skillstheir own version, first seen Apr 26, 2026
Used with
Projects with it also use incident-response and observability.
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.
AnthropicSkillincident-response
Run an incident response workflow — triage, communicate, and write postmortem. Trigger with "we have an incident", "production is down", an alert that needs severity assessment, a status update mid-incident, or when writing a blameless postmortem after resolution.
Also in 3 projects that use this
OpenAISkillobservability
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 3 projects that use this
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- drvoss/everything-copilot-cli★ 47same name
- nimadorostkar/Claude-Skills-collection★ 28same name
- caiaffa/claude-code-ultimate-engineering-system★ 17same name
- Deadlymind/nanolama★ 1same name
- RadekCihlar/Claude-skills★ 1same name
- pavi2410/agent-skills★ 0same name
- terrene-foundation/pact★ 0same name
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 repository40 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- writing-specsSkill
- clarifying-intentSkill
- dispatching-parallel-agentsSkill
- handoffSkill
- mapping-the-codebaseSkill
- prototypingSkill
- using-git-worktreesSkill
- using-sdlc-skillsSkill
- viewing-artifactsSkill
- writing-skillsSkill
- yagniSkill
- finishing-a-branchSkill
- release-readinessSkill
- coding-standardsSkill
- data-modelSkill
- migration-strategySkill
- reviewing-plansSkill
- system-architectureSkill
- ui-ux-designSkill
- writing-plansSkill
- executing-plansSkill
- subagent-driven-developmentSkill
- test-driven-developmentSkill
- complexity-auditSkill
- containing-an-incidentSkill
- debuggingSkill
- diagnosing-a-sessionSkill
- post-mortemSkill
- refactor-architectureSkill
- define-goalsSkill
- feasibility-checkSkill
- scopingSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- security-auditsSkill
- verification-before-completionSkill
- verification-strategySkill
- visual-ui-verificationSkill
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 5 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
- Distinctive: line 13
Skip: when any of the three is missing — a reversible, obvious, or inevitable choice (a variable name.
- Very specific: line 67
Ask through the harness's user-input action when one exists, else print this block.
“Common” is measured: kept by at least 6 in 10 of the 5 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.
Files
Architecture Decisions
An ADR (Architecture Decision Record) captures why, not just what.
When to use
- Record a decision only when all three hold: it's hard to reverse, it would be surprising without the rationale, and there were genuine trade-offs between real options — a datastore, a sync/async boundary, a framework, a public contract, a security model.
- Skip when any of the three is missing — a reversible, obvious, or inevitable choice (a variable name; the only option that could work) is noise as an ADR.
Step 1: Draft the ADR
Open assets/adr-template.md before Step 1's actions; it owns the fields. Read references/adr-example.md when the first draft is written and needs comparing against a filled example.
- State the question, the artifact or system scope, the forces, and one accountable decision owner or the approvers with a conflict rule.
- Weigh at least two real options: assumptions, failure limits, disqualifiers, reversal cost, evidence. Evaluate status quo or deferring wherever viable; record the evidence when not.
- Give every assumption a stable ID and a way to be proved wrong.
- Record the proposed choice and each rejected alternative. Preserve rejections; never edit them away.
- Record consequences and reversal: commitments, data and migration consequences, how to undo, what it closes off. Only upsides → not examined.
Step 2: Persist, then challenge
- Append the immutable
proposedADR to.sdlc-skills/designs/{{YYYY-MM-DD}}-{{topic}}.mdor the user-set path, preserving what is there. Compute its identity (per template) now; the challenge binds to this path and identity. - Fill
assets/adr-challenger.mdwith that path and identity when the choice is irreversible — Step 1.5's reversal row says undo is impossible or unaffordable, not merely costly — and a dispatch action exists; then dispatch it perdispatching-parallel-agentsStep 2 to a reviewer other than the sole author, who challenges options, assumptions, consequences, and reversal under the template's challenge contract. Otherwise write the strongest counter-case against that same contract yourself and label it self-challenge: a self-challenge never issuesclear, so its residual risk goes to the decision owner in Step 3. Approval waits forclearon this ADR identity, or for the decision owner accepting a labelled self-challenge. Skip both only when a current independent design review covers this exact ADR identity.
Step 3: Present and track
Present:
ADR {{identity (per template)}}: {{question}} Proposed: {{choice}} — {{rationale, one line}} Rejected: {{alternatives}} Reversal cost: {{one line}} 1. Accept 2. Reject in favor of {{other option}} 3. Request changes 4. Cancel Recommendation: {{option the recorded trade-offs support}} — {{one sentence}}.Ask through the harness's user-input action when one exists, else print this block; end the turn;
clarifying-intentowns what closes it.- Track decision and conformance separately. Acceptance puts nothing
in force; conformance does. Retirement needs owner action and absence of the governed surface. Contradiction → reopen every affected owner. - Return the recorded outcome to the skill that invoked this one.
Gotchas
- An assumption's “way to be proved wrong” (Step 1) can succeed after the ADR is accepted — but the ADR itself is immutable and append-only (Step 2), so a disproven assumption is never fixed by editing the original. It needs a new ADR that supersedes the old one, the same way a rejected alternative is preserved rather than removed.
- Step 2's reviewer-skip condition requires a current review of this exact ADR identity. A design review that covered an earlier draft — before an option was reweighed or an assumption added — no longer satisfies either word, even though it can feel like “we already reviewed this.”
Common mistakes
- Treating “the code now does this” as owner approval or conformance proof.
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.

