Chuyển đến nội dung
Skillpedia
Lập trình chung40k · #7206

folder-structure-blueprint-generator

Skill này làm gì

Agent này phân tích cách tổ chức thư mục của dự án lập trình. Nó tạo một hướng dẫn chi tiết cho thấy các thư mục và file được sắp xếp ra sao, giúp mọi thứ gọn gàng và nhất quán.

Khi nào nên dùng

  • ✓Khi bắt đầu một dự án mới để xác định cấu trúc tốt.
  • ✓Khi xem xét một dự án hiện có để ghi lại cách tổ chức.
  • ✓Khi đưa thành viên mới vào đội để giải thích cấu trúc.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/github/awesome-copilot/blob/main/skills/folder-structure-blueprint-generator/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tạo hướng dẫn cấu trúc thư mục cho dự án Node.js của tôi, hiển thị tối đa 3 cấp và dùng danh sách lồng nhau.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Nó xem các thư mục và file của dự án, xác định loại công nghệ đang dùng (như .NET, Java, React, v.v.) và tạo tài liệu trực quan hóa cấu trúc này.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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" ?

…

Câu hỏi thường gặp

“Bản thiết kế” cấu trúc thư mục là gì?

Đó là tài liệu mô tả và trực quan hóa cách các thư mục và file của dự án được tổ chức, đóng vai trò như một bản đồ.

Nó có hoạt động với mọi loại dự án không?

Có. Nó cố gắng tự nhận diện loại dự án (.NET, Java, React, Python, v.v.), hoặc bạn có thể chỉ định.

Tôi có thể chọn cách hiển thị cấu trúc không?

Có. Bạn có thể chọn các kiểu trực quan như cây ASCII, danh sách Markdown hoặc bảng.

Chi tiết

Mô tả gốc của tác giả

Comprehensive technology-agnostic prompt for analyzing and documenting project folder structures. Auto-detects project types (.NET, Java, React, Angular, Python, Node.js, Flutter), generates detailed blueprints with visualization options, naming conventions, file placement patterns, and extension templates for maintaining consistent code organization across diverse technology stacks.

repo: github/awesome-copilot

Độ phổ biến

Sao GitHub
40k
Vị trí xếp hạng
#7206
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự