Pular para o conteúdo
Skillpedia
Código em geral41 mil · #7015

pr

O que ela faz

Esta skill redige a descrição de um pull request de código para que um revisor entenda a mudança rapidamente. É para desenvolvedores que querem que os revisores vejam as evidências e o plano de reversão.

Quando usar

  • ✓Quando você está pronto para abrir um pull request e precisa de uma descrição clara.
  • ✓Quando um revisor de fora da sua sessão precisa entender uma mudança rapidamente.
  • ✓Quando você quer incluir o plano de reversão e as evidências no pedido.

Link da skill

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

Copie 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

Use esta skill para me ajudar: https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/pr/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Escreva a descrição do pull request para esta mudança, incluindo um resumo curto e como poderíamos reverter.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente monta a descrição a partir do trabalho já feito, como resultados de testes e evidências de antes e depois. Adiciona um visual curto quando ajuda, indica como a mudança é fácil de reverter e o que ela afeta, e não coleta novas evidências.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do GitHub.

PR Body

When work lands behind a review, the PR body is the one artifact a reviewer outside the session reads. Everything it needs already exists in the paper trail — this skill assembles it and adds nothing that was not already established. The summary-visual discipline is inspired by show-me (credited in the frontmatter).

Template

## Summary
<one-line claim, then the smallest visual that proves it>

## Evidence
- **Before:** <output / failing check>
  **After:** <output / passing check>

## Reversibility
<Rollback: cheap via <mechanism> | expensive because <reason>>
<Blast radius: one line>

Sections

Summary

State the change in one sentence, then show the smallest view that makes the point. Match the visual to the change:

  • logic or an algorithm → pseudocode
  • runtime control flow → a call tree
  • UI structure → a component tree
  • file responsibility or a broad refactor → a shallow file tree
  • component interaction or data flow → a Mermaid diagram
  • the delta itself → a diff shaped like the change (component, layout, call tree, or state machine)

Show the whole block only when most of it is new, omitted context would hide ownership, or the reviewer needs a copyable target shape. One visual usually suffices; never all forms.

Evidence

Consume the verify protocol's output — BUILD, TEST, LINT, FUNCTIONALITY evidence, freshness rule inherited. Present before/after pairs: the exact check that failed before and passes after, quoted from the output itself. When the change is visual, prefer a captured screenshot; qa-tester can drive the runtime for one. Never re-collect evidence here and never claim evidence the verify pass did not produce.

Reversibility

Run the ADR test on the diff itself — the same three questions launch applies to decisions: hard to reverse? surprising without context? the result of a real trade-off? A no on all three is a cheap rollback: say by what mechanism (revert the merge, toggle the flag). Any yes means an expensive rollback: say why. Classify the door first: a two-way door (undo is cheap and ordinary) needs no ceremony beyond naming the undo; a one-way door says so explicitly and names what makes the step irreversible. Link the ADR when the change implements or touches one. Close with the blast radius in one line — what else this change can move.

Language

Terms come from GLOSSARY.md where a glossary exists (legacy yards not yet migrated keep it in CONTEXT.md). The PR is read outside the session; the glossary is the only vocabulary the reader shares with it.

Triggers

  • launch Phase 5, when the platform reviews through PRs: the completion report carries a PR body drafted by this skill.
  • Any session that opens or materially updates a PR.

Output

  • The PR body, ready to paste
  • The paper-trail pointers it relies on (verify evidence, ADRs, spec)
Perguntas frequentes

Ele roda novos testes para a descrição?

Não. Ele usa as evidências que já foram coletadas durante a verificação.

O que a nota de reversão cobre?

Quão fácil é desfazer a mudança e quais partes do sistema ela toca.

Ele inclui um diagrama?

Apenas quando um visual pequeno prova a mudança com mais clareza do que o texto.

Detalhes

Descrição original do autor

Draft a PR body from OMC's paper trail — the smallest visual that proves the change, evidence consumed from the verify protocol (never re-collected), reversibility from the ADR test on the diff, glossary language throughout.

repo: Yeachan-Heo/oh-my-claudecode

Popularidade

Estrelas no GitHub
41 mil
Posição no ranking
#7015
Licença
MIT
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas