Saltar al contenido
Skillpedia
Programación general5,5 mil · #14778

visual-pr

Qué hace

Esta skill enseña a un agente a escribir una descripción de pull request que un revisor pueda leer rápidamente. Explica el motivo del cambio y la forma de la implementación, y crea el pull request si todavía no existe.

Cuándo usarla

  • ✓Cuando un desarrollador ha terminado un cambio y necesita una descripción clara del pull request.
  • ✓Cuando la descripción de un pull request existente está desactualizada tras nuevos commits.
  • ✓Cuando un usuario pide un esquema visual de lo que cambió en un pull request.

Link de la skill

https://github.com/humanlayer/skills/blob/main/plugins/visual-pr/skills/visual-pr/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/humanlayer/skills/blob/main/plugins/visual-pr/skills/visual-pr/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Usa la skill visual-pr para escribir la descripción del pull request de mi rama actual.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente busca o crea el pull request de la rama actual, lee el diff completo y el ticket, y completa la plantilla. Mantiene el motivo en una sola frase y añade algunas notas para el revisor.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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.

Preguntas frecuentes

¿Crea el pull request por mí?

Si no existe un pull request para la rama, la skill indica que hay que confirmar los cambios relacionados con la tarea y crear uno.

¿Qué longitud tiene la descripción?

La skill mantiene el motivo en una frase y las notas especiales en una a tres viñetas.

¿Qué plantilla usa?

Usa una plantilla de descripción de pull request guardada con la skill.

Detalles

Descripción original del autor

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

repo: humanlayer/skills

Popularidad

Estrellas en GitHub
5,5 mil
Posición en el ranking
#14778
Licencia
MIT
Actualizada
1/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas