系统设计

设计与多媒体 社区

技能解读

当前原文的自动摘译,尚未人工审校。

1. 需求收集

功能需求(做什么) 非功能需求(规模、延迟、可用性、成本) 约束(团队规模、时间表、现有技术堆栈)

2. 高层设计

组件图 数据流 API 合约 存储选择

3. 深入研究

数据模型设计 API 端点设计(REST、GraphQL、gRPC) 缓存策略 队列/事件设计 错误处理和重试逻辑

4. 规模和可靠性

负载估计 水平与垂直扩展 故障转移和冗余 监控和警报

5. 权衡分析

每个决定都需要权衡。让它们明确。考虑:复杂性、成本、团队熟悉程度、上市时间、可维护性

流狐档案 运行与权限由流狐静态检查推断,不代表作者声明或实际测试结果。
领域
设计与多媒体
作者声明的智能体
未找到明确声明;不据此推断已兼容或已测试
静态检查
88 / 100 · 启发式扫描,不代表运行安全
运行环境证据
未执行;当前没有隔离运行测试证据
作者 / 版本 / 许可证
@anthropics · 未声明许可证
上下文用量评级
低消耗
接入复杂程度
即装即用
是否需要外部接口密钥
不需要
兼容的系统
未声明(默认跨平台)
运行环境要求
未检出明确要求
检测到的文件与系统行为
  • 只读
网络行为
允许外网请求
安装命令数
无(仅作为资料)

需要注意: 未声明工具权限范围;实际权限由运行环境决定。

作者说明文件(原文) SKILL.md

# 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.

讨论

基于 GitHub Discussions。登录 GitHub 即可参与讨论、点赞、订阅更新。