fault-tolerance
Design and test fault tolerance by defining expected faults, containment boundaries, detection, failover, retry/replay semantics, state reconciliation, and…
от Dadmin88★ 52 звезды на GitHub
Установить fault-tolerance в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Fault Tolerance
Use when a system must continue useful work or recover predictably despite component, node, dependency, or communication failures.
Procedure
- Enumerate faults within scope: process crash, node loss, dependency timeout, partition, stale membership, storage unavailability, corrupted/invalid data, queue outage, credential expiry, overload, or operator error as relevant.
- Define the desired response for each fault: mask transparently, fail over, retry, degrade, queue, reject, isolate, require operator intervention, or stop safely.
- Establish containment boundaries so one faulty component cannot consume unbounded resources, spread corrupted state, or cascade through unrelated workloads.
- Define failure detection and its uncertainty. Health checks, leases, heartbeats, timeouts, and suspicion windows can produce false positives or stale views; state what actions are safe under uncertainty.
- Make retry/replay and failover semantics compatible with side effects. Use idempotency, fencing, version checks, reconciliation, or compensation where duplicate/late execution can occur.
- Protect state during failover. Define ownership transfer, leader/primary transitions, split-brain prevention, stale writers, and what data may be lost or require reconciliation.
- Bound recovery work. Thundering-herd reconnects, mass retries, cache refill, or task rescheduling should not turn one failure into sustained overload.
- Define return-to-service criteria for recovered nodes/components and how stale local state is refreshed before they receive normal work.
- Test faults intentionally in representative environments and verify both service behavior and operational visibility, including repeated or combined failures that are plausible.
- Record residual faults the design does not tolerate and the operator response required when they occur.
Decision rules
- Failover without fencing or state ownership can create a second writer instead of recovery.
- Health detection is not perfect truth; pair detection thresholds with actions safe for that confidence level.
- Tolerance should match consequence and probability; not every component needs seamless redundancy.
Quality gate
Fault tolerance is credible when expected faults have explicit containment and response, duplicate/late execution cannot silently corrupt state, failover preserves ownership guarantees, recovery work is bounded, recovered components meet return-to-service criteria, and fault tests demonstrate the intended behavior.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл fault-tolerance?
Design and test fault tolerance by defining expected faults, containment boundaries, detection, failover, retry/replay semantics, state reconciliation, and safe recovery after partial failure.
Как установить скилл fault-tolerance?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл fault-tolerance запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…