Skillpedia
الكتابة40k · #7134

create-architectural-decision-record

ما الذي تفعله

تنشئ هذه المهارة مستندًا يسمى «سجل قرار معماري» (ADR). يُستخدم لتسجيل القرارات المهمة حول طريقة بناء مشروع البرمجيات، ويشرح المشكلة، والحل المختار، وأسباب رفض البدائل الأخرى.

متى تستخدمها

  • ✓عندما تقرر أي قاعدة بيانات ستستخدمها لمشروع جديد.
  • ✓عندما تختار تقنية جديدة لتنفيذ ميزة معينة.
  • ✓عندما توثّق تغييرًا كبيرًا في بنية نظام قائم.

رابط المهارة

https://github.com/github/awesome-copilot/blob/main/skills/create-architectural-decision-record/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/github/awesome-copilot/blob/main/skills/create-architectural-decision-record/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“أنشئ سجل قرار معماري لاختيار قاعدة البيانات الرئيسية، مع مراعاة قابلية التوسع والتكلفة.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تقدم المعلومات عن المشكلة (السياق)، والقرار المتخذ، والبدائل التي تم النظر فيها، والأشخاص المعنيون. تنظم المهارة كل ذلك في صيغة موحدة، تتضمن المزايا والعيوب، حتى يكون القرار واضحًا وسهل الرجوع إليه.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Create Architectural Decision Record

Create an ADR document for ${input:DecisionTitle} using structured formatting optimized for AI consumption and human readability.

Inputs

  • Context: ${input:Context}
  • Decision: ${input:Decision}
  • Alternatives: ${input:Alternatives}
  • Stakeholders: ${input:Stakeholders}

Input Validation

If any of the required inputs are not provided or cannot be determined from the conversation history, ask the user to provide the missing information before proceeding with ADR generation.

Requirements

  • Use precise, unambiguous language
  • Follow standardized ADR format with front matter
  • Include both positive and negative consequences
  • Document alternatives with rejection rationale
  • Structure for machine parsing and human reference
  • Use coded bullet points (3-4 letter codes + 3-digit numbers) for multi-item sections

The ADR must be saved in the /docs/adr/ directory using the naming convention: adr-NNNN-[title-slug].md, where NNNN is the next sequential 4-digit number (e.g., adr-0001-database-selection.md).

Required Documentation Structure

The documentation file must follow the template below, ensuring that all sections are filled out appropriately. The front matter for the markdown should be structured correctly as per the example following:

---
title: "ADR-NNNN: [Decision Title]"
status: "Proposed"
date: "YYYY-MM-DD"
authors: "[Stakeholder Names/Roles]"
tags: ["architecture", "decision"]
supersedes: ""
superseded_by: ""
---

# ADR-NNNN: [Decision Title]

## Status

**Proposed** | Accepted | Rejected | Superseded | Deprecated

## Context

[Problem statement, technical constraints, business requirements, and environmental factors requiring this decision.]

## Decision

[Chosen solution with clear rationale for selection.]

## Consequences

### Positive

- **POS-001**: [Beneficial outcomes and advantages]
- **POS-002**: [Performance, maintainability, scalability improvements]
- **POS-003**: [Alignment with architectural principles]

### Negative

- **NEG-001**: [Trade-offs, limitations, drawbacks]
- **NEG-002**: [Technical debt or complexity introduced]
- **NEG-003**: [Risks and future challenges]

## Alternatives Considered

### [Alternative 1 Name]

- **ALT-001**: **Description**: [Brief technical description]
- **ALT-002**: **Rejection Reason**: [Why this option was not selected]

### [Alternative 2 Name]

- **ALT-003**: **Description**: [Brief technical description]
- **ALT-004**: **Rejection Reason**: [Why this option was not selected]

## Implementation Notes

- **IMP-001**: [Key implementation considerations]
- **IMP-002**: [Migration or rollout strategy if applicable]
- **IMP-003**: [Monitoring and success criteria]

## References

- **REF-001**: [Related ADRs]
- **REF-002**: [External documentation]
- **REF-003**: [Standards or frameworks referenced]
الأسئلة الشائعة

ما هو ADR؟

ADR اختصار لعبارة «Architectural Decision Record»، أي سجل القرارات المعمارية، وهو مستند يسجل القرارات المهمة في بنية مشروع البرمجيات.

لماذا تُستخدم رموز مثل POS-001 أو NEG-001؟

تساعد هذه الرموز على تنظيم المعلومات بوضوح، وتتيح للأدوات الحاسوبية فهم المستند ومعالجته بسهولة، إضافة إلى تسهيل الإشارة إلى نقاط محددة فيه.

أين يُحفظ المستند؟

يُحفظ في مجلد اسمه `/docs/adr/`، باسم ملف يتضمن رقمًا متسلسلًا وملخصًا لعنوان القرار.

التفاصيل

الوصف الأصلي من المؤلف

Create an Architectural Decision Record (ADR) document for AI-optimized decision documentation.

repo: github/awesome-copilot

الشعبية

نجوم GitHub
40k
الترتيب
#7134
الترخيص
MIT
آخر تحديث
15‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة