Skillpedia
التوثيق40k · #7055

architecture-blueprint-generator

ما الذي تفعله

يُنشئ هذا المولّد وثيقة مفصلة عن بنية مشروع برمجي. يحلل الكود ليفهم كيف يُنظَّم المشروع، وما التقنيات التي يستخدمها، وأنماط التصميم التي طُبّقت فيه.

متى تستخدمها

  • ✓عند بدء مشروع جديد لتحديد بنيته.
  • ✓عند تولي مشروع موجود لفهم بنيته.
  • ✓عند توثيق بنية مشروع لفريق العمل.

رابط المهارة

https://github.com/github/awesome-copilot/blob/main/skills/architecture-blueprint-generator/SKILL.md

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

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

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

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

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

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

“أنشئ مخطط بنية لمشروع Node.js هذا، مع التركيز على الخدمات المصغّرة (microservices) ومخططات C4.”

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

كيف تعمل

يفحص الذكاء الاصطناعي ملفات مشروعك، ويحدد التقنيات وأنماط الهندسة المعمارية المستخدمة، ثم يُنشئ وثيقة تحتوي على أوصاف ورسوم بيانية توضيحية.

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

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

Comprehensive Project Architecture Blueprint Generator

Configuration Variables

${PROJECT_TYPE="Auto-detect|.NET|Java|React|Angular|Python|Node.js|Flutter|Other"} <!-- Primary technology --> ${ARCHITECTURE_PATTERN="Auto-detect|Clean Architecture|Microservices|Layered|MVVM|MVC|Hexagonal|Event-Driven|Serverless|Monolithic|Other"} <!-- Primary architectural pattern --> ${DIAGRAM_TYPE="C4|UML|Flow|Component|None"} <!-- Architecture diagram type --> ${DETAIL_LEVEL="High-level|Detailed|Comprehensive|Implementation-Ready"} <!-- Level of detail to include --> ${INCLUDES_CODE_EXAMPLES=true|false} <!-- Include sample code to illustrate patterns --> ${INCLUDES_IMPLEMENTATION_PATTERNS=true|false} <!-- Include detailed implementation patterns --> ${INCLUDES_DECISION_RECORDS=true|false} <!-- Include architectural decision records --> ${FOCUS_ON_EXTENSIBILITY=true|false} <!-- Emphasize extension points and patterns -->

Generated Prompt

"Create a comprehensive 'Project_Architecture_Blueprint.md' document that thoroughly analyzes the architectural patterns in the codebase to serve as a definitive reference for maintaining architectural consistency. Use the following approach:

1. Architecture Detection and Analysis

  • ${PROJECT_TYPE == "Auto-detect" ? "Analyze the project structure to identify all technology stacks and frameworks in use by examining:

    • Project and configuration files
    • Package dependencies and import statements
    • Framework-specific patterns and conventions
    • Build and deployment configurations" : "Focus on ${PROJECT_TYPE} specific patterns and practices"}
  • ${ARCHITECTURE_PATTERN == "Auto-detect" ? "Determine the architectural pattern(s) by analyzing:

    • Folder organization and namespacing
    • Dependency flow and component boundaries
    • Interface segregation and abstraction patterns
    • Communication mechanisms between components" : "Document how the ${ARCHITECTURE_PATTERN} architecture is implemented"}

2. Architectural Overview

  • Provide a clear, concise explanation of the overall architectural approach
  • Document the guiding principles evident in the architectural choices
  • Identify architectural boundaries and how they're enforced
  • Note any hybrid architectural patterns or adaptations of standard patterns

3. Architecture Visualization

${DIAGRAM_TYPE != "None" ? `Create ${DIAGRAM_TYPE} diagrams at multiple levels of abstraction:

  • High-level architectural overview showing major subsystems
  • Component interaction diagrams showing relationships and dependencies
  • Data flow diagrams showing how information moves through the system
  • Ensure diagrams accurately reflect the actual implementation, not theoretical patterns` : "Describe the component relationships based on actual code dependencies, providing clear textual explanations of:
  • Subsystem organization and boundaries
  • Dependency directions and component interactions
  • Data flow and process sequences"}

4. Core Architectural Components

For each architectural component discovered in the codebase:

  • Purpose and Responsibility:

    • Primary function within the architecture
    • Business domains or technical concerns addressed
    • Boundaries and scope limitations
  • Internal Structure:

    • Organization of classes/modules within the component
    • Key abstractions and their implementations
    • Design patterns utilized
  • Interaction Patterns:

    • How the component communicates with others
    • Interfaces exposed and consumed
    • Dependency injection patterns
    • Event publishing/subscription mechanisms
  • Evolution Patterns:

    • How the component can be extended
    • Variation points and plugin mechanisms
    • Configuration and customization approaches

5. Architectural Layers and Dependencies

  • Map the layer structure as implemented in the codebase
  • Document the dependency rules between layers
  • Identify abstraction mechanisms that enable layer separation
  • Note any circular dependencies or layer violations
  • Document dependency injection patterns used to maintain separation

6. Data Architecture

  • Document domain model structure and organization
  • Map entity relationships and aggregation patterns
  • Identify data access patterns (repositories, data mappers, etc.)
  • Document data transformation and mapping approaches
  • Note caching strategies and implementations
  • Document data validation patterns

7. Cross-Cutting Concerns Implementation

Document implementation patterns for cross-cutting concerns:

…

الأسئلة الشائعة

ما هو «مخطط البنية»؟

هو وثيقة تصف كيفية بناء برنامج ما، بما في ذلك أجزاؤه وكيفية ترابطها والقرارات المهمة التي اتُّخذت أثناء تصميمه.

هل يستطيع الذكاء الاصطناعي اكتشاف التقنيات المستخدمة تلقائياً؟

نعم، إذا لم تحدد شيئاً، سيحاول الذكاء الاصطناعي تحديد التقنيات وأنماط الهندسة المعمارية بنفسه من خلال تحليل بنية الكود.

ما أنواع الرسوم البيانية التي أستطيع الحصول عليها؟

يمكنك طلب رسوم مثل C4 أو UML أو Flow أو Component، أو اختيار عدم وجود رسوم والحصول على أوصاف نصية فقط.

التفاصيل

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

Comprehensive project architecture blueprint generator that analyzes codebases to create detailed architectural documentation. Automatically detects technology stacks and architectural patterns, generates visual diagrams, documents implementation patterns, and provides extensible blueprints for maintaining architectural consistency and guiding new development.

repo: github/awesome-copilot

الشعبية

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

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

0

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

التعليقات

  • …

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

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