folder-structure-blueprint-generator

github/awesome-copilot

Универсальный промпт для анализа и документирования структуры папок проекта с автоопределением типа проекта и генерацией схем.

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

Установка

SKILL.md

Project Folder Structure Blueprint Generator

Configuration Variables

${PROJECT_TYPE="Auto-detect|.NET|Java|React|Angular|Python|Node.js|Flutter|Other"}

<!-- --><!-- Select primary technology --><!-- -->

${INCLUDES_MICROSERVICES="Auto-detect|true|false"}

<!-- --><!-- Is this a microservices architecture? --><!-- -->

${INCLUDES_FRONTEND="Auto-detect|true|false"}

<!-- --><!-- Does project include frontend components? --><!-- -->

${IS_MONOREPO="Auto-detect|true|false"}

<!-- --><!-- Is this a monorepo with multiple projects? --><!-- -->

${VISUALIZATION_STYLE="ASCII|Markdown List|Table"}

<!-- --><!-- How to visualize the structure --><!-- -->

${DEPTH_LEVEL=1-5}

<!-- --><!-- How many levels of folders to document in detail --><!-- -->

${INCLUDE_FILE_COUNTS=true|false}

<!-- --><!-- Include file count statistics --><!-- -->

${INCLUDE_GENERATED_FOLDERS=true|false}

<!-- --><!-- Include auto-generated folders --><!-- -->

${INCLUDE_FILE_PATTERNS=true|false}

<!-- --><!-- Document file naming/location patterns --><!-- -->

${INCLUDE_TEMPLATES=true|false}

<!-- --><!-- Include file/folder templates for new features --><!-- -->

Generated Prompt

"Analyze the project's folder structure and create a comprehensive 'Project_Folders_Structure_Blueprint.md' document that serves as a definitive guide for maintaining consistent code organization. Use the following approach:

Initial Auto-detection Phase

${PROJECT_TYPE == "Auto-detect" ? "Begin by scanning the folder structure for key files that identify the project type:

  • Look for solution/project files (.sln, .csproj, .fsproj, .vbproj) to identify .NET projects
  • Check for build files (pom.xml, build.gradle, settings.gradle) for Java projects
  • Identify package.json with dependencies for JavaScript/TypeScript projects
  • Look for specific framework files (angular.json, react-scripts entries, next.config.js)
  • Check for Python project identifiers (requirements.txt, setup.py, pyproject.toml)
  • Examine mobile app identifiers (pubspec.yaml, android/ios folders)
  • Note all technology signatures found and their versions" : "Focus analysis on ${PROJECT_TYPE} project structure"}

${IS_MONOREPO == "Auto-detect" ? "Determine if this is a monorepo by looking for:

  • Multiple distinct projects with their own configuration files
  • Workspace configuration files (lerna.json, nx.json, turborepo.json, etc.)
  • Cross-project references and shared dependency patterns
  • Root-level orchestration scripts and configuration" : ""}

${INCLUDES_MICROSERVICES == "Auto-detect" ? "Check for microservices architecture indicators:

  • Multiple service directories with similar/repeated structures
  • Service-specific Dockerfiles or deployment configurations
  • Inter-service communication patterns (APIs, message brokers)
  • Service registry or discovery configuration
  • API gateway configuration files
  • Shared libraries or utilities across services" : ""}

${INCLUDES_FRONTEND == "Auto-detect" ? "Identify frontend components by looking for:

  • Web asset directories (wwwroot, public, dist, static)
  • UI framework files (components, modules, pages)
  • Frontend build configuration (webpack, vite, rollup, etc.)
  • Style sheet organization (CSS, SCSS, styled-components)
  • Static asset organization (images, fonts, icons)" : ""}

1. Structural Overview

Provide a high-level overview of the ${PROJECT_TYPE == "Auto-detect" ? "detected project type(s)" : PROJECT_TYPE} project's organization principles and folder structure:

  • Document the overall architectural approach reflected in the folder structure
  • Identify the main organizational principles (by feature, by layer, by domain, etc.)
  • Note any structural patterns that repeat throughout the codebase
  • Document the rationale behind the structure where it can be inferred

${IS_MONOREPO == "Auto-detect" ? "If detected as a monorepo, explain how the monorepo is organized and the relationship between projects." : IS_MONOREPO ? "Explain how the monorepo is organized and the relationship between projects." : ""}

${INCLUDES_MICROSERVICES == "Auto-detect" ? "If microservices are detected, describe how they are structured and organized." : INCLUDES_MICROSERVICES ? "Describe how the microservices are structured and organized." : ""}

2. Directory Visualization

${VISUALIZATION_STYLE == "ASCII" ? "Create an ASCII tree representation of the folder hierarchy to depth level ${DEPTH_LEVEL}." : ""}

${VISUALIZATION_STYLE == "Markdown List" ? "Use nested markdown lists to represent the folder hierarchy to depth level ${DEPTH_LEVEL}." : ""}

${VISUALIZATION_STYLE == "Table" ? "Create a table with columns for Path, Purpose, Content Types, and Conventions." : ""}

${INCLUDE_GENERATED_FOLDERS ? "Include all folders including generated ones." : "Exclude auto-generated folders like bin/, obj/, node_modules/, etc."}

3. Key Directory Analysis

Document each significant directory's purpose, contents, and patterns:

${PROJECT_TYPE == "Auto-detect" ? "For each detected technology, analyze directory structures based on observed usage patterns:" : ""}

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

  • Solution Organization:

    • How projects are grouped and related
    • Solution folder organization patterns
    • Multi-targeting project patterns
  • Project Organization:

    • Internal folder structure patterns
    • Source code organization approach
    • Resource organization
    • Project dependencies and references
  • Domain/Feature Organization:

    • How business domains or features are separated
    • Domain boundary enforcement patterns
  • Layer Organization:

    • Separation of concerns (Controllers, Services, Repositories, etc.)
    • Layer interaction and dependency patterns
  • Configuration Management:

    • Configuration file locations and purposes
    • Environment-specific configurations
    • Secret management approach
  • Test Project Organization:

    • Test project structure and naming
    • Test categories and organization
    • Test data and mock locations" : ""}

${(PROJECT_TYPE == "React" || PROJECT_TYPE == "Angular" || PROJECT_TYPE == "Auto-detect") ? "#### UI Project Structure (if detected)

  • Component Organization:

    • Component folder structure patterns
    • Grouping strategies (by feature, type, etc.)
    • Shared vs. feature-specific components
  • State Management:

    • State-related file organization
    • Store structure for global state
    • Local state management patterns
  • Routing Organization:

    • Route definition locations
    • Page/view component organization
    • Route parameter handling
  • API Integration:

    • API client organization
    • Service layer structure
    • Data fetching patterns
  • Asset Management:

    • Static resource organization
    • Image/media file structure
    • Font and icon organization
  • Style Organization:

    • CSS/SCSS file structure
    • Theme organization
    • Style module patterns" : ""}

4. File Placement Patterns

${INCLUDE_FILE_PATTERNS ? "Document the patterns that determine where different types of files should be placed:

  • Configuration Files:

    • Locations for different types of configuration
    • Environment-specific configuration patterns
  • Model/Entity Definitions:

    • Where domain models are defined
    • Data transfer object (DTO) locations
    • Schema definition locations
  • Business Logic:

    • Service implementation locations
    • Business rule organization
    • Utility and helper function placement
  • Interface Definitions:

    • Where interfaces and abstractions are defined
    • How interfaces are grouped and organized
  • Test Files:

    • Unit test location patterns
    • Integration test placement
    • Test utility and mock locations
  • Documentation Files:

    • API documentation placement
    • Internal documentation organization
    • README file distribution" : "Document where key file types are located in the project."}

5. Naming and Organization Conventions

Document the naming and organizational conventions observed across the project:

  • File Naming Patterns:

    • Case conventions (PascalCase, camelCase, kebab-case)
    • Prefix and suffix patterns
    • Type indicators in filenames
  • Folder Naming Patterns:

    • Naming conventions for different folder types
    • Hierarchical naming patterns
    • Grouping and categorization conventions
  • Namespace/Module Patterns:

    • How namespaces/modules map to folder structure
    • Import/using statement organization
    • Internal vs. public API separation
  • Organizational Patterns:

    • Code co-location strategies
    • Feature encapsulation approaches
    • Cross-cutting concern organization

6. Navigation and Development Workflow

Provide guidance for navigating and working with the codebase structure:

  • Entry Points:

    • Main application entry points
    • Key configuration starting points
    • Initial files for understanding the project
  • Common Development Tasks:

    • Where to add new features
    • How to extend existing functionality
    • Where to place new tests
    • Configuration modification locations
  • Dependency Patterns:

    • How dependencies flow between folders
    • Import/reference patterns
    • Dependency injection registration locations

${INCLUDE_FILE_COUNTS ? "- Content Statistics:

  • Files per directory analysis
  • Code distribution metrics
  • Complexity concentration areas" : ""}

7. Build and Output Organization

Document the build process and output organization:

  • Build Configuration:

    • Build script locations and purposes
    • Build pipeline organization
    • Build task definitions
  • Output Structure:

    • Compiled/built output locations
    • Output organization patterns
    • Distribution package structure
  • Environment-Specific Builds:

    • Development vs. production differences
    • Environment configuration strategies
    • Build variant organization

8. Technology-Specific Organization

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

  • Project File Organization:

    • Project file structure and patterns
    • Target framework configuration
    • Property group organization
    • Item group patterns
  • Assembly Organization:

    • Assembly naming patterns
    • Multi-assembly architecture
    • Assembly reference patterns
  • Resource Organization:

    • Embedded resource patterns
    • Localization file structure
    • Static web asset organization
  • Package Management:

    • NuGet configuration locations
    • Package reference organization
    • Package version management" : ""}

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

  • Package Hierarchy:

    • Package naming and nesting conventions
    • Domain vs. technical packages
    • Visibility and access patterns
  • Build Tool Organization:

    • Maven/Gradle structure patterns
    • Module organization
    • Plugin configuration patterns
  • Resource Organization:

    • Resource folder structures
    • Environment-specific resources
    • Properties file organization" : ""}

${(PROJECT_TYPE == "Node.js" || PROJECT_TYPE == "Auto-detect") ? "#### Структурные паттерны для Node.js (если обнаружены)

  • Организация модулей:

    • Организация CommonJS и ESM
    • Паттерны внутренних модулей
    • Управление сторонними зависимостями
  • Организация скриптов:

    • Паттерны определения скриптов npm/yarn
    • Расположение служебных скриптов
    • Скрипты инструментов разработки
  • Управление конфигурацией:

    • Расположение конфигурационных файлов
    • Управление переменными окружения
    • Подходы к управлению секретами" : ""}

9. Расширение и эволюция

Опишите, как структура проекта спроектирована для расширения:

  • Точки расширения:

    • Как добавлять новые модули/функции, сохраняя соглашения
    • Паттерны папок плагинов/расширений
    • Структуры каталогов для кастомизации
  • Паттерны масштабируемости:

    • Как структура масштабируется для более крупных функций
    • Подход к разбиению крупных модулей
    • Стратегии разделения кода
  • Паттерны рефакторинга:

    • Наблюдаемые распространённые подходы к рефакторингу
    • Как управляются структурные изменения
    • Паттерны поэтапной реорганизации

${INCLUDE_TEMPLATES ? "### 10. Шаблоны структуры

Предоставьте шаблоны для создания новых компонентов, следующих соглашениям проекта:

  • Шаблон новой функции:

    • Структура папок для добавления полноценной функции
    • Требуемые типы файлов и их расположение
    • Соглашения об именовании, которых следует придерживаться
  • Шаблон нового компонента:

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

    • Структура для добавления нового сервиса
    • Размещение интерфейса и реализации
    • Паттерны конфигурации и регистрации
  • Структура новых тестов:

    • Структура папок для тестовых проектов/файлов
    • Шаблоны организации тестовых файлов
    • Организация тестовых ресурсов" : ""}

${INCLUDE_TEMPLATES ? "11" : "10"}. Контроль соблюдения структуры

Опишите, как структура проекта поддерживается и контролируется:

  • Валидация структуры:

    • Инструменты/скрипты, обеспечивающие соблюдение структуры
    • Проверки сборки на соответствие структуре
    • Правила линтинга, связанные со структурой
  • Практики документирования:

    • Как документируются структурные изменения
    • Где фиксируются архитектурные решения
    • История эволюции структуры

Включите в конце раздел о поддержании этого описания и дате его последнего обновления. "

Вставить в README

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

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

Описание

Комплексный технологически-нейтральный промпт для анализа и документирования структуры папок проекта. Автоматически определяет типы проектов (.NET, Java, React, Angular, Python, Node.js, Flutter), генерирует подробные схемы с вариантами визуализации, соглашениями об именовании, шаблонами размещения файлов и шаблонами расширения для поддержания единообразной организации кода в разных технологических стеках.

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

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

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

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

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 устан.
Похожее в других разделах каталога

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

Agent Evaluatoraffaan-m · Оценивает результат агента по рубрике качества из 5 критериев (точность, полнота…
225 587 ★
Code Architectaffaan-m · Проектирует архитектуру функций, анализируя существующие паттерны и соглашения кодовой…
225 587 ★
Evolveaffaan-m · Анализирует инстинкты и предлагает или генерирует эволюционировавшие структуры.
225 587 ★
Seo Specialistaffaan-m · SEO-специалист: технический аудит, оптимизация страниц, структурированные данные, Core…
225 587 ★
Spec Mineraffaan-m · Извлекает поведенческие спецификации из кода для OpenSpec в виде блоков Requirement и…
225 587 ★
ruflo-observabilityruvnet · Структурированное логирование, распределённая трассировка и метрики: связывание…
240 комп.
ruflo-plugin-creatorruvnet · Создание каркаса, проверка и публикация новых плагинов Claude Code с правильной…
240 комп.
Documentation Analyst Writershanraisshan · Агент для анализа существующей документации и создания новой по стандартам проекта из…
61 912 ★
Presentation Claude Codeshanraisshan · Агент для обновления и правки презентации CLAUDE-CODE-BEST-PRACTICE: слайды, структура…
61 912 ★
Presentation Claude Geminishanraisshan · Агент для обновления и правки презентации CLAUDE-GEMINI: слайды, структура, стили, уровни…
61 912 ★

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

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

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

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

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

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

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

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