investigate-production
하는 일
이 스킬은 Sazabi의 로그를 사용해 운영 오류를 실제 증거로 설명합니다. 무엇이 깨졌는지, 왜 깨졌는지, 누가 영향을 받는지 답해야 하는 분들을 위한 스킬입니다.
사용하는 경우
- ✓사용자가 운영 오류나 느리거나 실패하는 엔드포인트를 보고할 때.
- ✓알림이 울렸고 실제로 무슨 일이 일어나는지 알아야 하는 경우.
- ✓무언가 멈추기 전에 무엇이 바뀌었는지 알아야 할 때.
스킬 링크
https://github.com/ParadevAI/Paradev/blob/main/plugins/sazabi/skills/investigate-production/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“사용자들이 오늘 아침부터 결제가 실패한다고 합니다. 운영 로그로 무엇이 실패하는지, 왜 그런지, 누가 영향을 받는지 알려 주실 수 있나요?”
매주 새 스킬 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
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
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에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.