AGENT SKILL

PR 正文撰写

pr

撰写 PR(Pull Request)正文时使用。

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

01 前言 Front Matter

name
pr
metadata
{ "credits": { "url": "https://github.com/humanlayer/skills/blob/main/plugins/show-me/skills/show-me/SKILL.md", "skill": "show-me", "author": "Dex Horthy", "organisation": "Humanlayer" } }
description
Use when writing a PR body.

02 资源文件 1

03 SKILL.md 正文

Use this template for writing the PR body:

## Summary

<diagram, diff-sketch, or tree>

## Evidence

- **Before:** <screenshot/output/failing test run>
  **After:** <screenshot/output/passing test run>

## Merge Danger

**Door:** <one-way or two-way>

<optional: description>

**Blast Radius:** <one-word description>

<optional: potential ramifications of merge>

Sections

Skip all preambles and keep prose brief. Use the user's domain language from GLOSSARY.md, resolving the glossary artifact location with <setup-context skill dir>/resolve-location.sh glossary run with cwd in the code repo.

Summary

Pick the smallest view that makes the key point clear.

  • Show logic or an algorithm as pseudocode:
on(save)
  if content is unchanged
    return cached result
  write new content
  return fresh result
  • Show runtime control flow as a call tree:
submitForm
  createSession
    persistPrompt
    launchAgent
  navigateToSession
  • Show UI structure as a component tree, including state and module boundaries that matter:
<SessionPage> (apps/example/src/routes/session.tsx)
  useSessionEvents()
  <SessionToolbar>
    <RunSkillButton> (packages/ui)
  • Show file responsibility or a broad refactor as a shallow file tree:
src/
├── commands/       # parses user actions
├── sessions/       # owns session state
└── transport/      # sends API requests
  • Show component interaction, control flow, or data flow with Mermaid:
sequenceDiagram
    participant User
    participant UI
    participant Daemon
    User->>UI: choose command
    UI->>Daemon: send expanded prompt
    Daemon-->>UI: stream result
  • Use diff when the point is what changes and the surrounding shape already exists. Match the diff shape to the topic.

For a component change:

 <SessionPage>
   useSessionEvents()
   <SessionToolbar>
+    <RunSkillButton />
   <SessionTimeline>
+    <SkillResultCard />

For a file-layout change:

 src/
 ├── commands/
+│   └── show-me.ts       # expands the slash command
 ├── sessions/
-└── transport.ts
+└── transport/
+    ├── client.ts
+    └── stream.ts

For a call-tree or call-stack change:

 submitForm
   createSession
     persistPrompt
+    expandSkillMention
     launchAgent
-  navigateToSession
+  navigateToSession
+    subscribeToEvents

For a state or control-flow change:

 on(save)
-  write content
+  if content is unchanged
+    return cached result
+  write new content
+  invalidate cache
  • Show the whole block when most of it is new, when omitted context would hide ownership or order, or when the user needs a copyable target shape:
function expandSkill(command: string): string {
  const skillName = command.slice(1);
  return `use the ${skillName} skill`;
}

Guidance

Place each visual next to the short text it supports. Keep only the calls, files, props, states, and boundaries needed to answer the user's current question or the options to resolve the current discussion point.

You may use one of these, you may use several, it is unlikely you will use all of them. Use your judgement and don't overwhelm the user.

Evidence

Concrete evidence that the change works. Show a before and after.

Screenshots are S-tier - when the environment is set up for it and the change is visual.

Execution-based evidence is A-tier. Test results, console output. Show the exact test that now fails and passes, using pseudocode.

Merge Danger

Describe whether it's a one-way or two-way door. You can walk back through two-way doors, but not one-way doors. A PR that is cheap to roll back is lower risk. Changes that involve destructive actions or hard-to-reverse decisions are one-way doors.

The blast radius is the potential impact or scope of the changes introduced by this PR. Consider all possibilities. Examples are layout shift, breakages for consumers, mobile responsiveness, etc.

04 同仓库更多 Skills

epr3
epr3/dotfiles

智能体技能文档编写

writing-for-agents

为智能体编写文档。在创建或编辑技能(skill),或修改 AGENTS.md、CLAUDE.md 时使用。

AI 工程师智能体开发
★ 0
epr3
epr3/dotfiles

交互式 Bash 向导生成

wizard

生成交互式 bash 向导,引导人类逐步完成只有本人才能执行的步骤。适用于配置基础设施、设置凭证或 CI 密钥、熟悉陌生的第三方仪表板,或执行一次性迁移/切换。不要将其用于智能体自身即可执行的步骤。

SRE 工程师部署与发布管理
★ 0
epr3
epr3/dotfiles

大型任务决策规划

wayfinder

将大量工作(超出单个 agent 会话可承载的范围)规划为问题跟踪器上的决策工单共享地图,并逐个解决,直到通往目标的路径清晰明了。

项目经理任务规划与分解
★ 0
epr3
epr3/dotfiles

重述上一条消息

wait-what

停。上一条消息没有被理解:重新表述它。

普通用户回复风格与输出控制
★ 0
epr3
epr3/dotfiles

工单与 PR 分诊

triage

让问题和外部 PR 经过分诊角色的状态机流转,进行分类、验证,必要时深入质询,并编写可供 agent 直接使用的简报。

开源社区运营专员工单与问题跟踪管理
★ 0
epr3
epr3/dotfiles

计划拆解为工单

to-tickets

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

项目经理工单与问题跟踪管理
★ 0