visual-pr
What it does
This skill teaches an agent how to write a pull request description that a reviewer can read quickly. It explains the reason for the change and the shape of the implementation, and it creates the pull request if none exists.
When to use it
- ✓When a developer has finished a change and needs a clear pull request description.
- ✓When an existing pull request description is out of date after new commits.
- ✓When a user asks for a visual outline of what changed in a pull request.
Skill link
https://github.com/humanlayer/skills/blob/main/plugins/visual-pr/skills/visual-pr/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Use the visual-pr skill to write the pull request description for my current branch.”
5 new skills a week. 1 minute to read.
How it works
The agent finds or creates the pull request for the current branch, reads the full diff and the ticket, and fills in the template. It keeps the reason to one sentence and adds a few notes for the reviewer.
Technical content (original SKILL.md)
Original text by the author, straight from 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
Read the description template:
Read({SKILLBASE}/references/pr_description_template.md)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 --branchand 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.
- Check the current branch for a PR with
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 viewto collect PR metadata and changed files. - Read
{SKILLBASE}/references/show-me.mdfor the visual-outline conventions used in the PR body.
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
diffblocks 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
Save and publish the description:
- Use
.humanlayer/tasks/{task-slug}/pr-description.mdwhen 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.
- Use
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.
- Read
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.
FAQ
Does it create the pull request for me?
If no pull request exists for the branch, the skill says to commit task-related changes and create one.
How long is the description?
The skill keeps the reason to one sentence and the special notes to one to three bullets.
Which template does it use?
It uses a pull request description template stored with the skill.
Details
Original description by the author
Only use when the user explicitly invokes this skill by name.
repo: humanlayer/skills
Popularity
- GitHub stars
- 5.5k
- Ranking position
- #14778
- License
- MIT
- Updated
- 11/1/2026
Comments
- …
More skills from this repository
build-iterated-agentic-loop
5.5kHelps your agent turn a repeated coding task into a repo skill plus a scheduled GitHub Actions workflow that runs a coding agent, with a memory file and one open PR per loop.
design-control-loop
5.5kHelps your agent interview you and design a control loop that moves your codebase toward a goal through small, reviewable changes, then builds it as a scheduled workflow.
improve-claude-md
5.5kHelps your agent rewrite a CLAUDE.md file with conditional blocks, so important instructions are followed when they apply and the rest stays out of the way.
rpi
5.5kHelps your agent research a change, work through its design, and implement it in clear phases, with a document for each step you can review.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.