
Visual PR
Skill为当前任务创建或更新 PR 描述:读完整个 diff,用一句话写清改动原因,最多列三条注意事项,再用文件树、组件树、调用树、数据结构等 diff 风格的结构图概括实现,通过 gh 写回 PR。只在用户点名调用时使用,需要 GitHub CLI。
name: visual-pr
description: Only use when the user explicitly invokes this skill by name.
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.
相關資源

gh-stack
Skill用 GitHub CLI 扩展 gh stack 管理堆叠式分支与相互依赖的 PR:把多部分工作拆成按依赖排列的分支层,每层一个 PR,并处理创建、推送、提交、同步、变基与合并;说明在非交互环境下必须带上的参数,避免命令卡在交互界面。GitHub 官方技能,需要安装该扩展。
github/gh-stack1.7k
GitHub CLI
CLIGitHub 官方命令行:在终端里管理 PR、Issue、Release 与 Actions 工作流,多数命令支持 --json 输出便于 agent 解析,并提供官方 agent skill。需先 gh auth login 登录。
cli/cli46.7k
GitHub
Plugin接入 GitHub 官方远程 MCP 服务器,在 Claude Code 里管理 Issue 与 PR、评审代码、搜索仓库并调用 GitHub API;需要配置 GITHUB_PERSONAL_ACCESS_TOKEN。
anthropics/claude-plugins-official40.3k
GitHub MCP Server
MCPGitHub 官方 MCP 服务器:让 agent 读写仓库与代码,管理 Issue 和 PR,查看 Actions 工作流与代码扫描告警。可接托管远程服务或用 Docker 本地运行,需个人访问令牌或 OAuth 授权。
github/github-mcp-server33.7k
Greptile
PluginGreptile 官方 AI 代码评审插件:查看并处理 GitHub / GitLab PR 的评审意见,提 PR 前评审当前分支,检索团队知识库与编码规范。需 Greptile 账号(OAuth 登录,有免费档),本机需有 Node。
greptileai/claude-plugin0
Differential Review
SkillTrail of Bits 出品,从安全视角审查 PR、提交或 diff:结合 git blame 追溯历史、按调用方数量估算改动影响范围、检查测试覆盖缺口,输出 Markdown 审查报告。
trailofbits/skills7.6k