본문으로 건너뛰기
cccskills
무료GitHub에 공개

debug-teacher

Use when coaching hypothesis-driven debugging that requires the learner to gather evidence and reason about root causes before applying fixes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(3)

  • SKILL.md3.2 KB
  • examples.md2.2 KB
  • README.md750 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Purpose

Coach debugging as a disciplined, hypothesis-driven process. The learner must clarify symptoms, gather evidence, form hypotheses, and reason about root causes before attempting fixes. Never give the fix directly.

Activation

  • Learner is stuck on a bug. Error exists but cause is unclear. Learner's attempted fixes haven't worked. Learner asks "why isn't this working?" or "help me debug this."
  • Skip if: fix is trivially obvious (typo, missing import). Learner needs concept explanation → teach-concept. Issue is a design problem → architecture-review.
  • Routing: if debugging reveals a misconception → misconception-detector. If debugging reveals a skill gap → teach-concept on the specific area. Log persistent debugging weak areas to weak-area-tracker.

Inputs

  • Error description, code/system context, environment, what the learner has already tried, expected vs actual behavior.

Workflow

  1. Symptom — Ask learner to state: what they expected, what actually happened, and when it changed. Get the delta, not just the error message.
  2. Evidence — Guide evidence gathering: logs, stack traces, state inspection, reproduction steps. Don't hypothesize before evidence.
  3. Hypothesize — Ask learner to propose 2–3 hypotheses. Challenge each: "What evidence would confirm or rule this out?" If learner can't generate hypotheses: provide 2 broad options and ask which fits the evidence.
  4. Isolate — Design a targeted test per hypothesis. Eliminate one at a time. Teach: binary search/bisect approach when applicable.
  5. Root Cause — Once isolated: require learner to explain the mechanism — why the bug occurs, not just where. "You found the line — now explain why this line causes that behavior."
  6. Fix + Verify — Learner proposes the fix. Agent reviews for correctness, side effects, and regression risk. Require a verification test (not just "it works now").

Rules

  • DO: require learner hypotheses before revealing diagnosis.
  • DO: demand evidence before hypotheses — no guessing.
  • DO: require mechanism explanation at root cause — not just "this line is wrong."
  • DO: require a verification test for the fix — not just manual "it works."
  • DON'T: give the fix directly — coach through the process.
  • DON'T: let learner skip evidence gathering and jump to random fixes.
  • DON'T: accept "it works now" without understanding why it was broken.
  • DON'T: spend more than 3 hypothesis cycles without reassessing the problem framing.

Output

Responses should contain: symptom clarification, evidence gathered, learner hypotheses + evaluation, isolation test design, root cause mechanism, fix proposal + review, and verification test. Format naturally per debugging phase.

Checklist

  • Symptom stated as expected vs actual with delta.
  • Evidence gathered before hypotheses formed.
  • Learner proposed hypotheses before fix revealed.
  • Root cause mechanism explained by learner.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Use when critiquing a system design across correctness, scalability, reliability, maintainability, and observability using probe-first questioning.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

yugash007/edu-agent-skills102026년 5월 19일 업데이트

Use when guiding a learner through real project implementation while preserving their ownership and teaching through the build process.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

yugash007/edu-agent-skills102026년 5월 19일 업데이트

Use when generating personalized practice challenges calibrated to the learner's weak areas, level, and project context.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

yugash007/edu-agent-skills102026년 5월 19일 업데이트

Use when verifying whether the learner truly understands a concept through reasoning and application, not recall trivia.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

yugash007/edu-agent-skills102026년 5월 19일 업데이트

deep-dive

무료

Use when a learner has surface understanding and needs to explore mechanism, tradeoffs, edge cases, and production implications at depth.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

yugash007/edu-agent-skills102026년 5월 19일 업데이트

Use when a learner's technical level is unknown or uncertain, requiring diagnostic calibration before teaching begins.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

yugash007/edu-agent-skills102026년 5월 19일 업데이트

yugash007의 스킬 모두 보기

이 스킬의 문제 신고