मुख्य सामग्री पर जाएँ
Skillpedia
डॉक्यूमेंटेशन7.1k · #13514

create-adr

यह क्या करती है

यह स्किल AI से महत्वपूर्ण तकनीकी फ़ैसलों के छोटे, टिकाऊ रिकॉर्ड लिखवाती है, जिनमें संदर्भ, चुनाव और उसके परिणाम हों। यह उन टीमों के लिए है जो चाहती हैं कि आगे के इंजीनियर समझें कि चीज़ें ऐसी क्यों हैं।

कब इस्तेमाल करें

  • ✓जब कोई महत्वपूर्ण तकनीकी फ़ैसला हो चुका है और उसे दर्ज करना है।
  • ✓जब कोई पूछता है कि टीम ने कोई टूल या पैटर्न क्यों चुना, और जवाब सहेजना चाहिए।
  • ✓जब आप किसी पुराने चुनाव के पीछे का तर्क हमेशा के लिए लिखना चाहते हैं।

Skill का लिंक

https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(creation)/create-adr/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(creation)/create-adr/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“ADR लिखिए, जो दर्ज करे कि orders सर्विस के लिए हमने MongoDB की बजाय PostgreSQL क्यों चुना।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

AI संदर्भ और फ़ैसला इकट्ठा करता है, परिणामों का वर्णन करता है, और एक मानक रिकॉर्ड फ़ॉर्मेट में संक्षिप्त दस्तावेज़ लिखता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

ADR Creator

You are an expert in creating Architecture Decision Records (ADRs) — concise, durable documents that capture the context, decision, and consequences of significant architectural choices so future team members understand why things are the way they are.

When to Use This Skill

Use this skill when:

  • User asks to "write an ADR", "create an ADR", "add an architecture decision record"
  • User wants to "document why we chose X", "record this decision", "capture this architectural choice"
  • A significant technical decision has been made (or is being finalized) and needs to be recorded
  • The team wants to preserve the reasoning behind a choice for future engineers
  • User asks "why did we choose X" and the answer should be written down permanently

Do NOT use for:

  • Decisions not yet made — use create-rfc to drive the decision process first
  • Implementation planning after the decision — use technical-design-doc-creator
  • Simple configuration choices or trivial code decisions
  • Meeting notes or general documentation

ADR vs RFC — Critical Distinction

Aspect ADR RFC
Timing Decision already made (or being finalized) Before the decision (seeking input)
Purpose Record for future team members Proposal seeking approval
Audience Engineers joining months or years later Current stakeholders
Length Short — 200–500 words Long — thorough comparison
Mutability Immutable — superseded, never edited Iterative — evolves during review
Tone Historical record Deliberative proposal

If the user says "I need to decide whether to do X" → use create-rfc. If the user says "We decided to do X, let me document it" → use this skill.

Language Adaptation

CRITICAL: Always generate the ADR in the same language as the user's request. Detect the language automatically.

  • Keep technical terms in English when appropriate (e.g., "ADR", "API", "microservices")
  • All section headers and content should be in the user's language
  • Company/product names remain in original form

ADR Format Selection

Three formats are widely used. Detect the right one from context, or ask:

Format Best For Length
MADR (Markdown ADR) Teams that want structured options comparison Medium
Nygard (original) Minimal, fast recording; obvious decisions Short
Y-Statement Inline documentation, very compact contexts One paragraph

Default to MADR unless the user specifies otherwise or the decision is very simple.


Interactive Workflow

Step 1: Gather Context (if not provided)

If the user provides minimal context, use AskQuestion to collect essential information:

{
  "title": "ADR Information",
  "questions": [
    {
      "id": "adr_decision",
      "prompt": "What was the decision made? (e.g., 'Use PostgreSQL for primary storage')",
      "options": [
        { "id": "free_text", "label": "I'll describe it in my next message" }
      ]
    },
    {
      "id": "adr_format",
      "prompt": "Which ADR format would you like to use?",
      "options": [
        { "id": "madr", "label": "MADR — structured, with options comparison (recommended)" },
        { "id": "nygard", "label": "Nygard — minimal: Context / Decision / Consequences" },
        { "id": "y_statement", "label": "Y-Statement — single paragraph, very compact" }
      ]
    },
    {
      "id": "adr_status",
      "prompt": "What is the current status of this decision?",
      "options": [
        { "id": "accepted", "label": "Accepted — decision is final" },
        { "id": "proposed", "label": "Proposed — decision is being finalized" },
        { "id": "deprecated", "label": "Deprecated — this approach is no longer recommended" },
        { "id": "superseded", "label": "Superseded — replaced by a newer decision" }
      ]
    },
    {
      "id": "adr_supersedes",
      "prompt": "Does this ADR supersede a previous decision?",
      "options": [
        { "id": "yes", "label": "Yes — I'll provide the ADR number/title" },
        { "id": "no", "label": "No — this is a new decision" }
      ]
    }
  ]
}

Step 2: Validate Mandatory Fields

MANDATORY fields — ask if missing:

  • Decision title (noun phrase, not a question — e.g., "Use Redis for session storage")
  • Date of the decision (or today's date)
  • Status (Accepted / Proposed / Deprecated / Superseded)
अक्सर पूछे जाने वाले सवाल

क्या ADR उन फ़ैसलों के लिए है जो अभी हुए नहीं?

नहीं। जो प्रस्ताव अभी चर्चा में हैं, उनके लिए अलग दस्तावेज़ इस्तेमाल होता है।

ADR कितना लंबा होता है?

उसे संक्षिप्त रखा जाता है, ताकि लोग महीनों या सालों बाद भी उसे जल्दी पढ़ सकें।

क्या यह छोटे चुनावों के लिए है?

नहीं। सामान्य कॉन्फ़िगरेशन या छोटे कोड फ़ैसलों के लिए इसकी ज़रूरत नहीं।

जानकारी

लेखक का मूल विवरण

Creates Architecture Decision Records (ADRs) to document significant architectural choices and their rationale for future team members. Use when the user says "write an ADR", "document this decision", "record why we chose X", "add an architecture decision record", "create an ADR for", or wants to capture the reasoning behind a technical choice so the team understands it later. Do NOT use when the decision hasn't been made yet (use create-rfc instead), for implementation planning (use technical-design-doc-creator), or for general documentation.

repo: tech-leads-club/agent-skills

लोकप्रियता

GitHub स्टार
7.1k
रैंकिंग में स्थान
#13514
लाइसेंस
—
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

component-common-domain-detection

7.1k

यह आपके एजेंट को कोडबेस के कई हिस्सों में दोहराए गए बिज़नेस लॉजिक को ढूँढने और उन्हें मिलाने का तरीका सुझाने में मदद करती है।

कोडिंगसामान्य कोडिंग

component-flattening-analysis

7.1k

यह आपके एजेंट को गलत जगह रखा गया कोड ढूँढने और उलझे हुए कंपोनेंट फ़ोल्डर ढाँचे को सीधा करने में मदद करती है, ताकि हर चीज़ अपनी सही जगह रहे।

कोडिंगसामान्य कोडिंग

component-identification-sizing

7.1k

यह आपके एजेंट को कोडबेस के हिस्सों का नक्शा बनाने और उनका आकार मापने में मदद करती है, ताकि पता चले कि पहले किस मॉड्यूल को तोड़ना है।

कोडिंगसामान्य कोडिंग

coupling-analysis

7.1k

यह आपके एजेंट को जाँचने में मदद करती है कि कोडबेस के हिस्से एक-दूसरे पर कितनी कसकर निर्भर हैं, और पहले कौन से जोड़ ढीले करने चाहिए।

कोडिंगसामान्य कोडिंग

मिलती-जुलती skills