본문으로 건너뛰기
Skillpedia
일반 코딩8.5k · #12433

diagnostic-reasoning

하는 일

이 스킬은 누군가 보고한 버그를 누구도 고치기 전에 이해하는 단계별 방법입니다. 추측이 아닌 믿을 수 있는 버그 수정을 원하는 사람을 위한 것입니다.

사용하는 경우

  • ✓누군가 버그를 보고했는데 무엇이 그것을 일으키는지 아무도 정확히 말하지 못할 때.
  • ✓진단 보고서가 어떤 원인을 제시하는데 행동하기 전에 확인하고 싶을 때.
  • ✓버그가 가끔만 나타나서 그 이유를 알고 싶을 때.

스킬 링크

https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/diagnostic-reasoning/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/diagnostic-reasoning/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬