Перейти к содержанию
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 по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Создай схему архитектуры для этого проекта на Node.js, с акцентом на микросервисы и с диаграммами C4.”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

ИИ изучает файлы вашего проекта, определяет используемые технологии и архитектурные шаблоны и создает документ с описаниями и визуальными диаграммами.

Технический текст (оригинальный 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:

…

Частые вопросы

Что такое «схема архитектуры» (architecture blueprint)?

Это документ, который описывает, как устроено программное обеспечение: из каких частей оно состоит, как они связаны и какие важные решения были приняты при его проектировании.

Может ли ИИ сам определить используемые технологии?

Да. Если вы ничего не укажете, ИИ попытается определить технологии и архитектурные шаблоны самостоятельно, анализируя структуру кода.

Какие типы диаграмм можно получить?

Вы можете запросить диаграммы 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

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы