diagnostic-reasoning
하는 일
이 스킬은 누군가 보고한 버그를 누구도 고치기 전에 이해하는 단계별 방법입니다. 추측이 아닌 믿을 수 있는 버그 수정을 원하는 사람을 위한 것입니다.
사용하는 경우
- ✓누군가 버그를 보고했는데 무엇이 그것을 일으키는지 아무도 정확히 말하지 못할 때.
- ✓진단 보고서가 어떤 원인을 제시하는데 행동하기 전에 확인하고 싶을 때.
- ✓버그가 가끔만 나타나서 그 이유를 알고 싶을 때.
스킬 링크
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/diagnostic-reasoning/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“사용자들이 결제 페이지가 가끔 깨진다고 합니다. 무엇을 바꾸기 전에 실제로 무엇이 그것을 일으키는지 알아내도록 도와주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 먼저 실제 사용자가 할 법한 방식으로 문제를 재현합니다. 그다음 세 가지를 구분합니다. 무엇이 문제를 시작하는지, 무엇이 문제를 숨기거나 드러내는지, 사용자가 실제로 무엇을 보는지입니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
diagnostic-reasoning
Use this procedure before scoping a reported bug and before acting on a diagnostic report. This skill is the single owner of Firstmate's bug-diagnosis reasoning procedure. Firstmate applies it when briefing delegated investigation and evaluating the resulting evidence, without taking over project-specific investigation itself.
Establish the observed behavior
Start from the end user's experience rather than an internal error string or an implementation hypothesis. Require an end-to-end reproduction aligned with the real user path whenever it is feasible and safe. If a faithful reproduction is not feasible, record the exact limitation and use the closest representative path without presenting it as equivalent evidence. Capture the expected behavior, observed behavior, setup, inputs, and repeatability before assigning a cause.
Separate these three facts explicitly:
- The initiating trigger is the event, input, or transition that starts the faulty behavior.
- The masking condition is the independent state, environment, timing, cache, configuration, or path difference that hides or exposes the fault.
- The visible symptom is what the end user or operator can actually observe.
Do not collapse those facts into one label. A masking condition may explain why a fault appears only sometimes without being the initiating cause, and the visible symptom may be several layers downstream from both.
Test the causal explanation
Inspect the failing path and a proven path where the intended behavior is known to work. Compare their inputs, state transitions, dependencies, timing, and control flow to find the earliest meaningful divergence. Inspect relevant history, including blame, commits, migrations, and prior implementations, when it can explain why the paths diverged or which invariant was intended. Do not treat the most recent nearby change as causal without evidence.
Identify the smallest counterfactual that should change the outcome if the leading explanation is true. Change one condition at a time where practical, and record whether the symptom appears, disappears, or remains unchanged. Seek disconfirming evidence deliberately: name what observation would falsify the leading explanation, run that check when feasible, and retain contradictory results instead of explaining them away. Compare the final explanation against the proven path and show why the proposed causal boundary accounts for both the failure and the success.
Scope and act on the result
A diagnosis brief should ask for the reproduction, trigger/mask/symptom separation, divergent and proven path comparison, relevant history, smallest counterfactual, and disconfirming evidence in the report. A diagnostic report should distinguish observed facts from hypotheses and state any unresolved uncertainty that could change the recommended scope. Before acting on the report, verify that its claimed cause explains the end-user reproduction and the proven path without relying on an untested masking condition. If a load-bearing element is missing, route a focused follow-up investigation instead of treating confidence or implementation detail as proof. A diagnosis or implementation-ready recommendation is evidence, not authorization to change code. Implementation still requires the captain's request or another existing lifecycle authority, and the reproduction should become the regression test when a fix is authorized.
자주 묻는 질문
처음 나온 오류 메시지를 고치면 안 되나요?
오류 메시지는 실제 원인이 아닐 수 있으므로, 스킬은 사용자가 겪는 것에서 출발합니다.
버그를 재현할 수 없으면 어떻게 하나요?
에이전트는 그 한계를 기록하고 가장 가까운 안전한 테스트를 쓰되, 실제 상황과 같다고 주장하지 않습니다.
모든 종류의 버그에 쓸 수 있나요?
여러 종류의 보고된 문제에 쓸 수 있는 일반적인 방법으로 작성되어 있습니다.
상세 정보
작성자의 원본 설명
Load before scoping a reported bug and before acting on a diagnostic report.
repo: kunchenguid/firstmate
인기도
- GitHub 스타
- 8.5k
- 순위
- #12433
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
afk
8.5k에이전트가 여러분이 자리를 비운 동안에도 작업을 계속하며 결정은 여러분의 복귀까지 보류하고, 돌아오면 명확한 브리프를 보내도록 돕습니다.
ahoy
8.5k에이전트가 세션에서 일어난 일을 짧게 요약해 주고, 아직 여러분의 답을 기다리는 결정 사항을 함께 살펴보도록 돕습니다.
ask-user-authority
8.5k에이전트가 검토 질문이 합의된 계획에 명확히 맞으면 스스로 결정하고, 질문이 불분명하거나 위험할 때만 여러분에게 묻도록 돕습니다.
away-quiet-supervision
8.5k자리 비움이나 조용한 모드에서 작업을 감독할 때의 안전 규칙을 정해, 에이전트가 메시지를 명확히 하고 여러분이 필요한 결정을 보류하도록 합니다.