architecture
它能做什么
这项技能帮助团队记录技术决策,例如在两种工具之间做选择,也可用于评审系统设计。适合需要向他人说明选择理由的工程师和技术负责人。
适用场景
- ✓当你的团队需要在两种技术之间做选择,并希望把理由写下来时。
- ✓当你希望对设计方案的权衡和风险进行评审时。
- ✓当你需要根据需求和限制条件设计一个新组件的时候。
技能链接
https://github.com/TencentCloud/Octop/blob/main/src/octop/infra/agents/experts/library/engineering/skills/architecture/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请撰写一份架构决策记录,说明我们的事件总线应该使用 Kafka 还是 SQS。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会说明背景,并从复杂度、成本、可扩展性等维度比较各个方案,然后以标准的决策记录格式记录决定及其后果。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
/architecture
If you see unfamiliar placeholders or need to check which tools are connected, see CONNECTORS.md.
Create an Architecture Decision Record (ADR) or evaluate a system design.
Usage
/architecture $ARGUMENTS
Modes
Create an ADR: "Should we use Kafka or SQS for our event bus?" Evaluate a design: "Review this microservices proposal" System design: "Design the notification system for our app"
See the system-design skill for detailed frameworks on requirements gathering, scalability analysis, and trade-off evaluation.
Output — ADR Format
# ADR-[number]: [Title]
**Status:** Proposed | Accepted | Deprecated | Superseded
**Date:** [Date]
**Deciders:** [Who needs to sign off]
## Context
[What is the situation? What forces are at play?]
## Decision
[What is the change we're proposing?]
## Options Considered
### Option A: [Name]
| Dimension | Assessment |
|-----------|------------|
| Complexity | [Low/Med/High] |
| Cost | [Assessment] |
| Scalability | [Assessment] |
| Team familiarity | [Assessment] |
**Pros:** [List]
**Cons:** [List]
### Option B: [Name]
[Same format]
## Trade-off Analysis
[Key trade-offs between options with clear reasoning]
## Consequences
- [What becomes easier]
- [What becomes harder]
- [What we'll need to revisit]
## Action Items
1. [ ] [Implementation step]
2. [ ] [Follow-up]
If Connectors Available
If ~~knowledge base is connected:
- Search for prior ADRs and design docs
- Find relevant technical context
If ~~project tracker is connected:
- Link to related epics and tickets
- Create implementation tasks
Tips
- State constraints upfront — "We need to ship in 2 weeks" or "Must handle 10K rps" shapes the answer.
- Name your options — Even if you're leaning one way, I'll give a more balanced analysis with explicit alternatives.
- Include non-functional requirements — Latency, cost, team expertise, and maintenance burden matter as much as features.
常见问题
什么是架构决策记录?
它是一份简短的文档,说明某项技术选择、考虑过的方案,以及该选择带来的结果。
智能体会替我做决定吗?
它会列出权衡利弊并给出推荐意见,记录中会写明谁需要对该决定签字确认。
它也涵盖系统设计吗?
涵盖。它也可以根据需求和约束条件设计新系统。
详情
作者的原始描述
Create or evaluate an architecture decision record (ADR). Use when choosing between technologies (e.g., Kafka vs SQS), documenting a design decision with trade-offs and consequences, reviewing a system design proposal, or designing a new component from requirements and constraints.
repo: TencentCloud/Octop
热度
- GitHub 星标
- 11k
- 排名
- #11642
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
polite-greeting
11k帮你的智能体用简短、友好且礼貌的问候开启对话,然后迅速进入你需要的事情。
medical-source-failover
11k帮你的智能体在主要来源被屏蔽、速度缓慢或难以阅读时,查找可信的中国医学指南、药品信息和公共卫生文件。
cowork-plugin-customizer
11k帮你的智能体通过替换占位符、调整技能和设置,使现有的 Claude 插件适配某个组织的工具和工作流程。
create-cowork-plugin
11k帮你的智能体通过引导式问答,从零开始构建一个新的 Claude 插件,涵盖技能、智能体、钩子以及可直接安装的插件包。