visual-pr
Only use when the user explicitly invokes this skill by name. Writes a concise visual PR/MR description for reviewers to a local file; a human publishes it.
- License 许可
- MIT
- 最近更新
- 2026-11-09
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- visual-pr
- description
- Only use when the user explicitly invokes this skill by name. Writes a concise visual PR/MR description for reviewers to a local file; a human publishes it.
- disable-model-invocation
- true
02 资源文件 3
- 许可证LICENSE-humanlayer.txt1.0 KB
- 参考文档references/pr_description_template.md1.9 KB
- 参考文档references/show-me.md3.0 KB
03 SKILL.md 正文
<!-- Lab adaptation of humanlayer/skills plugins/visual-pr @653b641 (MIT, see LICENSE-humanlayer.txt). Changes for this lab: no gh, no commit/push/PR creation by the agent, works for GitHub (PR) and GitLab (MR), output to docs/pr/ instead of .humanlayer/tasks/, no cloud permalink. The template and show-me references are verbatim. -->
Describe a pull request / merge request (lab version)
Write a concise description that helps a reviewer understand why the change exists and the shape of the implementation. You only write the file. A named human publishes it after the approval gate.
Workflow
- Read the description template:
Read({SKILLBASE}/references/pr_description_template.md). - Gather only the context needed, locally:
git status --short --branch,git log main..HEAD --oneline,git diff main...HEAD.- The diagnosis (the console incident detail, or
docs/diagnosis-live.md), the lesson it cites, andREVIEW.md. - Read
{SKILLBASE}/references/show-me.mdfor the visual-outline conventions. Do not callgh,glabor any network tool.
- Write the description using the template:
- Why the change: exactly one sentence.
- Special things to note: 1–3 bullets. Always include the approval status from
approvals/approvals.jsonl(approved by <name>, or "awaiting named approval") and the eval result. - Change outline: a compact
/show-me-style view (for a config fix: adiffblock ofconfig/prod.envplus a call/flow sketch of why it fixes the incident). Omit views that did not change. - Header links: the incident id and diagnosis file, if present.
- Save to
docs/pr/<branch-with-slashes-replaced-by-dashes>.md. Do not commit, push, or open a PR/MR. - Report: the saved path, a 2-sentence summary, and the exact commands the human runs after approval:
- GitHub (PR):
gh pr create --title "<title>" --body-file docs/pr/<file>.md(existing PR:gh pr edit <number> --body-file docs/pr/<file>.md) - GitLab (MR), bash:
glab mr create --title "<title>" --description "$(cat docs/pr/<file>.md)"; PowerShell:glab mr create --title "<title>" --description (Get-Content -Raw docs/pr/<file>.md)
- GitHub (PR):
Write as one human talking to another: avoid jargon and slang, and use simple, coherent, concise language.
04 同仓库更多 Skills
show-me
Help the user understand the current topic visually with concise diagrams, code-shape sketches, and focused HTML artifacts.
design-control-loop
Only use when the user explicitly invokes this skill by name. Interviews the user to design the agent as a control loop (set point, sensor, controller, actuator, disturbances/dampener) and maps the answers onto intent.md. Design only; builds nothing.