investigate-production
Что он делает
Этот скилл использует логи Sazabi, чтобы объяснить ошибку в продакшене на реальных доказательствах. Он нужен тем, кто должен ответить, что сломалось, почему и кого это затрагивает.
Когда использовать
- ✓Когда пользователь сообщает об ошибке в продакшене или о медленном или падающем эндпоинте.
- ✓Когда сработало оповещение и нужно понять, что на самом деле происходит.
- ✓Когда нужно понять, что изменилось до того, как что-то перестало работать.
Ссылка на скилл
https://github.com/ParadevAI/Paradev/blob/main/plugins/sazabi/skills/investigate-production/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Пользователи говорят, что оформление заказа не работает с самого утра. По нашим логам продакшена скажи, что падает, почему и кого это затрагивает.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент проверяет, нет ли в Sazabi уже задачи или обсуждения по проблеме, затем задаёт логам точные вопросы. Он читает строки, на которых основан каждый ответ, и делает вывод о том, что падает и кого это задевает.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
Investigate with the logs, not the guess
Sazabi stores your logs, traces and metrics and answers questions about them. The job is to turn "something is broken" into a claim about what fails, why, and who it hits, backed by real log lines, before anyone edits code.
0. How the tools work
The Sazabi MCP server lists only two tools, search and execute. Browse
Sazabi's operations with search and namespace: "sazabi" (an empty query
without a namespace lists connected connectors, not Sazabi operations). Before
calling one, repeat search with namespace: "sazabi", the hit's full name as
the query, and includeInputSchema: true to load its arguments. Then run it
with execute as { name, arguments }, the name copied from the hit (for
example sazabi/logs.ask).
Most operations work on one project. If the user did not name one and more than one exists, ask which, or pick the one whose name matches this repository.
1. Start from what is already known
Run sazabi/issues.search for the symptom. Sazabi opens issues on its own when
it sees new or growing errors, so the bug may already have a title, a severity,
and a first-seen time. Then run sazabi/search.threads for the same words: a
teammate or the Sazabi agent may already have investigated it.
Treat search hits as candidates. Match on the error and the code path, not on title similarity.
2. Ask the logs one precise question at a time
sazabi/logs.ask takes a question in plain language and returns an answer,
an explanation of what it measured, the window, and a queryId.
- Open with an overview when you do not know where to look yet: "what is broken in the last hour", "what changed since yesterday's deploy". It returns the kinds of log lines in the window, with counts against the window before and example lines.
- Then narrow to questions with one answer: "how many 5xx did
POST /api/checkout return per 5 minutes over the last 6 hours", "which
customer IDs saw
PaymentTimeouttoday", "show the 20 most recent lines for trace id abc123". - Read
explanationandwindowevery time. An answer over the wrong service, window or field is confidently wrong.
3. Read the lines, then the code
Pull the actual log lines for the failure, including the requests just before it. Find the first line this repository emits on the failing path, then open that code in the working tree. Production runs a release: check the version or commit in the logs against the branch before you trust line numbers.
Before you propose a cause, check what the failures have in common: one endpoint, one tenant, one region, one release, one upstream? A failure scoped to a dimension names its own trigger. A failure that starts at a deploy points at that deploy's diff.
4. Report cause, scope, and blast radius
Write three sentences: what fails, why, and who it hits (volume, affected customers, since when). Quote the log lines and the question you asked, so the user can rerun it. Only then, if asked, fix the code you found.
Anti-patterns
- Fixing the first error you see. The loudest line is often a downstream retry, not the cause.
- One overview, no follow-up. An overview finds where to look; it is not the evidence.
- Trusting an answer without its window. "No errors" over the last 5 minutes says nothing about the outage an hour ago.
- Pasting secrets from logs. Log lines can hold tokens and personal data. Quote only what the finding needs.
Частые вопросы
Меняет ли он код во время расследования?
Нет. Скилл сначала работает по логам и задачам и не трогает код, пока причина не станет ясной.
Что если проектов несколько?
Если вы не назвали проект, он спрашивает, какой использовать, или выбирает тот, который соответствует этому репозиторию.
Примет ли он догадку о причине?
Нет. Он отделяет симптом от причины и подкрепляет каждое утверждение строками логов.
Подробности
Оригинальное описание автора
Find out what is actually happening in production from Sazabi's logs, traces and issues before touching code — ask the logs a precise question, read the lines behind the answer, and separate the symptom from its cause. Use when the user reports a production error, a slow or failing endpoint, a customer complaint, an alert, or asks what is broken, what changed, or why something stopped working.
repo: ParadevAI/Paradev
Популярность
- Звёзды на GitHub
- 16k
- Место в рейтинге
- #10844
- Лицензия
- —
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
decide
16kПроводит вас через решения по дизайну или коду по одному, с понятными вариантами и рекомендацией. Каждый ответ записывается, в конце даётся итог.
mobile-demo-film
16kПревращает записи экрана телефона в аккуратное демо-видео с титульными карточками, рамкой телефона и финальной карточкой. Подходит для демо функций и роликов к запуску.
redesign
16kПроверяет существующий компонент интерфейса и предлагает конкретные визуальные правки: отступы, контраст, иерархию и макет. Может также внести изменения.
superset-settings
16kПозволяет агенту просматривать и менять настройки десктопного приложения Paradev, например тему, шрифты и уведомления, из командной строки.
Похожие скиллы
openclaw-update
394kПомогает агенту обновить уже работающий OpenClaw Gateway, выбрав способ обновления по тому, как он был установлен, и сохранив вашу сессию.
diagnose-gateway
394kПомогает агенту выяснить, почему ваш OpenClaw Gateway не работает, проверяя настройки, каналы и порты, но ничего не меняя.
crabbox-apps
394kПомогает агенту открыть и запустить приложение на временной облачной машине, а затем показать его вид на боковой панели чата.