Zum Inhalt springen
Skillpedia
Allgemeines Programmieren5.5k · #14778

visual-pr

Was er macht

Dieser skill zeigt einem Agenten, wie er eine Pull-Request-Beschreibung schreibt, die ein Reviewer schnell erfassen kann. Sie erklärt den Grund der Änderung und den Aufbau der Umsetzung, und der Agent legt den Pull Request an, falls noch keiner existiert.

Wann du ihn nutzt

  • ✓Wenn ein Entwickler eine Änderung fertiggestellt hat und eine klare Pull-Request-Beschreibung braucht.
  • ✓Wenn eine bestehende Pull-Request-Beschreibung nach neuen Commits veraltet ist.
  • ✓Wenn ich eine visuelle Übersicht darüber möchte, was sich in einem Pull Request geändert hat.

Link zum Skill

https://github.com/humanlayer/skills/blob/main/plugins/visual-pr/skills/visual-pr/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/humanlayer/skills/blob/main/plugins/visual-pr/skills/visual-pr/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

“Hilf mir, die Pull-Request-Beschreibung für meinen aktuellen Branch mit dem visual-pr-skill zu schreiben.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent findet den Pull Request für den aktuellen Branch oder legt ihn an, liest den vollständigen Diff und das Ticket und füllt die Vorlage aus. Den Grund hält er auf einen Satz und ergänzt wenige Hinweise für den Reviewer.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Describe a Pull Request

Create or update the pull request for the current task with a concise description that helps a reviewer understand why the change exists and the shape of the implementation.

Workflow

  1. Read the description template:

    Read({SKILLBASE}/references/pr_description_template.md)

  2. Identify or create the pull request:

    • Check the current branch for a PR with gh pr view --json url,number,title,state,baseRefName,headRefName 2>/dev/null.
    • If no PR exists, inspect git status --short --branch and the commits on the current branch.
    • Commit task-related changes when needed, push the branch with an upstream, and create a PR for it. Follow the repository's git safety protocol.
    • Ask the user to select a PR only when the current branch has no relevant work and there is no safe current-branch PR to create.
  3. Gather only the context needed to explain the change:

    • Read the ticket and any relevant task artifacts.
    • Read the complete PR diff and enough surrounding code to understand behavior and ownership.
    • Use gh pr view to collect PR metadata and changed files.
    • Read {SKILLBASE}/references/show-me.md for the visual-outline conventions used in the PR body.
  4. Write the PR description using the template:

    • Keep Why the change to exactly one sentence.
    • Keep Special things to note to 1-3 bullets. Prioritize reviewer warnings, migrations, compatibility constraints, deliberate omissions, or surprising decisions. Write - None. when there are no special considerations.
    • Make Change outline a compact, /show-me-inspired structural view rather than prose or a file-by-file changelog.
    • Include only the views that help explain this PR:
      • SQL table and endpoint contract changes, plus pseudocode for business logic.
      • key data structure / type changes
      • A shallow file tree showing changed responsibilities.
      • React component tree changes, including important hooks, state, and package boundaries.
      • Call-tree, call-stack, control-flow, or data-flow changes.
    • Prefer diff blocks when showing changes to an existing shape. Show the complete target shape when most of it is new or diff notation would obscure ownership or order.
    • Keep each view focused on what a reviewer needs. Omit categories that did not change.
    • optionaL: if you are aware of a ticket id/url, a humanlayer task url, or related plan/document urls, or other relevant links, include them in the header, otherwise omit the header
  5. Save and publish the description:

    • Use .humanlayer/tasks/{task-slug}/pr-description.md when the task directory exists; otherwise use .humanlayer/tasks/pr-{number}/description.md.
    • Update the PR with gh pr edit {number} --body-file {output-path}.
    • Confirm the update succeeded.
  6. Report completion:

    • Read {SKILLBASE}/references/describe_pr_final_answer.md.
    • Respond using that final answer template with the PR URL, saved description URL, and concise list of changed files.

Always read and follow {SKILLBASE}/references/pr_description_template.md. Do not expand the PR body beyond that template.

Write as one human talking to another: avoid jargon and slang, and use simple, coherent, concise language.

Häufige Fragen

Legt er den Pull Request für mich an?

Wenn kein Pull Request für den Branch existiert, sagt der skill, aufgabenbezogene Änderungen zu committen und einen Pull Request anzulegen.

Wie lang ist die Beschreibung?

Der skill hält den Grund auf einen Satz und die besonderen Hinweise auf ein bis drei Stichpunkte.

Welche Vorlage nutzt er?

Er nutzt eine Vorlage für Pull-Request-Beschreibungen, die beim skill gespeichert ist.

Details

Originalbeschreibung des Autors

Only use when the user explicitly invokes this skill by name.

repo: humanlayer/skills

Beliebtheit

GitHub-Sterne
5.5k
Platz im Ranking
#14778
Lizenz
MIT
Aktualisiert
1.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills