architecture-decision-record-skill
यह क्या करती है
यह स्किल AI एजेंट को सॉफ़्टवेयर प्रोजेक्ट के लिए architecture decision records बनाने और व्यवस्थित करने में मदद करती है। यह उन डेवलपर्स और टीमों के लिए है जो यह इतिहास रखना चाहते हैं कि महत्वपूर्ण तकनीकी फ़ैसले क्यों लिए गए।
कब इस्तेमाल करें
- ✓जब आपकी टीम दो डेटाबेस जैसी तकनीकों में से चुन रही है और चाहती है कि चुनाव लिखा जाए।
- ✓जब आपको प्रोजेक्ट में decision records के लिए फ़ोल्डर सेट करना है और एक साफ़ नामकरण शैली अपनानी है।
- ✓जब कोई पुराना फ़ैसला नए फ़ैसले से बदल दिया गया हो और पुराने रिकॉर्ड को superseded चिह्नित करना हो।
Skill का लिंक
https://github.com/architecture-decision-record/architecture-decision-record/blob/main/skills/architecture-decision-record-skill/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप एक decision record लिख सकते हैं जो समझाए कि हमने अपनी orders सर्विस के लिए MongoDB की जगह PostgreSQL क्यों चुना?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट पहले जाँचता है कि इस फ़ैसले को दर्ज करना ज़रूरी है या नहीं, फिर मौजूदा रिकॉर्ड फ़ोल्डर खोजता है। वह एक टेम्पलेट चुनता है और संदर्भ, फ़ैसला और उसके परिणाम भरता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Architecture decision record (ADR) skill
Helps a developer or team create and maintain architecture decision records: short documents that capture an important architecture decision, the context that led to it, and its consequences.
This skill is general-purpose: it applies to any repository the user is
working in, not just this one. reference/templates.md and
reference/writing-guide.md are self-contained — no need to read the rest of
this repo to use them.
1. Decide if this decision deserves an ADR
Not every decision needs one. Recommend an ADR when the decision:
- Is architecturally significant (affects structure, external interfaces, quality attributes, or is expensive/risky to reverse).
- Needs to be understood by future developers who weren't in the room.
- Involved real trade-offs worth recording (not a one-line style choice already covered by a linter or style guide).
Skip an ADR when the decision is tiny, self-contained, single-developer, already covered by policy/standards, or purely a temporary workaround/POC.
If the user is unsure, ask what the decision is and who needs to understand "why" later — that usually settles it.
2. Find or create the ADR directory
Look for an existing convention first:
git ls-files | grep -iE '(^|/)(adr|adrs|decisions?)(/|$)'
- If one exists, follow its naming/format/numbering so far.
- If none exists, ask the user (or default to) a top-level
decisions/oradr/directory. Some teams preferdecisions/because the word "architecture" and the abbreviation "ADR" put some contributors off, while "decisions" invites broader use (vendor, planning, scheduling decisions too). - Some projects number files (
0001-choose-database.md, adr-tools style); others don't. Match what's already there; otherwise unnumbered present-tense file names (see below) are simplest to start with.
3. Name the file
Convention used across this ecosystem:
- A present-tense imperative verb phrase, e.g.
choose-database.md,format-timestamps.md,manage-passwords.md,handle-exceptions.md. - Lowercase with dashes.
.mdextension.- If the project numbers ADRs, prefix with a zero-padded sequence number,
e.g.
0007-choose-database.md.
4. Pick a template
Ask the user's preference, or pick based on the shape of the decision — see
reference/templates.md for the full skeletons. Quick guide:
| Situation | Template |
|---|---|
| Default / most teams / unsure | Nygard — Title, Status, Context, Decision, Consequences |
| Want lightweight options-with-pros/cons | MADR |
| Enterprise, need traceability to requirements/principles | Tyree & Akerman |
| Fast executive sign-off on a narrow technical choice (a library, a model, a CI strategy) | ITD (Important Technical Decision) |
| Vendor/tool selection with cost, SWOT, stakeholder opinions | Business case |
| Want a one-paragraph "Y-statement" style summary plus narrative | Alexandrian pattern |
| Need formal, testable non-functional requirements language | Planguage |
| Contributing to / matching EdgeX Foundry conventions | EdgeX |
| Full architecture documentation, ADR is one section of it | arc42 (§9) |
| Want a lightweight traffic-light options-comparison table | Gareth Morgan |
| Want an "Options → Options Analysis → Recommendation" narrative flow | GIG Cymru NHS Wales |
When in doubt, default to Nygard — it's the simplest, most widely recognized, and easiest for a team to adopt without tooling.
5. Write it well
Load reference/writing-guide.md for the fuller checklist. The essentials:
- One decision per ADR. Don't bundle multiple architecturally distinct decisions into one file.
- Context should explain the organization's situation, constraints, and the forces in tension — not just "we needed a database."
- Decision should state the chosen direction plainly, not hedge.
- Consequences should cover both what gets easier and what gets harder, plus any follow-on ADRs this decision now requires.
- Timestamp it. Costs, vendor pricing, and scaling numbers change — date anything that might go stale.
- Give the record a status:
proposed | accepted | rejected | deprecated | superseded by <link>.
6. Handle supersession, not silent edits
ADRs are usually treated as immutable once accepted (some teams instead prefer a "living document" with dated addenda — ask if unsure which this team wants). When a new decision replac
अक्सर पूछे जाने वाले सवाल
क्या हर तकनीकी चुनाव के लिए decision record चाहिए?
नहीं। स्किल उन महत्वपूर्ण फ़ैसलों के लिए रिकॉर्ड सुझाती है जिन्हें पलटना महँगा हो, और छोटे या अस्थायी चुनाव छोड़ देती है।
क्या एजेंट हमारा मौजूदा रिकॉर्ड फ़ॉर्मेट मानेगा?
हाँ। अगर आपके प्रोजेक्ट में पहले से records फ़ोल्डर है, तो एजेंट उसके नामकरण और क्रमांकन का पालन करता है।
क्या यह किसी पुराने decision record की जगह ले सकता है?
हाँ। स्किल एक नया रिकॉर्ड लिखने को कवर करती है, जो पुराने रिकॉर्ड को supersede करता है।
जानकारी
लेखक का मूल विवरण
Use when a user wants to create, write, name, place, or organize an Architecture Decision Record (ADR) in a software project — e.g. "write an ADR for choosing a database", "document this architecture decision", "set up an adr/ or decisions/ directory", "which ADR template should I use", "supersede an old ADR". Covers picking a template, naming the file, filling in context/decision/consequences, and deciding whether a decision even needs an ADR.
repo: architecture-decision-record/architecture-decision-record
लोकप्रियता
- GitHub स्टार
- 17k
- रैंकिंग में स्थान
- #10744
- लाइसेंस
- —
- अपडेट की गई
- 29/10/2026
कमेंट
- …
मिलती-जुलती skills
technical-documentation
394kयह आपके एजेंट को साफ़ तकनीकी डॉक्स और एजेंट निर्देश फ़ाइलें लिखने और जांचने में मदद करती है, ताकि लोग और AI टूल उन्हें आसानी से समझ सकें।
architecture-decision-records
280kयह आपके एजेंट को project structure से जुड़े ज़रूरी फैसलों को दर्ज करने देता है। इससे पता चलता है कि कोई चुनाव क्यों किया गया, और बदलावों का साफ़ इतिहास बना रहता है।
code-tour
280kआपके एजेंट को exact file और line references के साथ step-by-step code walkthrough बनाने देता है। intro, explanations और reviews के लिए उपयोगी है।