incident · datawithbaraa — скилл для Claude Code: разбор сбоев
Скилл incident для Claude Code разбирает сбой запуска задания от сообщения об ошибке до предполагаемой причины. По дате сбоя или названию задания он готовит HTML-страницу с обходным решением, вариантами исправления и черновиками писем.
MIT ★ 106 обновлён 2026-11-06
/plugin marketplace add DataWithBaraa/claude-code-data-engineering-skills
/plugin install data-engineering@data-with-baraaЧто делает incident
Скилл собирает сведения о сбое: задание и упавшую задачу, файл и строку ошибки, влияние на потребителей и результаты проверок по слоям. Он читает записи запусков, карантин, доставленные файлы, код пайплайна и журнал инцидентов, чтобы найти похожие случаи и возможное изменение, которое привело к ошибке.
Результат — один HTML-файл с разделами по каждому шагу разбора. В нём есть два варианта решения с оценкой усилий и рекомендацией, будущие риски для таблиц, а также черновики писем потребителям и владельцу источника. Скилл не исправляет код, не перезапускает задания и не отправляет письма; запись в журнал добавляется только после подтверждения.
Какие задачи решает
- найти место и причину сбоя задания
- сопоставить ошибку с прежними инцидентами
- описать способ получить свежие данные до исправления
- сравнить варианты решения и оценить их трудоёмкость
- подготовить письма и запись для журнала инцидентов
Примеры запросов агенту
- Разбери сбой задания за 2025-02-14 и подготовь страницу инцидента.
- Найди причину ошибки в запуске задания
daily_ordersи предложи два варианта решения. - Подготовь черновики писем потребителям и владельцу источника по этому инциденту.
Как установить incident
1Через маркетплейс плагинов
/plugin marketplace add DataWithBaraa/claude-code-data-engineering-skills/plugin install data-engineering@data-with-baraaКоманда ставит плагин data-engineering целиком, со всеми его скиллами
2Через Skills CLI (Vercel)
npx skills add DataWithBaraa/claude-code-data-engineering-skills --skill incident -a claude-code3Вручную: положить файлы
~/.claude/skills/incident/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/incident/
1Через Skills CLI (Vercel)
npx skills add DataWithBaraa/claude-code-data-engineering-skills --skill incident -a codex2Вручную: положить файлы
.agents/skills/incident/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add DataWithBaraa/claude-code-data-engineering-skills --skill incident -a cursor2Вручную: положить файлы
.cursor/skills/incident/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install DataWithBaraa/claude-code-data-engineering-skills skills/incident2Вручную: положить файлы
.github/skills/incident/SKILL.md1Через Skills CLI (Vercel)
npx skills add DataWithBaraa/claude-code-data-engineering-skills --skill incident -a gemini-cli2Командой платформы
gemini skills install https://github.com/DataWithBaraa/claude-code-data-engineering-skills --path skills/incidentВручную: положить файлы
.devin/skills/incident/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы об incident
Как установить incident в Claude Code?
Выполни команды /plugin marketplace add DataWithBaraa/claude-code-data-engineering-skills и затем /plugin install data-engineering@data-with-baraa.
Что делает incident?
Разбирает ошибку запуска задания, связывает её с возможной причиной и готовит HTML-отчёт с обходным решением, двумя вариантами исправления, рисками и черновиками писем.
Может ли incident сам исправить сбой или отправить письма?
Нет. Скилл не меняет код, не перезапускает задания и не отправляет письма. Запись в журнал инцидентов он добавляет только после подтверждения.
Исходный текст
SKILL.md · MIT
--- name: incident description: Use when a job run failed with an error, to walk the incident from the error to the root cause, the workaround, two solutions, the future risks, the email drafts and the log entry. argument-hint: "[date or run]" --- # Incident The job: from the first error to the log entry. It proposes and drafts. It never fixes and never sends. Input: the date of the failed run, or the job and its run. ## Steps 1. Where it failed: the job, the task, the file and line, and the error message. 2. Status: the severity, the impact on the consumers, and the next step. 3. What happened: the run layer by layer, with each check and its result. 4. Root cause: what changed, with the rows before and after. 5. Seen before: check the incident log for the same kind of failure and its known fix. 6. Workaround: how the consumers get fresh data today. 7. Solutions: 2 options with the effort of each, and which one to recommend. 8. Future risks: every table with the same weakness, and which ones are safe. 9. Email drafts: one to the consumers and one to the source owner. 10. Log entry: draft it for the incident log, and write it after the yes. 11. Give the result as one web page. ## Output One HTML file, like [references/incident.html](references/incident.html): the title with the severity, the layers with the failed task, where, when and the status, the error message, then one section per step. Read it for the layout before you write the page. ## Reads - the run records, the check results, the quarantine, the delivered files, the pipeline code, the incident log ## Writes - the web page, and one entry in the incident log after the yes ## Never - Never fixes anything, never reruns a job, never sends an email.
© Data With Baraa · MIT · DataWithBaraa/claude-code-data-engineering-skills
Похожие скиллы
Все скиллы по теме «DevOps и инфраструктура» →Сначала — incident от других авторов.