failure-debugging
Diagnose backend failures systematically from reproducible symptom through evidence, hypothesis, root cause, minimal fix, regression proof, and…
от Dadmin88★ 52 звезды на GitHub
Установить failure-debugging в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Failure Debugging
Use for incorrect responses, crashes, failed jobs, data inconsistencies, timeouts, dependency errors, flaky backend behavior, or regressions with an unknown cause.
Procedure
- Capture the symptom precisely: expected behavior, actual behavior, exact error, inputs, environment, version or commit, timing, and reproduction steps. Determine whether the failure is deterministic, intermittent, load-dependent, data-dependent, or environment-specific.
- Establish blast radius and urgency. Identify which callers, tenants, data, jobs, or environments are affected and whether continuing execution can cause further harm.
- Reproduce the smallest faithful failure you can. Preserve a real failing example before changing code.
- Trace the execution path end to end: request or job entry, authorization, domain logic, persistence, external dependencies, asynchronous boundaries, and response. Correlate logs, traces, metrics, database state, and recent changes instead of relying on one signal.
- Form an explicit hypothesis that predicts observable evidence. Gather or add the minimum instrumentation needed to confirm or falsify it. Prefer narrowing the fault over changing several plausible causes at once.
- Distinguish root cause from downstream symptoms. Check boundaries where bad state could first have been introduced, including invalid assumptions about data, concurrency, retries, time, ordering, configuration, and dependency behavior.
- Implement the smallest cohesive fix that restores the intended invariant or contract. Avoid unrelated cleanup while the failure is under investigation unless it is required to make the fix safe.
- Add a regression test or reproducible automated check that fails for the original defect and passes with the fix whenever feasible.
- Re-run the original reproduction, targeted tests, and the broader relevant suite. Verify important side effects such as persisted state, retries, emitted events, or dependent calls, not only the final response.
- If evidence points primarily to database internals, infrastructure, networking, security policy, or an external integration, hand off the evidence to the owning specialist instead of guessing outside the Backend Engineer's lane.
Decision rules
- Do not shotgun speculative fixes. Change a hypothesis only after evidence changes.
- Error messages are evidence, not always the root cause.
- Recent code changes are useful suspects, not proof of causality.
- A disappearing symptom is not enough; explain why the fix addresses the cause and how regression is prevented.
Quality gate
The investigation is complete when the failure is explained by evidence, the fix addresses the root cause, the original reproduction and relevant tests pass, material side effects are verified, and any remaining uncertainty is explicit.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл failure-debugging?
Diagnose backend failures systematically from reproducible symptom through evidence, hypothesis, root cause, minimal fix, regression proof, and production-relevant verification.
Как установить скилл failure-debugging?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл failure-debugging запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…