omh-app-debugging
하는 일
먼저 문제를 재현하고, 가능한 원인을 나열하며, 가장 저렴한 관찰로 각각 확인하고, 입증된 원인만 고칩니다. 잘못된 값을 내거나 가끔 실패하는 버그를 쫓는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓앱이 잘못된 값을 내지만 이유를 모를 때.
- ✓테스트가 가끔만 실패할 때.
- ✓수정을 쓰기 전에 버그의 근본 원인이 필요할 때.
스킬 링크
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-app-debugging/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“CI의 테스트 하나가 다섯 번에 한 번씩 실패합니다. 아무것도 바꾸기 전에 이유를 찾아 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트가 재현 환경을 만들고 그 결과를 기록합니다. 경쟁하는 설명을 세우고 확인하며, 원인이 드러났을 때만 수정을 준비합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
App Debugging
This is an OMH app-debugging workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
Why This Exists
app-debugging exists because a wrong result in application code had no owner: native-debugging covers native binaries, build-failure-triage covers red builds, and agent-debug covers agent misbehaviour, so the most common debugging request dispatched straight to an execution lane that skipped the diagnosis.
First Steps
- Ask for, or plan, the one command that shows the wrong behaviour, and record its observed output before naming a cause.
- Refuse to prepare a fix while the reproduction reads not_observed; plan the observation that would establish it instead.
Do Not Use When
- The fault is a crash, memory corruption, or core dump in a compiled native binary that needs a debugger session; use
omh-native-debugging. - The build, compile, or CI job fails the same way on every run; use
omh-build-failure-triage. - The subject is an agent or workflow run that misbehaved rather than the application code; use
omh-agent-debug. - The cause is already demonstrated and the request is to judge whether the fix is proven; use
omh-verification-gate.
Examples
Good example:
- Prompt: a test fails one run in five in CI, how do I find out why
- Expected behavior: Prepare reproduction_record/v1 with the loop that measures the failure rate, competing_hypotheses/v1 across ordering, shared state, timing, and environment, and the cheapest observation that splits them; no fix yet.
- Why: The failure is intermittent, so the first deliverable is a measured reproduction rather than a patch.
Bad example:
- Prompt: add a sleep before the assertion so the flaky test passes
- Expected behavior: Record the sleep as a symptom mask, keep root cause open, and plan the observation that names the race.
- Why: A timing change that hides the failure leaves the fault in place and removes the reproduction.
Completion Checklist
- The reproduction names its command, observed output, expected output, and hit rate, and reads observed before any fix is prepared.
- At least three hypotheses on distinct axes were written before the first observation was chosen.
- Each observation records which hypotheses its result eliminated.
- The root cause cites the demonstrating observation and the observation that ruled out each rival.
- The fix handoff carries the reproduction as a regression test that fails before and passes after, or records
regression_seam: none_correctwith the reason, with the reproduction loop observed red before the fix and green after it. - An observed search for the session's probe tag returns nothing, and every throwaway harness file is deleted or listed.
Recovery Notes
- If the fault does not reproduce, make reproduction the first hypothesis and plan the loop, seed, or ordering that would establish it; when no test reaches the fault, choose a loop from the method reference's loop table; if none can be built, the record stays not_observed with each attempt and what stopped it, and the request to the user is for an environment, a redacted capture, or permission for tagged temporary instrumentation.
- If every hypothesis is eliminated, record that, widen the axes, and keep root cause unclaimed rather than promoting the last survivor.
When to Use
Use when application code -- a Python, TypeScript, Go, or JVM service, library, or test -- behaves wrongly and the cause is unknown: a wrong value, an intermittent or order-dependent test, a race or lost update, or a bug that moves when observed. The work is a demonstrated root cause: an observed reproduction, competing hypotheses, the cheapest observation that separates them, and only then a fix.
Strong routing signals: `app-debugging`, `app debugging`, `application debugging`, `root cause`, `root-cause`, `find the root cause`, `root cause analysis`, `flaky test`, `flaky tests`, `test is flaky`, `intermittent test failure`, `fails intermittently`, `fails one run in`, `passes locally but fails in ci`, `heisenbug`, `bug disappears`, `disappears when i add a print`, `race condition`, `lost update`, `update is lost`, `wrong return value`, `returns the wrong value`, `reproduce the bug`, `minimal reproduction`, `почини баг`, `найди баг`, `приложение падает с ошибкой`, `флаки тест`, `исправь баг`, `баг в коде`, `исправить баг`, `найди ошибку в коде`, `отладь`
Catalog Metadata
Category: `
자주 묻는 질문
버그를 바로 고치나요?
원인이 재현되고 입증되기 전에는 고치지 않습니다.
네이티브 프로그램의 충돌도 다루나요?
아니요. 컴파일된 바이너리의 충돌은 별도의 네이티브 디버깅 스킬이 다룹니다.
실패한 빌드도 다루나요?
아니요. 실패한 빌드와 CI 검사는 별도의 빌드 실패 분류 스킬이 다룹니다.
상세 정보
작성자의 원본 설명
[omh] Application code misbehaves -- a wrong value, a flaky test, a lost update: reproduce it first, form competing hypotheses, discriminate them with the cheapest observation, and only then fix the demonstrated root cause. Use when the user says: app-debugging, app debugging, application debugging, root cause, root-cause, find the root cause, root cause analysis, flaky test.
repo: rlaope/oh-my-hermes
인기도
- GitHub 스타
- 5.1k
- 순위
- #15074
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
omh-accessibility-audit
5.1k에이전트가 화면이나 흐름을 키보드 사용, 스크린 리더 레이블, 명암비, 터치 대상 크기 측면에서 접근성 부족이 없는지 점검하도록 돕습니다.
omh-adversarial-consensus
5.1k에이전트가 기술 제안을 독립된 여러 관점에서 공격하고, 결정 전에 살아남는 내용을 요약하도록 돕습니다.
omh-agent-debug
5.1k다른 AI 에이전트가 왜 멈추거나, 반복하거나, 방향을 잃는지 알아내고, 가장 작고 안전한 복구 방법을 제안하도록 돕습니다.
omh-agent-instructions
5.1kAI 도구가 프로젝트에서 어떻게 작업할지 알려 주는 지침 파일, 예를 들어 AGENTS.md나 CLAUDE.md를 작성하거나 업데이트하도록 돕습니다.