system-design
它能做什么
这项技能根据需求设计软件系统、服务和架构。适合规划新系统,或决定现有系统应如何拆分的工程师。
适用场景
- ✓当你需要在动手开发之前,先设计一个新系统或服务时。
- ✓当你需要决定服务边界或数据应如何建模时。
- ✓当你需要检查设计在负载、故障和增长情况下的表现的时候。
技能链接
https://github.com/TencentCloud/Octop/blob/main/src/octop/infra/agents/experts/library/engineering/skills/system-design/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请设计我们应用的通知系统,该系统每天需要发送最多一百万条消息。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会收集需求,勾勒组件和数据流,并逐一梳理 API、存储、缓存和队列。然后它会估算负载和可靠性需求,并说明各项权衡取舍。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
System Design
Help design systems and evaluate architectural decisions.
Framework
1. Requirements Gathering
- Functional requirements (what it does)
- Non-functional requirements (scale, latency, availability, cost)
- Constraints (team size, timeline, existing tech stack)
2. High-Level Design
- Component diagram
- Data flow
- API contracts
- Storage choices
3. Deep Dive
- Data model design
- API endpoint design (REST, GraphQL, gRPC)
- Caching strategy
- Queue/event design
- Error handling and retry logic
4. Scale and Reliability
- Load estimation
- Horizontal vs. vertical scaling
- Failover and redundancy
- Monitoring and alerting
5. Trade-off Analysis
- Every decision has trade-offs. Make them explicit.
- Consider: complexity, cost, team familiarity, time to market, maintainability
Output
Produce clear, structured design documents with diagrams (ASCII or described), explicit assumptions, and trade-off analysis. Always identify what you'd revisit as the system grows.
常见问题
设计涵盖哪些内容?
需求、组件、数据流、API 约定、存储、缓存、队列、扩展、故障切换和监控。
它会说明权衡取舍吗?
会。每项决定的权衡都会明确写出,例如成本、复杂度和上市时间。
它会说明以后需要重新审视的部分吗?
会。它会指出随着系统增长,最可能需要返工的部分。
详情
作者的原始描述
Design systems, services, and architectures. Trigger with "design a system for", "how should we architect", "system design for", "what's the right architecture for", or when the user needs help with API design, data modeling, or service boundaries.
repo: TencentCloud/Octop
热度
- GitHub 星标
- 11k
- 排名
- #11649
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
polite-greeting
11k帮你的智能体用简短、友好且礼貌的问候开启对话,然后迅速进入你需要的事情。
medical-source-failover
11k帮你的智能体在主要来源被屏蔽、速度缓慢或难以阅读时,查找可信的中国医学指南、药品信息和公共卫生文件。
cowork-plugin-customizer
11k帮你的智能体通过替换占位符、调整技能和设置,使现有的 Claude 插件适配某个组织的工具和工作流程。
create-cowork-plugin
11k帮你的智能体通过引导式问答,从零开始构建一个新的 Claude 插件,涵盖技能、智能体、钩子以及可直接安装的插件包。