Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计异常

explain-system-tradeoffs解释系统权衡

Agent Skill

explain-system-tradeoffs 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

250

周安装

10

GitHub Stars

9

下载量

81
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:explain-system-tradeoffs(解释系统权衡)
来源仓库:https://github.com/florianbuetow/claude-code
仓库路径:skills/explain-system-tradeoffs
安装命令:
npx skills add https://github.com/florianbuetow/claude-code --skill explain-system-tradeoffs
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/florianbuetow/claude-code --skill explain-system-tradeoffs

简介

用于查找、检索和筛选相关信息,支持基于关键词或任务场景的信息聚合。

  • 适合快速定位系统设计文档、架构决策记录或部署配置等参考资料。
  • 可提取关键权衡点并关联实际代码实现,辅助评估技术选型合理性。
  • 安装命令:npx skills add https://github.com/florianbuetow/claude-code --skill explain-system-tradeoffs
  • 注意:分析结果应结合业务目标综合判断,避免仅依赖技术指标忽略用户体验影响。

SKILL.md

Explain System Tradeoffs

Reverse-engineer distributed system tradeoffs from code, configuration, deployment manifests, and architecture artifacts. Produce an evidence-based report that explains what the system prioritizes, what it sacrifices, where choices appear deliberate versus accidental, and what risks or misalignments deserve attention.

Every distributed system encodes its design tradeoffs in artifacts hiding in plain sight — configuration files, schema definitions, deployment manifests, timeout values, retry policies, and code patterns. This skill reads those artifacts like an architectural blueprint.

Evidence Tiers

When evaluating evidence, use three tiers to weigh confidence:

  • Tier A (hard commitments): User-facing API/SLA language; explicit consistency or transaction guarantees; quorum/replication rules; schema invariants; wire-protocol requirements.
  • Tier B (mechanism evidence): Concrete mechanisms that enforce the property — consensus protocols, leases, retry state machines, outbox tables, circuit breaker configs, compaction strategies, GC flags.
  • Tier C (operational signatures): Dashboards, alerts, runbooks, incident postmortems, sampling configs, SLO definitions that reveal what engineers actually protect and what they sacrifice.

When indicators disagree, prefer artifacts closest to runtime behaviour (Tier C and B) over architecture documentation that may be stale (Tier A language in old design docs).

Subcommands

Request a full analysis or focus on a single tradeoff axis:

Command PatternAxisReference
explain-system-tradeoffsAll six axesAll references
explain-system-consistency-tradeoffsConsistency & Availabilityreferences/consistency.md
explain-system-latency-tradeoffsLatency & Throughputreferences/latency.md
explain-system-data-tradeoffsData Distributionreferences/data-distribution.md
explain-system-transaction-tradeoffsTransaction Boundaries & Coordinationreferences/transactions.md
explain-system-resilience-tradeoffsResilience & Failure Isolationreferences/resilience.md
explain-system-operations-tradeoffsObservability, Security & Costreferences/operations.md

When no subcommand is specified, default to analyzing all six axes. When a tradeoff axis is mentioned by name or concept (even without the command prefix), match it to the appropriate subcommand.

Workflow

Single-Axis Mode

When a single axis is requested (e.g., explain-system-consistency-tradeoffs), execute the analysis directly in the main agent:

  1. Identify the target code, configuration, or architecture to analyze.
  2. Read the reference file for the requested axis.
  3. Scan the codebase for indicators described in the reference.
  4. Build an evidence ledger and report findings (see Report Format below).

Full Analysis Mode (Parallel Subagents)

When all six axes are requested (explain-system-tradeoffs), use parallel subagents to analyze each axis concurrently. This is faster and produces better results because each subagent can focus deeply on one axis.

CRITICAL — How parallel execution works: The Task tool runs subagents in parallel ONLY when multiple Task tool calls appear in the SAME response message. If you emit them across separate messages, they run sequentially. You MUST include all six Task tool calls in a single response to get concurrency.

Step 1. Identify Target System

Determine what code, configuration, or architecture to analyze:

  • When files or a directory are provided, use those.
  • When a service, module, or system is referenced by name, locate it.
  • When ambiguous, ask which files, directories, or services to scan.

Resolve the target to a concrete set of paths before launching subagents. This MUST be done before Step 2 — subagents get their own isolated context window and cannot see the conversation history or resolve ambiguous targets.

Step 2. Launch Six Parallel Subagents

Emit exactly six Task tool calls in a single response message. This is what triggers concurrent execution. Do NOT emit them one at a time.

Technical requirements for each Task call:

  • subagent_type: "general-purpose"
  • description: Short label (e.g., "Analyze consistency tradeoffs")
  • prompt: A fully self-contained prompt (see template below). Each subagent gets its own 200k context window and cannot see the main conversation, so the prompt must include everything it needs.

Each subagent prompt must include:

  1. The concrete target paths to analyze (resolved in Step 1).
  2. The absolute path to its reference file to read first.
  3. The evidence tier definitions (Tier A/B/C — copy them into the prompt).
  4. The per-axis report format (copy it into the prompt).
  5. An instruction to return structured findings only — no summary, no cross-axis commentary (the main agent handles synthesis).

The six subagents and their reference files:

SubagentReference to readFocus
Consistency & Availabilityreferences/consistency.mdCAP/PACELC position, replication, quorum, cache freshness, conflict resolution
Latency & Throughputreferences/latency.mdGC tuning, thread pools, batching, deadlines, hedging, storage engines, rate limiting
Data Distributionreferences/data-distribution.mdShard keys, partition strategies, replication topology, data sovereignty
Transaction Boundariesreferences/transactions.mdMonolith vs microservices, sagas, outbox, schema evolution, API contracts, dependencies
Resilience & Failure Isolationreferences/resilience.mdCircuit breakers, retries, bulkheads, chaos engineering, progressive delivery, service mesh
Observability, Security & Costreferences/operations.mdTracing, SLOs, mTLS, audit trails, compliance, cost/reliability topology

Subagent prompt template (adapt the axis name, reference path, and focus for each of the six — but keep the structure identical):

Analyze the distributed system tradeoffs for the CONSISTENCY & AVAILABILITY axis
in the codebase at: <TARGET_PATHS>

STEP 1: Read the reference file at:
<ABSOLUTE_PATH_TO_SKILL_DIR>/references/consistency.md

STEP 2: Scan the target codebase for indicators described in the reference.
Search configuration files, code patterns, deployment manifests, and schema
definitions. Use Glob, Grep, and Read tools to find evidence.

STEP 3: For each piece of evidence found, classify it:
- What: The specific artifact (file path, config key, code pattern)
- Tier: A (hard commitment — SLA language, quorum rules, schema invariants),
        B (mechanism evidence — protocols, configs, GC flags, compaction),
        or C (operational signature — dashboards, alerts, SLOs, runbooks)
- Reveals: Which end of the tradeoff spectrum the system leans toward
- Deliberate vs Default: Whether intentional (asymmetric config, tuned values)
  or accidental (framework defaults, copy-pasted settings)

STEP 4: Produce your findings in EXACTLY this format:

## Consistency & Availability

**Position:** [Where the system sits on the consistency/availability spectrum]
**Confidence:** HIGH | MEDIUM | LOW

### Evidence
[Numbered list of evidence items with Tier, File, and Detail for each]

### Assessment
[1-2 paragraphs on the tradeoff position and whether it appears deliberate]

### Risks & Recommendations
[Any risks found, each with: Severity (HIGH/MEDIUM/LOW), Location, Issue,
Recommendation. If no risks found, state "No significant risks identified."]

IMPORTANT: Return ONLY the per-axis report above. Do NOT produce a cross-axis
summary or tradeoff profile — the main agent handles cross-axis synthesis.

Step 3. Wait for All Subagents

CRITICAL — Do NOT continue analysis while subagents are running. After launching the six subagents, your ONLY job is to wait for their results. Do NOT:

  • Scan the codebase yourself for any axis
  • Produce per-axis reports yourself
  • "Continue" the analysis if some subagents finish before others
  • Fill idle time by doing the subagents' work

The subagents are doing the analysis. You are the synthesizer. Wait for all six to return before proceeding to Step 4.

If a subagent fails or returns an error, note the failure and proceed with the remaining results. Do NOT redo the failed subagent's work yourself — report that the axis could not be analyzed and suggest re-running it as a single-axis command.

Step 4. Synthesize Results

After all six subagents return their results, the main agent:

  1. Collects the six per-axis reports from the subagent results.
  2. Presents them sequentially to the user.
  3. Produces the cross-axis synthesis (see Summary section in Report Format). This is the main agent's unique contribution — it identifies tensions and interactions between axes that no individual subagent can see.

Identifying the Target

Look across the four planes where distributed system tradeoffs surface:

  • Interface and behavioural contracts: API docs, SLA language, consistency claims.
  • Configuration surfaces: Replication factors, quorum sizes, timeout defaults, retry budgets, sampling rates, consistency levels.
  • State and background work: Repair queues, outbox tables, dead-letter queues, retry schedules, leases, epochs.
  • Operational tooling and telemetry: Tracing, context propagation, error budgets, SLO definitions, dashboards, alerts.

Evidence Ledger

For each tradeoff axis, collect concrete evidence from the codebase using the indicators in the reference files. For each piece of evidence, note:

  • What: The specific artifact (file, config key, code pattern, API contract).
  • Tier: A, B, or C.
  • Reveals: Which end of the tradeoff spectrum the system leans toward.
  • Deliberate vs Default: Whether the choice appears intentional (asymmetric config, tuned values, documented rationale) or accidental (framework defaults, copy-pasted settings, uniform config across all dimensions).

Report Format

Per Tradeoff Axis

## [AXIS NAME]

**Position:** Where the system sits on this tradeoff spectrum.
**Confidence:** HIGH | MEDIUM | LOW (based on evidence tier and consistency)

### Evidence

1. **[Artifact]** — [What it reveals]
   Tier: A/B/C | File: `path/to/file`, lines ~XX-YY
   Detail: Specific explanation of what this artifact tells us.

### Assessment

[1-2 paragraphs explaining the tradeoff position, whether it appears deliberate,
and how it interacts with other axes.]

Risks & Recommendations

After presenting each axis, flag issues using this structure:

**Risk — Severity: HIGH | MEDIUM | LOW**
Location: `filename` or `service/module`, lines ~XX-YY
Issue: What appears accidental, misaligned, or risky about this tradeoff position.
Recommendation: Concrete change to align the configuration with the system's
stated or inferred goals.

Severity guidelines:

  • HIGH: Configuration contradicts the system's apparent goals, creates production risk, or indicates a misunderstood default that could cause data loss or outages.
  • MEDIUM: Suboptimal configuration that will cause problems at scale or under failure conditions. Often a default that should have been tuned.
  • LOW: Minor misalignment or missing hardening. Worth noting for maturity but not urgent.

Summary (Main Agent Only — Full Analysis Mode)

After all axes, the main agent produces a cross-axis synthesis:

  • Tradeoff Profile: A compact summary of the system's position on each axis (e.g., "AP-leaning with tunable consistency, throughput-optimized, shard-first with rack-aware replication").
  • Maturity Signals: Whether the system shows deliberate asymmetry (different configs per table/service/endpoint) or uniform defaults. Deliberate asymmetry is the hallmark of genuine tradeoff-making.
  • Risk count table: | Axis | HIGH | MEDIUM | LOW |
  • Top 3 priorities: Which risks to address first and why.
  • Cross-axis tensions: Where tradeoff choices on one axis conflict with choices on another (e.g., AP consistency with synchronous saga coordination).

Deep Dive Mode (Optional)

When the user asks to "explain this tradeoff further", "what should we change", or "how do we fix this", provide:

  • Detailed analysis of the specific tradeoff or risk.
  • Concrete configuration changes, code modifications, or architecture proposals.
  • Impact assessment: what improves and what gets worse with each recommendation.
  • Alternative approaches if the tradeoff could be resolved differently.

Pragmatism Guidelines

Tradeoffs are decisions, not violations. Apply judgment:

  • Defaults are not always wrong. A system using framework defaults may be correctly sized for its current scale. Flag defaults as "untuned" rather than "wrong" and recommend review, not immediate change.
  • Scale matters. A single-service CRUD app doesn't need the same distributed systems rigor as a platform serving millions of requests. Calibrate severity to the system's actual scale and requirements.
  • Tradeoffs interact. Consistency choices affect latency. Resilience patterns affect throughput. Data distribution affects transaction boundaries. Flag interactions and tensions, don't analyze axes in isolation.
  • Some "misalignments" are intentional. A system that is AP overall but uses strong consistency for payment transactions is making a deliberate per-endpoint choice, not a mistake. Look for per-operation configuration knobs as evidence of intentional mixed strategies.
  • Evidence beats assumptions. If you can't find concrete artifacts for an axis, say "insufficient evidence" rather than guessing. Missing configuration is itself a finding (the tradeoff was not explicitly considered).
  • Prefer insight over exhaustiveness. Five well-evidenced tradeoff findings beat twenty speculative ones.

Example Interactions

Single axis (direct analysis)

User: explain-system-consistency-tradeoffs (with a codebase directory)

Claude:

  1. Reads references/consistency.md
  2. Scans the codebase for consistency/availability indicators (replication config, quorum settings, cache TTLs, schema compatibility modes, sync_commit flags)
  3. Builds an evidence ledger with tiers
  4. Reports the system's consistency/availability position with evidence
  5. Flags any risks (e.g., default replication factor, missing quorum config)
  6. Provides recommendations

Full analysis (parallel subagents)

User: explain-system-tradeoffs (with a full system)

Claude:

  1. Resolves the target paths from the user's input
  2. Launches six subagents in parallel (one per axis), each reading its reference file and scanning the codebase independently
  3. Collects the six per-axis reports as subagents complete
  4. Presents the per-axis findings to the user
  5. Produces the cross-axis synthesis: tradeoff profile, maturity signals, risk count table, top 3 priorities, and cross-axis tensions

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.06%
按下载量换算30

Claude

30.83%
按下载量换算25

Cursor

20.03%
按下载量换算16

Gemini CLI

9.43%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills