用结构化权衡分析框架系统比较方案优劣,辅助设计与技术决策。
该技能材料显示其本质是一个纯提示/方法论文档,用于结构化权衡分析,不要求密钥、无远程端点、未声明任何代码执行或数据访问能力。整体风险较低,主要仅需留意其 GitHub 仓库社区采用度低、许可证未声明、维护状态未知带来的供应链不确定性。
材料明确注明无需任何密钥或环境变量;作为纯提示型技能,未见凭证收集、存储、转发或滥用路径。
材料注明无远程端点,README 内容也仅为分析框架与模板,未描述任何联网、API 调用或用户数据外发行为。
系统检查项标记为 prompt-only,文档中未声明本机起进程、执行脚本、调用系统命令或使用高权限能力;属静态方法论内容。
未声明读取、写入或枚举本地文件、数据库、剪贴板或其他资源的能力;从提供材料看,不涉及数据面访问权限。
来源为 GitHub 上可审计的开源仓库,且仓库路径显示属 microsoft 组织,这些都是正面因素;但许可证未声明、社区采用度为 0 star、维护状态未知,因此仍存在一定供应链与持续维护不确定性。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "tradeoff-analysis" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/amplifier-bundle-systems-design/main/skills/tradeoff-analysis/SKILL.md 2. 保存为 ~/.claude/skills/tradeoff-analysis/SKILL.md 3. 装好后重载技能,告诉我可以用了
请用 8 维权衡分析框架比较 PostgreSQL 和 MongoDB,场景是一个快速增长的内容平台。请输出对比矩阵、每个维度的取舍说明、适用条件,以及最终建议。
一份结构化对比结果,包含多维度矩阵、关键取舍逻辑与场景化建议。
我们要在“增加新手引导流程”和“简化首次使用步骤”之间做选择。请用权衡矩阵从用户体验、转化率、实现成本、维护复杂度、风险等维度分析,并给出建议。
一份面向产品决策的方案比较,清晰展示各维度利弊与推荐理由。
对于“微服务还是单体架构更好”这个问题,请不要直接下结论。请使用常见权衡模式和 8 维分析框架,说明在不同团队规模、业务复杂度和交付阶段下,分别应如何选择。
一份条件化决策指南,帮助用户理解不同前提下的最佳选择。
Every design decision answers this:
"What does this optimize for, and what does it sacrifice?"
If you cannot answer this clearly for a design, the design is not yet understood.
Evaluate every design alternative against these fixed dimensions. Do not invent new dimensions — force the analysis into this frame so alternatives are comparable.
| Dimension | Key Question | Watch For |
|---|---|---|
| Latency | How fast must it respond? | P50 vs P99 distinction; latency budgets per hop |
| Complexity | How many concepts must be held in mind? | Operational complexity vs code complexity — they diverge |
| Reliability | What is the acceptable failure rate? | Partial degradation vs total failure; blast radius |
| Cost | What are the resource costs now and at scale? | Cost curves that are linear now but exponential later |
| Security | What is the attack surface? | Authentication, authorization, data exposure, supply chain |
| Scalability | What grows with usage, time, and org size? | The thing that scales worst is the bottleneck |
| Reversibility | How hard is it to undo this decision? | Data model choices are least reversible; API contracts are hard; implementation details are easy |
| Organizational fit | Does this match the team's actual ability? | A design the team cannot operate is a failed design |
For comparing N alternatives, fill this matrix:
| Dimension | Option A | Option B | Option C |
|---|---|---|---|
| Latency | [rating + note] | [rating + note] | [rating + note] |
| Complexity | ... | ... | ... |
| Reliability | ... | ... | ... |
| Cost | ... | ... | ... |
| Security | ... | ... | ... |
| Scalability | ... | ... | ... |
| Reversibility | ... | ... | ... |
| Org fit | ... | ... | ... |
| Optimizes for | [1-line summary] | [1-line summary] | [1-line summary] |
| Sacrifices | [1-line summary] | [1-line summary] | [1-line summary] |
Ratings: use qualitative assessments (good/adequate/poor) with a concrete note explaining why. Numeric scores create false precision.
These pairs recur across system design. Recognizing the pattern accelerates analysis.
Consistency vs. Availability — CAP theorem and its practical implications. Strong consistency requires coordination; eventual consistency allows independent operation. Most systems need consistency for some data and availability for other data — the design question is where to draw the line.
Simplicity vs. Flexibility — Simple systems are easy to understand but hard to extend. Flexible systems handle change but are harder to reason about. Prefer simplicity unless you have concrete evidence that flexibility will be needed — not hypothetical future requirements.
Latency vs. Throughput — Optimizing for individual request speed often reduces total system throughput (and vice versa). Batching improves throughput but hurts latency. Streaming can sometimes improve both.
Build vs. Buy — Building gives control and fit; buying gives speed and maintained infrastructure. The hidden cost of "buy" is operational dependency. The hidden cost of "build" is maintenance burden.
Centralization vs. Distribution — Centralized systems are simpler to reason about but create single points of failure and scaling bottlenecks. Distributed systems are resilient but introduce coordination complexity.
Optimization vs. Observability — Aggressive optimization (caching, denormalization, precomputation) makes systems faster but harder to debug. Ensure every optimization comes with the monitoring needed to verify it works.
Safety vs. Speed — Guardrails (validation, type checking, review processes) slow development but prevent failures. The cost of skipping them is paid later, with interest.
…
帮助设计可离线运行的边缘系统,处理同步、冲突恢复与弱网故障场景。
帮助设计与评估企业系统集成方案,覆盖遗留改造、网关、事件与失效模式。
用于按七步法系统审查架构设计,识别风险、权衡并产出改进建议。
用 Unix/Linux 设计哲学评估系统方案的可组合性、简洁性与关注点分离。
帮助用户设计或评估基于 Azure 的系统架构与运维方案
帮助设计和评估多租户SaaS的平台隔离、计量计费与稳定性方案