Zum Inhalt springen
Skillpedia
Deployment & Cloud (DevOps)103k · #805

github-pr-workflow

Was er macht

Dieses Tool hilft dir, deinen Code für das Review durch andere vorzubereiten. Es sorgt dafür, dass Änderungen klar und leicht verständlich sind und wie erwartet funktionieren.

Wann du ihn nutzt

  • ✓Wenn du eine Code-Änderung abgeschlossen hast und willst, dass jemand sie überprüft.
  • ✓Wenn ein Reviewer dich bittet, etwas zu korrigieren, und du die Anpassungen einreichen musst.
  • ✓Wenn Code schon eine Weile auf ein Review wartet und aktualisiert oder genauer beschrieben werden muss.

Link zum Skill

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

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/paperclipai/paperclip/blob/master/packages/skills-catalog/catalog/bundled/software-development/github-pr-workflow/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Bereite meinen Code für das Review vor, mit einer klaren Zusammenfassung, wie ich ihn getestet habe, und allen wichtigen Details.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Das Tool ordnet deinen Code, sorgt dafür, dass die Beschreibungen der Änderungen klar sind, und hilft dir zu zeigen, wie du alles getestet hast. Außerdem unterstützt es dich dabei, auf Kommentare von Reviewern zu antworten.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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.
Häufige Fragen

Warum sind ein klarer Titel und eine gute Beschreibung wichtig?

Sie helfen dem Reviewer schnell zu verstehen, was sich geändert hat, warum es geändert wurde und wie man es testet. Das spart Zeit und verhindert Missverständnisse.

Was sind „Commits“ und warum sollte man sie ordnen?

Commits sind wie Speicherpunkte deiner Arbeit. Wenn du sie ordnest, fasst du kleine, zusammengehörende Änderungen in einem Speicherpunkt zusammen. So bleibt die Historie des Codes sauberer und leichter nachvollziehbar.

Brauche ich für jede Änderung Screenshots?

Screenshots sind besonders wichtig bei Änderungen, die das Aussehen des Programms beeinflussen. Sie zeigen genau, wie die Änderung in der Praxis aussieht.

Details

Originalbeschreibung des Autors

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

Beliebtheit

GitHub-Sterne
103k
Platz im Ranking
#805
Lizenz
MIT
Aktualisiert
15.10.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills