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

trace

하는 일

이 스킬은 바로 고치기보다 관찰된 결과가 왜 일어났는지 조사합니다. 혼란스러운 버그, 느려짐, 예상치 못한 결과 앞에서 변경 전에 원인을 먼저 설명받고 싶은 사람을 위한 스킬입니다.

사용하는 경우

  • ✓버그, 느려짐, 예상치 못한 결과에 분명한 원인이 없을 때.
  • ✓변경하기 전에 경쟁하는 설명들을 근거와 비교하고 싶을 때.
  • ✓원인을 좁히기 위해 다음에 해야 할 확인이 무엇인지 알고 싶을 때.

스킬 링크

https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/trace/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/trace/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에서 그대로 가져왔습니다.

Trace Skill

Use this skill for ambiguous, causal, evidence-heavy questions where the goal is to explain why an observed result happened, not to jump directly into fixing or rewriting code.

This is the orchestration layer on top of the built-in tracer agent. The goal is to make tracing feel like a reusable OMC operating lane: restate the observation, generate competing explanations, gather evidence in parallel, rank the explanations, and propose the next probe that would collapse uncertainty fastest.

Good entry cases

Use /oh-my-claudecode:trace when the problem is:

  • ambiguous
  • causal
  • evidence-heavy
  • best answered by exploring competing explanations in parallel

Examples:

  • runtime bugs and regressions
  • performance / latency / resource behavior
  • architecture / premortem / postmortem analysis
  • scientific or experimental result tracing
  • config / routing / orchestration behavior explanation
  • “given this output, trace back the likely causes”

Core tracing contract

Always preserve these distinctions:

  1. Observation -- what was actually observed
  2. Hypotheses -- competing explanations
  3. Evidence For -- what supports each explanation
  4. Evidence Against / Gaps -- what contradicts it or is still missing
  5. Current Best Explanation -- the leading explanation right now
  6. Critical Unknown -- the missing fact keeping the top explanations apart
  7. Discriminating Probe -- the highest-value next step to collapse uncertainty

Do not collapse into:

  • a generic fix-it coding loop
  • a generic debugger summary
  • a raw dump of worker output
  • fake certainty when evidence is incomplete

Evidence strength hierarchy

Treat evidence as ranked, not flat.

From strongest to weakest:

  1. Controlled reproductions / direct experiments / uniquely discriminating artifacts
  2. Primary source artifacts with tight provenance (trace events, logs, metrics, benchmark outputs, configs, git history, file:line behavior)
  3. Multiple independent sources converging on the same explanation
  4. Single-source code-path or behavioral inference
  5. Weak circumstantial clues (timing, naming, stack order, resemblance to prior bugs)
  6. Intuition / analogy / speculation

Explicitly down-rank hypotheses that depend mostly on lower tiers when stronger contradictory evidence exists.

Strong falsification / disconfirmation rules

Every serious /trace run must try to falsify its own favorite explanation.

For each top hypothesis:

  • collect evidence for it
  • collect evidence against it
  • state what distinctive prediction it makes
  • state what observation would be hard to reconcile with it
  • identify the cheapest probe that would discriminate it from the next-best alternative

Down-rank a hypothesis when:

  • direct evidence contradicts it
  • it survives only by adding new unverified assumptions
  • it makes no distinctive prediction compared with rivals
  • a stronger alternative explains the same facts with fewer assumptions
  • its support is mostly circumstantial while the rival has stronger evidence tiers

Team-mode orchestration shape

Use Claude built-in team mode for /trace.

The lead should:

  1. Restate the observed result or “why” question precisely
  2. Extract the tracing target
  3. Generate multiple deliberately different candidate hypotheses
  4. Spawn 3 tracer lanes by default in team mode
  5. Assign one tracer worker per lane
  6. Instruct each tracer worker to gather evidence for and against its lane
  7. Run a rebuttal round between the leading hypothesis and the strongest remaining alternative
  8. Detect whether the top lanes genuinely differ or actually converge on the same root cause
  9. Merge findings into a ranked synthesis with an explicit critical unknown and discriminating probe

Important: workers should pursue deliberately different explanations, not the same explanation in parallel.

Default hypothesis lanes for v1

Unless the prompt strongly suggests a better partition, use these 3 default lanes:

  1. Code-path / implementation cause
  2. Config / environment / orchestration cause
  3. Measurement / artifact / assumption mismatch cause — covers verification-method defects, not just system defects. Examples: the verification query reuses a single dimensional key across distinct entities, tenants, streams, or groups; the comparison filter shape does not match the schema grain; or the catalog or column name was assumed portable acros
자주 묻는 질문

추적하는 동안 코드를 바꾸나요?

아니요. 목표는 어떤 수정 전에 원인을 설명하는 것입니다.

무엇을 보고하나요?

관찰, 경쟁하는 설명, 각각의 찬성과 반대 근거, 현재 가장 좋은 설명을 보고합니다.

언제 잘 맞지 않나요?

문제가 분명해서 수정만 필요할 때는 직접 디버깅이나 실행 스킬이 더 좋은 선택입니다.

상세 정보

작성자의 원본 설명

Evidence-driven tracing lane that orchestrates competing tracer hypotheses in Claude built-in team mode

repo: Yeachan-Heo/oh-my-claudecode

인기도

GitHub 스타
41k
순위
#7029
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬