omh-commit-pr-authoring
O que ela faz
Ele redige uma mensagem de commit ou o texto de um pull request no estilo próprio do seu repositório. Lista como testados apenas os testes que de fato foram executados, e todo o resto como não testado. É para desenvolvedores que querem textos claros de commit e PR.
Quando usar
- ✓Quando você precisa de uma mensagem de commit para uma mudança concluída.
- ✓Quando você precisa de uma descrição de pull request para uma mudança.
- ✓Quando você quer o status dos testes declarado com honestidade em um commit ou PR.
Link da skill
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-commit-pr-authoring/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
“Escreva a mensagem de commit desta mudança. Os testes unitários foram executados, mas não rodei a suíte de ponta a ponta.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente lê as convenções do repositório e o histórico recente, lista cada comando como executado ou não executado e redige a mensagem. Só os testes observados como executados são marcados como testados.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Commit Pr Authoring
This is an OMH commit-pr-authoring workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
Why This Exists
commit-pr-authoring exists because nothing in the catalog authored the commit or the PR body. code-review reads a commit message as a thing to review and github-event-ops routes PR events, so the text an engineer writes several times a day had no owner, and nothing applied the observed-versus-prepared split to it.
First Steps
- Read the PR template and the recent log, and record the convention before drafting.
- Build the evidence ledger: each command, observed with its exit status or not_observed.
Do Not Use When
- The request is to find defects in the diff or judge whether the change is ready; use
omh-code-review. - The request routes an incoming pull-request, issue, or CI webhook event; use
omh-github-event-ops. - The request turns a chat report into a GitHub issue; use
omh-github-issue-intake. - The request is release notes or product copy for readers outside the repository; use
omh-content-operator.
Examples
Good example:
- Prompt: write the commit message for this change, the unit tests ran but I did not run the e2e suite
- Expected behavior: Read the log's subject shape and trailers, record the unit test command as observed and the e2e suite as not_observed, and draft the message with the unit tests under
Tested:and the e2e suite underNot-tested:. - Why: The ledger decides which line each command lands on, not the wording of the request.
Bad example:
- Prompt: say the integration tests pass, they will once CI runs
- Expected behavior: Keep the integration tests under
Not-tested:until an observed run exists, and say CI has not been observed. - Why: A prediction worded as a result is exactly what
Tested:must not carry.
Completion Checklist
- The convention read names the template and log sample it drew from.
- Every
Tested:entry maps to an observed ledger row with its exit status. - Every prepared, skipped, or unobserved command is under
Not-tested:with its reason. - The draft lists the paths to stage, and any state-claiming subject prefix maps to an observed ledger row.
- Nothing was committed, pushed, or opened by OMH.
Recovery Notes
- If no run records exist, draft with an empty
Tested:and every command underNot-tested:, and ask for the observed output. - If the repository has no template or visible convention, say so and use a plain subject and body rather than importing one.
When to Use
Use when a change is ready to record and the user wants its commit message or pull-request body written: the repository's template and recent log read first, the subject and body in that convention, the trailers the repo requires, and a Tested: line that lists only commands observed to run, with everything prepared but not run under Not-tested:. OMH prepares the text; the commit, the push, and the PR are the user's or the executor's.
Strong routing signals: `commit-pr-authoring`, `commit message`, `commit messages`, `write the commit message`, `draft the commit message`, `commit body`, `squash message`, `pr body`, `pr description`, `pull request body`, `pull request description`, `draft the pr`, `write the pr`, `pr template`, `tested trailer`, `not-tested trailer`, `lore trailers`, `напиши коммит`, `сообщение коммита`, `описание пул реквеста`, `текст коммита`
Catalog Metadata
Category: verification
Phase: commit-pr-authoring
Quality tier: evidence-ledger-gated
Reasoning demand: standard
Quality bar:
- Read the template and at least the last few commits before writing a word, and record what was found.
- Build the evidence ledger first; the
Tested:and validation sections are projections of it, not prose. - Write the subject in the repository's shape and the body as why the change exists, not a restated diff.
- Load
references/commit-and-pr-conventions.mdfor trailer, sign-off, and template-section mapping instead of improvising them. - Put
Closes #Non its own line only when every success criterion of that issue is met.
Required inputs:
- the change: the diff, the staged files, or the branch compared with its base
- the repository's PR template and a sample of its recent commit log
- the commands that ran for this change, each with its observed exit status
- the commands that were prepared, planned, or skipped, and why
- the issue or goal th
Perguntas frequentes
Ele afirma que os testes passaram se eu não os executei?
Não. Testes que não foram executados aparecem na lista de não testados.
Ele segue o formato do meu projeto?
Sim. Ele lê o log recente e o modelo de PR antes de redigir.
Ele revisa meu código em busca de bugs?
Não. A revisão de bugs é um fluxo de revisão de código separado.
Detalhes
Descrição original do autor
[omh] Commit message or pull-request body to write for a change: draft it in the repository's own convention, with `Tested:` listing only commands observed to run and everything prepared but not run under `Not-tested:`. Use when the user says: commit-pr-authoring, commit message, commit messages, write the commit message, draft the commit message, commit body, squash message, pr body.
repo: rlaope/oh-my-hermes
Popularidade
- Estrelas no GitHub
- 5,1 mil
- Posição no ranking
- #15088
- 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.