Skip to content

hashgraph-online/awesome-codex-plugins / plugins/Colin4k1024/tsp/skills/doc-architecture

doc-architecture

Verified

将需求发现、领域建模、一致性审计整合到 /team-* 主链, 以 artifacts/adr/memory 为唯一落盘目标产出可审计文档。 当 Tech Lead、Architect、QA 需要补齐或演进架构文档时使用。

references/service-decomposition-guide.md

View on GitHub
# Service Decomposition Guide

用于将业务能力拆分为可落盘、可验证的服务边界。

## Step 1: 能力枚举

- 从用户旅程或核心流程列出能力清单。
- 对每个能力明确输入、输出、状态变更。

## Step 2: 领域分类

- Core Domain:业务竞争力核心。
- Supporting Domain:支撑能力。
- Generic Domain:通用能力。

## Step 3: 边界判定

- 数据主权:谁是 Source of Truth。
- 事务边界:跨服务强一致是否必要。
- 变更频率:是否需要独立演进。

## Step 4: 通信矩阵

- source -> target -> protocol -> contract
- 同步:REST/gRPC
- 异步:事件/消息

## 回落映射

- 服务目录与职责:`arch-design.md`
- 接口契约:`api-contract.md`
- 风险与验证:`test-plan.md`
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall