arch-design-agent-skill-das.../design/application-architecture/README.md

44 lines
2.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Application Architecture
回答的问题:
- 系统边界在哪里?
- 系统级逻辑架构如何分层?
- 模块/服务内部如何分层?
- 模块怎么拆?
- 模块之间如何依赖?
- 与哪些外部系统集成?
- 哪些接口是关键协作契约?
- 如何与代码仓库结构对齐?
## 本目录产出
- [01-system-context.md](./01-system-context.md)
- [01-external-systems.csv](./01-external-systems.csv)
- [02a-layered-architecture.md](./02a-layered-architecture.md)
- [02b-solution-layering.md](./02b-solution-layering.md)
- [02-modules.csv](./02-modules.csv)
- [03-integrations.csv](./03-integrations.csv)
- [04-api-contracts.openapi.yaml](./04-api-contracts.openapi.yaml)
- [06-codebase-alignment.csv](./06-codebase-alignment.csv)
- [07-module-boundary-rules.md](./07-module-boundary-rules.md)
- [adr/ADR-000-template.md](./adr/ADR-000-template.md)
## 依赖
- 依赖 [`../business-architecture/02-capability-map.csv`](../business-architecture/02-capability-map.csv)
- 依赖 [`../business-architecture/03-value-flows.csv`](../business-architecture/03-value-flows.csv)
- 依赖 [`../business-architecture/04-user-journeys.csv`](../business-architecture/04-user-journeys.csv)
- 相关领域设计来自 `../domains/<domain>/`
## 输出给
- [`../data-architecture/01-entities.csv`](../data-architecture/01-entities.csv)
- [`../technology-architecture/01-runtime-topology.md`](../technology-architecture/01-runtime-topology.md)
- [`../technology-architecture/01-runtime-components.csv`](../technology-architecture/01-runtime-components.csv)
## 最小实践要求
- 至少有 1 张系统上下文图
- 如需要表达系统整体层次,补 1 页系统级分层架构图
- 如存在明确代码/逻辑分层,补 1 页模块内技术分层说明
- 至少列出模块职责、owner、依赖关系
- 至少列出关键外部集成
- 正式交付开发前补 `06-codebase-alignment.csv``07-module-boundary-rules.md`
- 表格型数据使用 CSV不用 Markdown 表格