跳到正文
Skillpedia
API 与服务器(后端)11k · #11649

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/TencentCloud/Octop/blob/main/src/octop/infra/agents/experts/library/engineering/skills/system-design/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能