Skip to main content

document-a-software-architecture

Document a software system's boundaries, components, data, decisions, runtime, security, failure modes, and change paths. Use when maintainers or reviewers need a current architecture guide grounded in the real implementation.

来源信息

仓库
protosphinx/sphinxstack
最近来源活动
2026年7月29日 13:55
检测到的 SKILL.md 语言
英语
星标
3
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
document-a-software-architecture
category
write
description
Document a software system's boundaries, components, data, decisions, runtime, security, failure modes, and change paths. Use when maintainers or reviewers need a current architecture guide grounded in the real implementation.
# document-a-software-architecture Explain the system at the level needed to change and operate it. Prefer a small set of linked views and decision records over one diagram that claims to show everything. ## Inputs - Gather repositories, deployment configuration, schemas, interfaces, infrastructure, observability, and ownership. - Review current runtime evidence, dependency inventories, incidents, threat models, and architecture decisions. - Define the audience and the maintenance or review questions the document must answer. ## Procedure 1. State system purpose, users, scope, non-goals, quality attributes, and important constraints. 2. Draw context and trust boundaries around people, external systems, and owned services. 3. Map major components, responsibilities, interfaces, dependencies, and owners. 4. Trace critical request, event, data, and control flows end to end. 5. Document persistent data, lifecycle, consistency, privacy, retention, and recovery. 6. Explain deployment units, environments, configuration, secrets, scaling, and network boundaries. 7. Record availability, security, capacity, observability, and operational assumptions. 8. Describe expected failures, containment, degradation, retry, reconciliation, and recovery behavior. 9. Link consequential decisions and known debt rather than rewriting their full history. 10. Verify diagrams and claims against code, deployed configuration, and responsible owners; add freshness triggers. ## Boundaries Do not publish secrets, private endpoints, customer data paths, or exploitable detail beyond the document's approved audience. Never document intended architecture as current without labeling the gap. ## Done - Context, components, interfaces, data, deployment, trust, and ownership views are linked - Critical flows and failure behavior are checked against implementation and runtime evidence - Constraints, decisions, debt, and intended changes are visibly distinguished - The document has an owner and review triggers tied to system change
在 GitHub 查看