omh-app-debugging
O que ela faz
Ele reproduz o problema primeiro, lista as possíveis causas, verifica cada uma com a observação mais barata e corrige apenas a causa comprovada. É para desenvolvedores que caçam bugs que geram valores errados ou falham de vez em quando.
Quando usar
- ✓Quando sua aplicação dá um valor errado e você não sabe o motivo.
- ✓Quando um teste falha apenas às vezes.
- ✓Quando você precisa da causa raiz de um bug antes de escrever uma correção.
Link da skill
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-app-debugging/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Um teste no nosso CI falha uma vez a cada cinco execuções. Descubra o motivo antes de mudarmos qualquer coisa.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente monta uma reprodução e registra o que ela mostra. Ele formula explicações concorrentes, as verifica e prepara uma correção apenas quando a causa é demonstrada.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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: `
Perguntas frequentes
Ele corrige o bug logo de cara?
Não, enquanto a causa não for reproduzida e demonstrada.
Isso serve para travamentos em programas nativos?
Não. Travamentos em binários compilados são cobertos por uma skill separada de depuração nativa.
Isso serve para builds que falham?
Não. Builds que falham e verificações de CI são cobertos por uma skill separada de triagem de falhas de build.
Detalhes
Descrição original do autor
[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
Popularidade
- Estrelas no GitHub
- 5,1 mil
- Posição no ranking
- #15074
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
omh-accessibility-audit
5,1 milAjuda seu agente a verificar uma tela ou um fluxo em busca de lacunas de acessibilidade, como uso pelo teclado, rótulos para leitores de tela, contraste e tamanho dos alvos de toque.
omh-adversarial-consensus
5,1 milAjuda seu agente a atacar uma proposta técnica por vários ângulos independentes antes de você se comprometer com ela, e depois resume o que sobrevive.
omh-agent-debug
5,1 milAjuda seu agente a descobrir por que outro agente de IA está travado, em loop ou se desviando, e sugere a forma mais segura e pequena de recuperá-lo.
omh-agent-instructions
5,1 milAjuda seu agente a escrever ou atualizar o arquivo de instruções, como AGENTS.md ou CLAUDE.md, que diz às ferramentas de IA como trabalhar em um projeto.
Skills parecidas
diffs
394 milPermite que seu agente gere um diff real e compartilhável das edições, como link de visualização ou arquivo de imagem, em vez de um resumo escrito à mão.
coding-agent
394 milAjuda seu agente a passar um trabalho grande de programação para o Codex, Claude Code ou OpenCode em segundo plano e acompanhar o andamento.
gh-issues
394 milAjuda seu agente a encontrar issues do GitHub, escolher quais resolver e abrir pull requests com correções, acompanhando os comentários de revisão.