Skip to content
Back to skills

Pull Request

ASecurity

How to write a herdr-chat pull request's text (What / Why / Visual / Verification & proof) and make its before/after clips with the test box's `box scene`. Use every time you open a PR, or write or change a PR's title or description, in this repo.

  • 33 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 29, 2026
ai-agentsgogitperformance

Works with

  • terminal
  • cli

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add ChmaraX/herdr-chat --skill pull-request --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pull Request?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pull Request
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/chmarax-pull-request/badge)](https://www.skillsdirectory.com/skills/chmarax-pull-request)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pull-request
description: How to write a herdr-chat pull request's text (What / Why / Visual / Verification & proof) and make its before/after clips with the test box's `box scene`. Use every time you open a PR, or write or change a PR's title or description, in this repo.
---

# Pull requests in herdr-chat

The title: Conventional Commits (`fix(area): …`, `feat(area): …`), under 72 characters, plain words. CI checks it,
and the changelog and the version come from it.

## The text

Use these sections, and only these. Keep it under about 400 words, not counting the diagram. The diff has the details.

For a PR that fixes an issue, the first line, without a heading: `Fixes #<issue>.`

### What

Describe in a few short sentences what changes, not how the code does it. Make it easy to read and understand.
Write in ASD-STE100 Simplified Technical English.

### Why

Explain why this change was made and why it's beneficial. Try to explain it with an actual user example: before, the
user did this and got this error; now the user does this and gets this, and that's good because...
Or, before the chat took 2s to open, now it takes 300ms, which makes the user interaction faster.

### Visual

Try to add one visual artifact, whichever suits the change best:

- a Mermaid diagram (state, flow, hierarchy, whatever fits best);
- a benchmark chart (`benchmark-chart` skill) if the change is about a difference in size, performance and so on;
- a screenshot if it relates to the product's UI.
- anything else that would be absolutely useful and beneficial in that specific case

### Verification & proof

Always try to verify the change at runtime, on the most faithful reproduction there is: the test box, the real
Herdr app built from the change.

The output is a before/after artifact: a screenshot if the change is simple, otherwise a video. What matters is to
show how it behaves from the actual user's point of view, so anyone watching sees the exact problem before and the
result after. Write one line above each image or video saying what to look at.

Never attach a video that only shows a terminal running scripts. If the change has no runtime effect (a refactor,
types, CI), say how it was checked.

- One artifact: a video, or a before/after table or image, not several. List tests one line each, with no commands.
- One-off scripts and pages made for the proof aren't part of the PR.
- Never show a password, sign-in link or secret key in the description, a screenshot or a video. PR attachments are
  public.

## Making the before/after

One scene, run twice with `box scene` (`tests/box/README.md`, "The scene"): on `main` it must fail on the bug's
`FAIL` line, on your branch it must pass. Write the scene outside the worktree (it's proof, not part of the PR),
with `setup`, `play`, `check` and `crop`; `tests/box/scenes/model-picker.sh` is the example.

```sh
git worktree add --detach ../hc-main origin/main && (cd ../hc-main && npm ci --ignore-scripts)
tests/box/box up pr-main ../hc-main
tests/box/box scene pr-main ~/scenes/my-fix.sh --run before    # scene: …/pr-main/before (exit 1)
tests/box/box up pr-mine .
tests/box/box scene pr-mine ~/scenes/my-fix.sh --run after     # scene: …/pr-mine/after (exit 0)
tests/box/box down pr-main; tests/box/box down pr-mine
```

Look at both clips (`<dir>/box/clip.mp4`, or the frames in `<dir>/box/frames/`) before you attach them: the bug
must show in the first and be gone in the second. Then attach the two clips, each with its alt text, and put
them in the body under "Verification & proof" (`gh` rewrites the local paths to the uploaded URLs):

```sh
cp ~/.cache/herdr-chat-box/pr-main/before/box/clip.mp4 ./before.mp4
cp ~/.cache/herdr-chat-box/pr-mine/after/box/clip.mp4 ./after.mp4
gh pr create --title "fix(chat): …" --body-file body.md \
  --attach './before.mp4#Before: …' --attach './after.mp4#After: …'
# (an open PR: gh pr edit --body-file body.md --attach …)
```

If some uploads fail, `gh` exits non-zero but keeps the ones that worked: attach the missing ones again.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.