帮助用户设计与评估分布式系统的核心机制、权衡与故障处理方案
该技能从材料看属于纯提示词/文档型内容,不要求密钥、未声明远程端点,也未体现本地代码执行或数据读写能力,整体风险较低。主要需留意其开源仓库许可未声明、社区采用度低且维护状态未知,供应链可信度仍有一定不确定性。
材料明确标注无需密钥或环境变量,未见 API token、账号凭证或其他敏感认证信息需求,因此凭证泄露与滥用面较低。
材料标注无远程端点,且该技能被判定为 prompt-only;从现有说明看未体现将用户数据发送到外部服务的行为,也未声明任何联网依赖。
现有材料显示其本质为分布式系统设计知识与模式说明,未描述会在本机启动进程、执行脚本或调用系统能力,因此未见代码执行权限需求。
未声明读写本地文件、数据库、剪贴板、仓库或其他资源的能力;结合 prompt-only 属性,材料中未见任何数据访问或过度授权迹象。
来源为 GitHub 上的开源仓库,具备可审计这一正面因素;但许可证未声明、社区采用度为 0 star、维护状态未知,降低了来源可信度,建议在纳入正式工作流前补充核验仓库内容与维护情况。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "system-type-distributed" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/amplifier-bundle-systems-design/main/skills/system-type-distributed/SKILL.md 2. 保存为 ~/.claude/skills/system-type-distributed/SKILL.md 3. 装好后重载技能,告诉我可以用了
请为一个跨三个可用区部署的订单系统设计分布式架构,重点说明数据复制、一致性模型、故障切换、脑裂风险,以及在网络分区下如何保证下单与库存扣减的正确性。请给出关键权衡和推荐方案。
一份包含复制、一致性、分区容错与故障恢复策略的分布式架构设计建议
我有一个支付、库存、物流三个服务协作的业务流程。请比较两阶段提交、TCC 和 Saga 三种分布式事务方案,分析它们在可用性、一致性、补偿复杂度、失败恢复和性能上的差异,并给出适合高并发电商场景的建议。
一份对多种分布式事务模式的对比分析及场景化选型建议
我们的多节点系统出现了读到旧数据、事件顺序错乱和重复处理问题。请从时钟同步、复制延迟、幂等设计、消息投递语义和一致性模型角度分析可能原因,并给出排查步骤与修复建议。
一份针对分布式一致性与时序异常的根因分析和修复清单
Foundational patterns, guarantees, and failure modes for systems that span multiple nodes.
Most engineers say "consistent" when they mean five different things. Precision matters here because the guarantees determine what your application can and cannot assume.
What it guarantees. Every operation appears to take effect instantaneously at some point between its invocation and completion. All processes observe the same ordering. If operation A completes before operation B begins, B sees A's effects.
What it costs. Requires coordination on every operation. In the presence of network partitions, a linearizable system must either become unavailable or violate the guarantee. Latency is bounded by the slowest participant in the quorum. Cross-datacenter linearizability is possible (Spanner does it) but requires specialized hardware (GPS + atomic clocks) and still adds measurable latency.
When it's sufficient. Leader election, distributed locks, compare-and-swap operations, unique constraint enforcement, fencing tokens. Anywhere a stale read causes a correctness violation, not just a user inconvenience.
When it's overkill. User profile reads, product catalog browsing, analytics dashboards, social feeds. Any read where showing data from 500ms ago is indistinguishable from "correct."
What it guarantees. All processes observe the same ordering of operations, and each process's operations appear in program order. Unlike linearizability, the global order doesn't need to respect real-time ordering — operation B can appear before operation A even if A completed first in wall-clock time.
What it costs. Less than linearizability (no real-time constraint) but still requires global ordering. Rarely offered as a standalone guarantee by modern systems — it sits in an awkward middle ground.
When it matters. Primarily a theoretical model. Useful for reasoning about memory models (Java Memory Model, C++ memory ordering) more than distributed storage systems.
What it guarantees. If operation A causally precedes operation B (A happened before B, and B could have been influenced by A), then all processes observe A before B. Concurrent operations (neither caused the other) may be observed in different orders by different processes.
What it costs. Requires tracking causal dependencies — typically via vector clocks or explicit dependency metadata. More expensive than eventual consistency but significantly cheaper than linearizability. Can remain available during partitions (it's not constrained by CAP in the same way).
When it's sufficient. Comment threads (a reply must appear after the comment it replies to), collaborative editing (edits causally related to a cursor position), messaging (messages in a conversation appear in causal order). Any scenario where "this happened because of that" ordering matters but global total ordering doesn't.
What it guarantees. If no new updates are made, all replicas will eventually converge to the same state. That's it. No bound on how long "eventually" takes. No ordering guarantees during convergence. Different replicas may return different values for the same key at the same time.
What it costs. Cheapest to implement. Maximum availability. But your application must tolerate reading stale or inconsistent data. The real cost is in the application-level complexity required to handle inconsistency — retry logic, conflict resolution, reconciliation processes.
When it's sufficient. DNS propagation, CDN cache invalidation, eventually-consistent counters (like counts, not inventories), search index updates, social media feeds, recommendation engines.
…
帮助设计可离线运行的边缘系统,处理同步、冲突恢复与弱网故障场景。
帮助设计与评估企业系统集成方案,覆盖遗留改造、网关、事件与失效模式。
用于按七步法系统审查架构设计,识别风险、权衡并产出改进建议。
用 Unix/Linux 设计哲学评估系统方案的可组合性、简洁性与关注点分离。
帮助用户设计或评估基于 Azure 的系统架构与运维方案
帮助设计和评估多租户SaaS的平台隔离、计量计费与稳定性方案
帮助设计与评估去中心化点对点系统的架构模式与关键机制
帮助设计和评估事件驱动、消息驱动与异步工作流系统架构。
帮助设计与评估实时协作系统的连接、同步、冲突处理与故障模式
帮助设计或评估命令行工具与开发者 SDK 的架构、兼容性和使用体验
用于按九阶段方法系统化推进架构设计、权衡取舍与迁移规划。
帮助你设计或评估Web服务架构、API模式、扩展性与可靠性问题。