architecture-blueprint-generator

github/awesome-copilot

Генератор архитектурного описания проекта с диаграммами и паттернами

Инструмент формирует документ Project_Architecture_Blueprint.md с разбором архитектурных паттернов кодовой базы как справочника для поддержания согласованности. Подходит командам, которым нужна документация по слоям, зависимостям и сквозным механизмам. Тип диаграмм задаётся параметром DIAGRAM_TYPE (C4, UML, Flow, Component или None); при Auto-detect инструмент сам определяет стек и паттерн по структуре проекта и конфигурациям.

Звёзды41 289
Авторgithub
Установок12,4K

Установка

SKILL.md

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:

  • Authentication & Authorization:

    • Security model implementation
    • Permission enforcement patterns
    • Identity management approach
    • Security boundary patterns
  • Error Handling & Resilience:

    • Exception handling patterns
    • Retry and circuit breaker implementations
    • Fallback and graceful degradation strategies
    • Error reporting and monitoring approaches
  • Logging & Monitoring:

    • Instrumentation patterns
    • Observability implementation
    • Diagnostic information flow
    • Performance monitoring approach
  • Validation:

    • Input validation strategies
    • Business rule validation implementation
    • Validation responsibility distribution
    • Error reporting patterns
  • Configuration Management:

    • Configuration source patterns
    • Environment-specific configuration strategies
    • Secret management approach
    • Feature flag implementation

8. Service Communication Patterns

  • Document service boundary definitions
  • Identify communication protocols and formats
  • Map synchronous vs. asynchronous communication patterns
  • Document API versioning strategies
  • Identify service discovery mechanisms
  • Note resilience patterns in service communication

9. Technology-Specific Architectural Patterns

${PROJECT_TYPE == "Auto-detect" ? "For each detected technology stack, document specific architectural patterns:" : Document ${PROJECT_TYPE}-specific architectural patterns:}

${(PROJECT_TYPE == ".NET" || PROJECT_TYPE == "Auto-detect") ? "#### .NET Architectural Patterns (if detected)

  • Host and application model implementation
  • Middleware pipeline organization
  • Framework service integration patterns
  • ORM and data access approaches
  • API implementation patterns (controllers, minimal APIs, etc.)
  • Dependency injection container configuration" : ""}

${(PROJECT_TYPE == "Java" || PROJECT_TYPE == "Auto-detect") ? "#### Java Architectural Patterns (if detected)

  • Application container and bootstrap process
  • Dependency injection framework usage (Spring, CDI, etc.)
  • AOP implementation patterns
  • Transaction boundary management
  • ORM configuration and usage patterns
  • Service implementation patterns" : ""}

${(PROJECT_TYPE == "React" || PROJECT_TYPE == "Auto-detect") ? "#### React Architectural Patterns (if detected)

  • Component composition and reuse strategies
  • State management architecture
  • Side effect handling patterns
  • Routing and navigation approach
  • Data fetching and caching patterns
  • Rendering optimization strategies" : ""}

${(PROJECT_TYPE == "Angular" || PROJECT_TYPE == "Auto-detect") ? "#### Angular Architectural Patterns (if detected)

  • Module organization strategy
  • Component hierarchy design
  • Service and dependency injection patterns
  • State management approach
  • Reactive programming patterns
  • Route guard implementation" : ""}

${(PROJECT_TYPE == "Python" || PROJECT_TYPE == "Auto-detect") ? "#### Python Architectural Patterns (if detected)

  • Module organization approach
  • Dependency management strategy
  • OOP vs. functional implementation patterns
  • Framework integration patterns
  • Asynchronous programming approach" : ""}

10. Implementation Patterns

${INCLUDES_IMPLEMENTATION_PATTERNS ? "Document concrete implementation patterns for key architectural components:

  • Interface Design Patterns:

    • Interface segregation approaches
    • Abstraction level decisions
    • Generic vs. specific interface patterns
    • Default implementation patterns
  • Service Implementation Patterns:

    • Service lifetime management
    • Service composition patterns
    • Operation implementation templates
    • Error handling within services
  • Repository Implementation Patterns:

    • Query pattern implementations
    • Transaction management
    • Concurrency handling
    • Bulk operation patterns
  • Controller/API Implementation Patterns:

    • Request handling patterns
    • Response formatting approaches
    • Parameter validation
    • API versioning implementation
  • Domain Model Implementation:

    • Entity implementation patterns
    • Value object patterns
    • Domain event implementation
    • Business rule enforcement" : "Mention that detailed implementation patterns vary across the codebase."}

11. Testing Architecture

  • Document testing strategies aligned with the architecture
  • Identify test boundary patterns (unit, integration, system)
  • Map test doubles and mocking approaches
  • Document test data strategies
  • Note testing tools and frameworks integration

12. Deployment Architecture

  • Document deployment topology derived from configuration
  • Identify environment-specific architectural adaptations
  • Map runtime dependency resolution patterns
  • Document configuration management across environments
  • Identify containerization and orchestration approaches
  • Note cloud service integration patterns

13. Extension and Evolution Patterns

${FOCUS_ON_EXTENSIBILITY ? "Provide detailed guidance for extending the architecture:

  • Feature Addition Patterns:

    • How to add new features while preserving architectural integrity
    • Where to place new components by type
    • Dependency introduction guidelines
    • Configuration extension patterns
  • Modification Patterns:

    • How to safely modify existing components
    • Strategies for maintaining backward compatibility
    • Deprecation patterns
    • Migration approaches
  • Integration Patterns:

    • How to integrate new external systems
    • Adapter implementation patterns
    • Anti-corruption layer patterns
    • Service facade implementation" : "Document key extension points in the architecture."}

${INCLUDES_CODE_EXAMPLES ? "### 14. Architectural Pattern Examples Extract representative code examples that illustrate key architectural patterns:

  • Layer Separation Examples:

    • Interface definition and implementation separation
    • Cross-layer communication patterns
    • Dependency injection examples
  • Component Communication Examples:

    • Service invocation patterns
    • Event publication and handling
    • Message passing implementation
  • Extension Point Examples:

    • Plugin registration and discovery
    • Extension interface implementations
    • Configuration-driven extension patterns

Include enough context with each example to show the pattern clearly, but keep examples concise and focused on architectural concepts." : ""}

${INCLUDES_DECISION_RECORDS ? "### 15. Architectural Decision Records Document key architectural decisions evident in the codebase:

  • Architectural Style Decisions:

    • Why the current architectural pattern was chosen
    • Alternatives considered (based on code evolution)
    • Constraints that influenced the decision
  • Technology Selection Decisions:

    • Key technology choices and their architectural impact
    • Framework selection rationales
    • Custom vs. off-the-shelf component decisions
  • Implementation Approach Decisions:

    • Выбранные конкретные паттерны реализации
    • Адаптации стандартных паттернов
    • Компромиссы между производительностью и сопровождаемостью

Для каждого решения укажите:

  • Контекст, сделавший решение необходимым
  • Факторы, учтённые при принятии решения
  • Возникшие последствия (положительные и отрицательные)
  • Введённая гибкость или ограничения на будущее" : ""}

${INCLUDES_DECISION_RECORDS ? "16" : INCLUDES_CODE_EXAMPLES ? "15" : "14"}. Управление архитектурой

  • Опишите, как поддерживается архитектурная согласованность
  • Определите автоматические проверки архитектурного соответствия
  • Отметьте процессы архитектурного ревью, заметные в кодовой базе
  • Опишите практики архитектурной документации

${INCLUDES_DECISION_RECORDS ? "17" : INCLUDES_CODE_EXAMPLES ? "16" : "15"}. Шаблон для новой разработки

Создайте чёткое архитектурное руководство для реализации новых функций:

  • Процесс разработки:

    • Отправные точки для разных типов функций
    • Последовательность создания компонентов
    • Шаги интеграции с существующей архитектурой
    • Подход к тестированию по архитектурным слоям
  • Шаблоны реализации:

    • Шаблоны базовых классов/интерфейсов для ключевых архитектурных компонентов
    • Стандартная организация файлов для новых компонентов
    • Паттерны объявления зависимостей
    • Требования к документации
  • Распространённые ошибки:

    • Нарушения архитектуры, которых следует избегать
    • Распространённые архитектурные ошибки
    • Соображения производительности
    • Слепые зоны тестирования

Включите информацию о том, когда был создан этот шаблон, и рекомендации по его поддержанию в актуальном состоянии по мере развития архитектуры."

Вставить в README

Ссылка на карточку для вашего README — без картинок и счётчиков.

[DarkPlay: architecture-blueprint-generator](https://darkplay.ru/ai/skills/github-awesome-copilot-architecture-blueprint-generator)

Из того же репозитория

Похожие скиллы и другие разделы каталога

Популярное в разделе «Скиллы»

Самые востребованные скиллов раздела по установкам и звёздам.

find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
4 400 000 устан.
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
1 600 000 устан.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
1 600 000 устан.
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
1 600 000 устан.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
1 600 000 устан.
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
1 500 000 устан.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
1 400 000 устан.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
1 300 000 устан.
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
1 300 000 устан.
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.
1 300 000 устан.
Похожее в других разделах каталога

Соседние разделы каталога: возможно, нужный инструмент живёт там.

Architectaffaan-m · Специалист по архитектуре ПО для проектирования систем, масштабируемости и принятия…
225 587 ★
Code Architectaffaan-m · Проектирует архитектуру функций, анализируя существующие паттерны и соглашения кодовой…
225 587 ★
Code Exploreraffaan-m · Глубоко анализирует существующие функции кодовой базы, прослеживая пути выполнения…
225 587 ★
Flutter Revieweraffaan-m · Ревьюер кода Flutter и Dart: виджеты, управление состоянием, идиомы и архитектура.
225 587 ★
Gan Evaluatoraffaan-m · GAN Harness — агент-оценщик: тестирует приложение через Playwright и даёт обратную связь.
225 587 ★
Gan Generatoraffaan-m · GAN Harness — агент-генератор: реализует функции по спецификации и итерирует по отзывам.
225 587 ★
Java Revieweraffaan-m · Ревьюер Java для Spring Boot и Quarkus: архитектура, JPA, безопасность и конкурентность.
225 587 ★
Kotlin Revieweraffaan-m · Ревьюер Kotlin и Android/KMP: корутины, Compose, архитектура и типичные ошибки.
225 587 ★
Network Architectaffaan-m · Проектирует корпоративные и распределённые сети с маршрутизацией и автоматизацией.
225 587 ★
Vue Revieweraffaan-m · Ревьюер Vue.js: Composition API, реактивность, архитектура компонентов, Pinia, Nuxt.
225 587 ★

Лучшие ИИ-инструменты для программирования

ИИ для программирования

Подборка нейросетей и ИИ-ассистентов для разработки и автоматизации кода. Сервисы, которые ускоряют написание, ревью и отладку, экономят часы рутины и снижают порог входа в сложные

GenAPIGenapi
По запросу
5.0
Notepad++ AINotepad-plus-plus
По запросу
4.9
GitHub CopilotGitHub
По подписке
4.9
Creatium MaxCremax
По запросу
4.8
Emacs AIGnu
По запросу
4.8
KiteKite
По запросу
4.8
Amazon Q DeveloperAmazon
По запросу
4.8
VECTA
Есть бесплатный тариф
4.8
SoftPractice
Есть бесплатный тариф
4.8
VibeForge
Есть бесплатный тариф
4.7

Лучшие ИИ-инструменты для генерации видео

Генерация видео

Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,

VEED.IOVeed
По запросу
5.0
MootionMootion
По запросу
5.0
FlyviFlyvi
Есть бесплатный тариф
4.9
Google Veo 3.1Google
Платно
4.9
Sora (OpenAI)OpenAI
Платно
4.9
PikaPika
Платно
4.9
captions space
Есть бесплатный тариф
4.8
Клайп
Есть бесплатный тариф
4.8
viralpulse.appViralpulse
По запросу
4.8
Viral Maker AIViral-maker
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации текста и копирайтинга

Генерация текста и копирайтинг

Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра

NeuroscribeNeuroscribe
Есть бесплатный тариф
5.0
GoGPTGogpt
По запросу
5.0
ChatsonicChatsonic
По запросу
4.9
НейроТекстерNeuro-texter
По запросу
4.9
ChatGPTOpenAI
По подписке
4.9
Редактум
Есть бесплатный тариф
4.8
ChadGPTChadgpt
По запросу
4.8
Cosmo ScribeCosmoscribe
Есть бесплатный тариф
4.8
Memo HelperCopilot33
По запросу
4.8
LibraChatLibrachat
Есть бесплатный тариф
4.8