breakdown-epic-arch
它能做什么
这个工具可以帮你为一个大型软件项目(称为“Epic”)制定详细的技术方案。它会说明系统各个部分如何协同工作,以及将使用哪些技术。
适用场景
- ✓你对应用中的一项新大功能有想法时。
- ✓计划从零开始搭建一个新系统时。
- ✓开始编码之前,想先了解技术细节时。
技能链接
https://github.com/github/awesome-copilot/blob/main/skills/breakdown-epic-arch/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“根据这份需求文档,为“安全用户登录”Epic 设计技术架构:[在此粘贴文档]”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会扮演一位经验丰富的软件架构师。它会读取你的项目需求,并运用设计模式(比如“领域驱动架构”)和具体技术(比如 Docker、TypeScript、Next.js)的知识,生成一份技术方案。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Epic Architecture Specification Prompt
Goal
Act as a Senior Software Architect. Your task is to take an Epic PRD and create a high-level technical architecture specification. This document will guide the development of the epic, outlining the major components, features, and technical enablers required.
Context Considerations
- The Epic PRD from the Product Manager.
- Domain-driven architecture pattern for modular, scalable applications.
- Self-hosted and SaaS deployment requirements.
- Docker containerization for all services.
- TypeScript/Next.js stack with App Router.
- Turborepo monorepo patterns.
- tRPC for type-safe APIs.
- Stack Auth for authentication.
Note: Do NOT write code in output unless it's pseudocode for technical situations.
Output Format
The output should be a complete Epic Architecture Specification in Markdown format, saved to /docs/ways-of-work/plan/{epic-name}/arch.md.
Specification Structure
1. Epic Architecture Overview
- A brief summary of the technical approach for the epic.
2. System Architecture Diagram
Create a comprehensive Mermaid diagram that illustrates the complete system architecture for this epic. The diagram should include:
- User Layer: Show how different user types (web browsers, mobile apps, admin interfaces) interact with the system
- Application Layer: Depict load balancers, application instances, and authentication services (Stack Auth)
- Service Layer: Include tRPC APIs, background services, workflow engines (n8n), and any epic-specific services
- Data Layer: Show databases (PostgreSQL), vector databases (Qdrant), caching layers (Redis), and external API integrations
- Infrastructure Layer: Represent Docker containerization and deployment architecture
Use clear subgraphs to organize these layers, apply consistent color coding for different component types, and show the data flow between components. Include both synchronous request paths and asynchronous processing flows where relevant to the epic.
3. High-Level Features & Technical Enablers
- A list of the high-level features to be built.
- A list of technical enablers (e.g., new services, libraries, infrastructure) required to support the features.
4. Technology Stack
- A list of the key technologies, frameworks, and libraries to be used.
5. Technical Value
- Estimate the technical value (e.g., High, Medium, Low) with a brief justification.
6. T-Shirt Size Estimate
- Provide a high-level t-shirt size estimate for the epic (e.g., S, M, L, XL).
Context Template
- Epic PRD: [The content of the Epic PRD markdown file]
常见问题
什么是“Epic”?
“Epic”是软件开发中的术语,指需要拆分成较小部分才能完成的大型功能或项目。
什么是“领域驱动架构”(Domain-driven architecture)?
这是一种组织程序代码的方式,它以业务“领域”或业务范围为出发点,让系统更容易理解,也更便于扩展。
什么是“Docker 容器”?
它就像一个独立的打包箱,里面装着程序运行所需的一切(代码、库等),确保程序在任何地方都能以相同的方式运行。
详情
作者的原始描述
Prompt for creating the high-level technical architecture for an Epic, based on a Product Requirements Document.
repo: github/awesome-copilot
热度
- GitHub 星标
- 40k
- 排名
- #7096
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
acquire-codebase-knowledge
40k帮你的智能体理解并编写现有代码项目的文档。它有助于新成员快速上手,或者快速了解项目架构。
acreadiness-assess
40k让你的智能体评估一个项目对 AI 的准备程度,并生成报告。它有助于了解项目在使用 AI 工具方面的准备情况。
acreadiness-generate-instructions
40k帮你的智能体根据评估结果编写 AI 工具的指令文件。它有助于改善 AI 与代码的交互方式,并弥补已发现的不足。
acreadiness-policy
40k让你的智能体协助制定或应用 AI 项目评估的政策。它有助于规范项目的评估方式,并确保合规。