AGENT SKILL

可视化PR处理

visual-pr

仅当用户明确按名称调用此技能时使用。

License 许可
MIT
所属仓库
feniix/dotfiles
最近更新
2026-11-09
Stars
★ 8
Forks
0

01 前言 Front Matter

name
visual-pr
description
Only use when the user explicitly invokes this skill by name.

02 资源文件 4

03 SKILL.md 正文

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.

04 同仓库更多 Skills

feniix
feniix/dotfiles

security-audit

Security guidance and vulnerability review for codebases, APIs, services, CLI tools, libraries, and daemons. Use for security questions, focused reviews, vulnerability research, security audits, or pen tests. Run the complete workflow only for explicit codebase audit or pen-test requests, full/comprehensive/end-to-end reviews, or requested report artifacts.

★ 8
feniix
feniix/dotfiles

文章素材成形

writing-shape

写作利用阶段:将原始素材逐段塑造成完整文章。

内容创作者创意写作与内容编排
★ 8
feniix
feniix/dotfiles

Playwright Web 应用测试

webapp-testing

使用 Playwright 与本地 Web 应用进行交互和测试的工具包。支持验证前端功能、调试 UI 行为、捕获浏览器截图以及查看浏览器日志。

测试工程师测试与质量保障
★ 8
feniix
feniix/dotfiles

大任务决策路线图规划

wayfinder

将庞大的工作量(超过单个 agent 会话所能承载的范围)规划为问题跟踪器(issue tracker)上共享的决策工单地图,并逐一解决这些工单,直到通往目标的路径清晰为止。

项目经理任务规划与分解
★ 8
feniix
feniix/dotfiles

计划转工单

to-tickets

将计划、规格说明或当前对话分解为一系列小型试探性工单,每个工单声明其阻塞依赖关系,并发布到配置的跟踪器(本地环境下在每个工单对应文件中以文本形式记录依赖边,在真实跟踪器上则使用原生阻塞链接)。

项目经理任务规划与分解
★ 8
feniix
feniix/dotfiles

测试驱动开发(TDD)

tdd

测试驱动开发。当用户想要以测试优先的方式构建功能或修复缺陷、提到“红-绿-重构”,或需要集成测试时使用。

软件开发工程师测试与质量保障
★ 8