documenting-architecture-decisions
Skill1 starsChanged 3 months agoMITView on GitHub
Use when a software decision materially affects structure, quality attributes, dependencies, interfaces, technology choices, or team direction and its rationale must remain reviewable over time.
In this repository65 other files it gives its agents.
- analyzing-change-blast-radiusSkill
- analyzing-developer-career-opportunitiesSkill
- art-directing-web-interfacesSkill
- assessing-developer-proficiencySkill
- auditing-dependency-riskSkill
- auditing-pixel-perfect-frontendSkill
- bootstrapping-modern-web-appsSkill
- brag-slimSkill
- building-brand-guidelinesSkill
- building-conversion-product-pagesSkill
- building-developer-career-roadmapsSkill
- building-hybrid-game-assetsSkill
- building-premium-nextjs-interfacesSkill
- building-project-showcasesSkill
- building-regression-testsSkill
- building-reliable-node-api-boundariesSkill
- choosing-application-architectureSkill
- craft-premium-motionSkill
- creating-character-sprite-pipelinesSkill
- defining-brand-strategySkill
- designing-action-combatSkill
- designing-developer-portfolio-evidenceSkill
- designing-relational-data-modelsSkill
- designing-software-boundariesSkill
- designing-test-strategiesSkill
- designing-ui-systemsSkill
- designing-visual-identitiesSkill
- editing-for-clarity-and-toneSkill
- engineering-gsap-animationsSkill
- evaluating-developer-proficiencySkill
- evolving-postgres-schemas-safelySkill
- humanizing-generated-proseSkill
- implementing-reference-faithful-uiSkill
- investigating-codebase-semanticallySkill
- managing-implementation-slicesSkill
- mapping-existing-codebase-structureSkill
- naming-brands-and-productsSkill
- optimizing-frontend-motion-performanceSkill
- orchestrating-cinematic-web-motionSkill
- planning-codebase-changes-with-evidenceSkill
- planning-engineering-workSkill
- planning-launch-distributionSkill
- planning-safe-refactorsSkill
- planning-written-communicationSkill
- preparing-project-launchSkill
- profiling-postgres-query-performanceSkill
- reconstructing-images-as-threejsSkill
- reviewing-api-securitySkill
- reviewing-apple-platform-interfacesSkill
- reviewing-pull-requestsSkill
- reviewing-web-securitySkill
- selecting-working-methodsSkill
- shipping-github-vercel-changesSkill
- teaching-developer-conceptsSkill
- testing-integration-boundariesSkill
- testing-playable-gamesSkill
- testing-web-applications-end-to-endSkill
- threat-modeling-applicationsSkill
- tracing-code-execution-pathsSkill
- translating-figma-to-nextjsSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Do not create ADRs for routine implementation details that are cheap to reverse and already obvious from the code.
- Distinctive: line 23
Keep each ADR focused on one decision and include:
- Distinctive: line 46
If the record only names a technology and says it is “best”, the decision is not sufficiently documented.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Documenting Architecture Decisions
Core principle
Record why an architecturally significant choice was made while the context is still available. An ADR is a decision record, not a design essay and not retrospective justification.
When a decision deserves an ADR
Capture a decision when changing it later would be costly or when it materially affects:
- system structure or deployment shape;
- reliability, security, performance, availability, or other quality attributes;
- dependency and ownership boundaries;
- published interfaces or data contracts;
- frameworks, persistence, messaging, infrastructure, or other construction techniques;
- a recurring technical debate that needs one shared source of rationale.
Do not create ADRs for routine implementation details that are cheap to reverse and already obvious from the code.
Minimal record
Keep each ADR focused on one decision and include:
- Title and status — proposed, accepted, rejected, or superseded.
- Context — the problem, constraints, forces, and evidence that make a decision necessary.
- Decision drivers — the quality attributes or business/engineering outcomes that matter most.
- Considered options — realistic alternatives, including keeping the current state when relevant.
- Decision — the selected option in direct language.
- Consequences — benefits, costs, new risks, operational burden, and follow-up work.
- Validation/review trigger — evidence that should confirm the decision and conditions that should cause it to be reconsidered.
Lifecycle
Discuss the ADR while it is proposed. Once accepted, preserve it as historical context. If later evidence changes the decision, create a new ADR that supersedes the old one rather than rewriting history.
Link implementation changes to the relevant ADR when that connection helps reviewers evaluate architectural consistency.
Quality checks
A useful ADR lets a future engineer answer:
- What problem were we solving?
- Which constraints and trade-offs mattered?
- What alternatives were actually considered?
- Why did this option win then?
- What complexity did we knowingly accept?
- What would make us revisit the choice?
If the record only names a technology and says it is “best”, the decision is not sufficiently documented.
Reference
- AWS Prescriptive Guidance, architectural decision record process: https://docs.aws.amazon.com/prescriptive-guidance/latest/architectural-decision-records/adr-process.html
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.

