Aller au contenu
Skillpedia
Déploiement et cloud (DevOps)103k · #805

github-pr-workflow

Ce qu’il fait

Cet outil vous aide à préparer votre code pour qu'il puisse être relu par d'autres personnes. Il s'assure que les modifications sont claires, faciles à comprendre et qu'elles fonctionnent comme prévu.

Quand l’utiliser

  • ✓Quand vous avez terminé une modification de code et souhaitez qu'un relecteur la vérifie.
  • ✓Quand un relecteur vous demande de corriger quelque chose et que vous devez envoyer les corrections.
  • ✓Quand un code est en attente de relecture depuis un certain temps et doit être mis à jour ou complété.

Lien du skill

https://github.com/paperclipai/paperclip/blob/master/packages/skills-catalog/catalog/bundled/software-development/github-pr-workflow/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/paperclipai/paperclip/blob/master/packages/skills-catalog/catalog/bundled/software-development/github-pr-workflow/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Préparez mon code pour la relecture, avec un résumé clair, la manière dont je l'ai testé et les détails importants.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'outil organise votre code, s'assure que les messages décrivant les modifications sont clairs et vous aide à montrer comment vous avez tout testé. Il vous aide aussi à répondre aux commentaires des relecteurs.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

GitHub Pull Request Workflow

Ship a PR a reviewer can land without follow-up clarifying questions. The aim is high signal in the title and body, evidence the change works, and clean replies when feedback comes in.

When to use

  • You are about to open a PR for a change that is functionally complete.
  • A reviewer left comments and you need to respond and push fixes.
  • A PR has been open more than a day and needs to be brought back into shape (stale conflicts, missing description, missing verification).

When not to use

  • The change is not yet functionally complete. Finish the work first; draft PRs that bounce on review are noise.
  • The repository uses a non-GitHub forge. Adjust to that forge's conventions; do not force GitHub-isms.

Branch hygiene before opening

  • Rebase or merge from the target base so the diff is current.
  • Squash WIP commits into reviewable units. Prefer one commit per logical change; do not force one-commit-per-PR if the work is genuinely multi-step.
  • Confirm tests, typecheck, and lint pass locally. Note any deliberate skips in the PR body.
  • Remove debug prints, commented-out code, and TODO markers that are not tracked.

PR title

  • Imperative mood, under 70 characters.
  • Lead with the user-visible change, not the file touched. Allow CSV export from reports table beats Update reports.tsx.
  • If the repo uses an issue prefix convention (PAP-1234:, [security]), follow it.
  • No trailing period.

PR body

Use this structure:

## Summary
- 1–3 bullets describing what changed and why.

## Implementation notes
- Anything non-obvious in the diff: trade-offs, dropped alternatives, gotchas.
- Migration or config implications.

## Verification
- The exact commands or steps you ran.
- Screenshots or short clips for UI changes (required if pixels moved).
- Edge cases you exercised by hand.

## Risk and rollback
- What breaks if this is reverted, and how to revert cleanly.

Skip the Risk and rollback section only for clearly trivial PRs (typos, docs).

Verification evidence

  • Tests passing in CI is necessary, not sufficient. Reviewers also need to know the change behaves correctly end to end.
  • For UI work, include screenshots of the golden path and one edge case. Tag dark and light mode if the project supports both.
  • For migrations, include a dry-run plan and reversal steps.
  • For performance changes, include a before/after measurement, not adjectives.

Replying to review comments

  • Reply on every comment, even with just "fixed in <commit-sha>" — silent fixes leave the reviewer guessing.
  • Push fixes as new commits while review is active; do not amend during review unless the reviewer agrees.
  • If you disagree with feedback, say so with one sentence of rationale and let the reviewer decide. Don't escalate over comments.
  • Re-request review explicitly after pushing changes.

Merge checklist

  • All required checks green.
  • All review comments resolved.
  • PR title/body still accurate (update if scope changed mid-review).
  • Linked issue moves to in_review or done per project convention.
  • Delete the branch after merge unless it is a long-lived integration branch.

Anti-patterns

  • PR description that says "see commits". Reviewers should not need to read the log.
  • Mixing refactor and behavior change in the same PR with no separation in the body.
  • "Address feedback" commits that bundle unrelated edits. One commit per round of feedback is fine; one commit for everything in flight is not.
  • Force-pushing during active review without telling the reviewer.
Questions fréquentes

Pourquoi un titre et une description clairs sont-ils importants ?

Ils permettent au relecteur de comprendre rapidement ce qui a changé, pourquoi, et comment le tester. Cela fait gagner du temps et évite les malentendus.

Que sont les « commits » et pourquoi les organiser ?

Les commits sont comme des « sauvegardes » de votre travail. Les organiser consiste à regrouper en une seule sauvegarde de petites modifications liées entre elles, afin que l'historique du code soit plus propre et plus facile à suivre.

Faut-il inclure des captures d'écran pour chaque modification ?

Les captures d'écran sont particulièrement importantes pour les modifications qui touchent à l'apparence visuelle du programme. Elles montrent exactement le rendu concret du changement.

Détails

Description originale de l’auteur

Prepare a GitHub pull request from a feature branch — branch hygiene, commit shape, title/body, verification notes, screenshots for UI work, and replies to review comments.

repo: paperclipai/paperclip

Popularité

Étoiles GitHub
103k
Position au classement
#805
Licence
MIT
Mis à jour
15/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires