跳到正文
Skillpedia
技术文档40k · #7448

technology-stack-blueprint-generator

它能做什么

这个代理会分析项目代码,绘制出一张详细的技术使用图谱。它能识别编程语言、版本和代码模式,还能生成图表。

适用场景

  • ✓当你刚开始一个新项目,想了解它的技术基础时。
  • ✓当其他团队把项目交给你,你需要快速理解它的运作方式时。
  • ✓当你要为现有项目编写文档,方便后续维护时。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/github/awesome-copilot/blob/main/skills/technology-stack-blueprint-generator/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请为这个项目生成一份完整的技术蓝图,包括使用的版本和代码模式。”

每周 5 个新技能,1 分钟读完。

工作原理

它会检查你项目中的文件,找出所用的语言、库和工具。然后按照你的要求,把这些信息整理成一份详细的报告。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Comprehensive Technology Stack Blueprint Generator

Configuration Variables

${PROJECT_TYPE="Auto-detect|.NET|Java|JavaScript|React.js|React Native|Angular|Python|Other"} <!-- Primary technology --> ${DEPTH_LEVEL="Basic|Standard|Comprehensive|Implementation-Ready"} <!-- Analysis depth --> ${INCLUDE_VERSIONS=true|false} <!-- Include version information --> ${INCLUDE_LICENSES=true|false} <!-- Include license information --> ${INCLUDE_DIAGRAMS=true|false} <!-- Generate architecture diagrams --> ${INCLUDE_USAGE_PATTERNS=true|false} <!-- Include code usage patterns --> ${INCLUDE_CONVENTIONS=true|false} <!-- Document coding conventions --> ${OUTPUT_FORMAT="Markdown|JSON|YAML|HTML"} <!-- Select output format --> ${CATEGORIZATION="Technology Type|Layer|Purpose"} <!-- Organization method -->

Generated Prompt

"Analyze the codebase and generate a ${DEPTH_LEVEL} technology stack blueprint that thoroughly documents technologies and implementation patterns to facilitate consistent code generation. Use the following approach:

1. Technology Identification Phase

  • ${PROJECT_TYPE == "Auto-detect" ? "Scan the codebase for project files, configuration files, and dependencies to determine all technology stacks in use" : "Focus on ${PROJECT_TYPE} technologies"}
  • Identify all programming languages by examining file extensions and content
  • Analyze configuration files (package.json, .csproj, pom.xml, etc.) to extract dependencies
  • Examine build scripts and pipeline definitions for tooling information
  • ${INCLUDE_VERSIONS ? "Extract precise version information from package files and configuration" : "Skip version details"}
  • ${INCLUDE_LICENSES ? "Document license information for all dependencies" : ""}

2. Core Technologies Analysis

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

  • Target frameworks and language versions (detect from project files)
  • All NuGet package references with versions and purpose comments
  • Project structure and organization patterns
  • Configuration approach (appsettings.json, IOptions, etc.)
  • Authentication mechanisms (Identity, JWT, etc.)
  • API design patterns (REST, GraphQL, minimal APIs, etc.)
  • Data access approaches (EF Core, Dapper, etc.)
  • Dependency injection patterns
  • Middleware pipeline components" : ""}

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

  • JDK version and core frameworks
  • All Maven/Gradle dependencies with versions and purpose
  • Package structure organization
  • Spring Boot usage and configurations
  • Annotation patterns
  • Dependency injection approach
  • Data access technologies (JPA, JDBC, etc.)
  • API design (Spring MVC, JAX-RS, etc.)" : ""}

${PROJECT_TYPE == "JavaScript" || PROJECT_TYPE == "Auto-detect" ? "#### JavaScript Stack Analysis (if detected)

  • ECMAScript version and transpiler settings
  • All npm dependencies categorized by purpose
  • Module system (ESM, CommonJS)
  • Build tooling (webpack, Vite, etc.) with configuration
  • TypeScript usage and configuration
  • Testing frameworks and patterns" : ""}

${PROJECT_TYPE == "React.js" || PROJECT_TYPE == "Auto-detect" ? "#### React Analysis (if detected)

  • React version and key patterns (hooks vs class components)
  • State management approach (Context, Redux, Zustand, etc.)
  • Component library usage (Material-UI, Chakra, etc.)
  • Routing implementation
  • Form handling strategies
  • API integration patterns
  • Testing approach for components" : ""}

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

  • Python version and key language features used
  • Package dependencies and virtual environment setup
  • Web framework details (Django, Flask, FastAPI)
  • ORM usage patterns
  • Project structure organization
  • API design patterns" : ""}

3. Implementation Patterns & Conventions

${INCLUDE_CONVENTIONS ? "Document coding conventions and patterns for each technology area:

Naming Conventions

  • Class/type naming patterns
  • Method/function naming patterns
  • Variable naming conventions
  • File naming and organization conventions
  • Interface/abstract class patterns

Code Organization

  • File structure and organization
  • Folder hierarchy patterns
  • Component/module boundaries
  • Code separation and responsibility patterns

Common Patterns

  • Error handling approaches
  • Logging patterns
  • Configuration access
  • Authentication/authorization implementation
  • Validation strategies

…

常见问题

什么是“技术栈”(technology stack)?

它指的是构建软件所用的一整套技术,包括编程语言、框架、数据库等。

什么是“实现模式”(implementation patterns)?

它们是在项目中解决特定问题时,常见且被推荐的代码写法。

我可以选择蓝图里包含哪些信息吗?

可以。你可以设置是否包含版本、许可证、图表、代码模式,以及输出格式(如文本或 JSON)。

详情

作者的原始描述

Comprehensive technology stack blueprint generator that analyzes codebases to create detailed architectural documentation. Automatically detects technology stacks, programming languages, and implementation patterns across multiple platforms (.NET, Java, JavaScript, React, Python). Generates configurable blueprints with version information, licensing details, usage patterns, coding conventions, and

repo: github/awesome-copilot

热度

GitHub 星标
40k
排名
#7448
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能