agentleFS
dawiddiwaddawiddiwad/checkmate/.agents/skills/pull-request/SKILL.md

pull-request

Skill4 starsChanged 5 days agoMITView on GitHub

Write the title and description of a Checkmate pull request. Use for every pull request, and when you update the description of one.

  • Commits and pushes

70 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use issue-campaign, contracts and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • samchonSkill

    issue-campaign

    Defines the default solo repository-wide issue campaign for typia: exhaustive discovery, lead-vetted issue publication, one unified CI-validated implementation pull request per cycle, solo Self-Review, and repeated rediscovery until a full clean round. Use for broad audits, many issue candidates, or repeated issue-to-pull-request campaigns unless the user explicitly requests parallel or multi-agent execution; do not use for one already-defined issue or an ordinary pull request.

    Also in 3 projects that use this

  • AnthropicSkill

    contracts

    Answer a question across a corpus of contract documents with verified citations. Use when the user asks what a contract says, which contracts have a clause, what changed between amendments, or any question that needs reading and citing across a set of contract files. The corpus must be on the local filesystem (see README).

    Also in 3 projects that use this

  • mfang0126Skill

    development

    Full-stack development workflow skill. Guides the complete cycle from understanding requirements to shipping code via PR with Preview validation.

    Also in 3 projects that use this

  • MicrosoftSkill

    version-bump

    Performs a version bump for roosterjs. Merges changes from master into release, determines the correct SemVer version bump based on public interface changes, and creates a draft PR. Use when asked to do a version bump, release prep, or bump versions.

    Also in 3 projects that use this

  • VercelSkill

    gh-stack

    Manages stacked PRs and splits multi-part work into reviewable branches with gh-stack. Use for stack creation, viewing, edits, push, submit, sync, rebase, merge, or checkout; when asked to split or isolate work for review; whenever a user mentions a stack, branch layers, dependent PRs, or gh stack; or when a stack is checked out.

    Also in 4 projects that use this

  • GitHubSkill

    conventional-commit

    Prompt and workflow for generating conventional commit messages using a structured XML format. Guides users to create standardized, descriptive commit messages in line with the Conventional Commits specification, including instructions, examples, and validation.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 5 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 61 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use one or two visuals. Do not add a diagram that repeats the text.

    line 23
  2. Distinctive:

    Keep noisy details in the commits: file lists, refactors, step-by-step history, and test names.

    line 24
  3. Distinctive:

    Add screenshots for a UI change: before and after.

    line 25
  4. Very specific:

    Write short sentences. Use Checkmate words: target, instance, plan, revision, run, test, assertion, finding, gap, oracle, recipe, tester.

    line 26
  5. Very specific:

    Use the three sections of .github/pull_request_template.md, in that order.

    line 31
  6. Very specific:

    Use diff when the shape already exists and the point is what changes.

    line 37
  7. Distinctive:

    Use another form only when a diff does not fit:

    line 55
  8. Distinctive:

    If the description is longer, move details to the commits.

    line 82
  9. Very specific:

    Write the body to a file and pass it with gh pr create --body-file <file> or gh pr edit --body-file <file>.

    line 86

“Common” is measured: kept by at least 6 in 10 of the 61 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Agent only: This file contains repository or workflow instructions for coding agents.

Rules

  • Make the description brief and easy to read. A reviewer reads it in two minutes.
  • Show what changed as a diff sketch when you can. A diff is the preferred visual.
  • Use one or two visuals. Do not add a diagram that repeats the text.
  • Keep noisy details in the commits: file lists, refactors, step-by-step history, and test names. The description does not repeat the commit log.
  • Add screenshots for a UI change: before and after.
  • Write short sentences. Use Checkmate words: target, instance, plan, revision, run, test, assertion, finding, gap, oracle, recipe, tester. Skip the preamble.
  • Open one pull request for each finished piece of work. Open one pull request to main for each release.

Body

Use the three sections of .github/pull_request_template.md, in that order.

Summary

Give the change in one sentence, then the smallest visual that makes the point. Put each visual next to the sentence that it supports. Keep only the calls, files, states, and boundaries that the reviewer needs.

Use diff when the shape already exists and the point is what changes. Match the diff to the topic:

 record_check
   compare the observation with the expected value
+  compare the observation with the attached text
+  disagree → inconclusive, with the reason
   store the verdict
 plugin/skills/
-└── test/SKILL.md                     # edited by hand
+└── test/SKILL.md                     # generated, do not edit
 scripts/templates/
+└── plugin/skills/test/SKILL.md       # edit here

Use another form only when a diff does not fit:

  • Pseudocode for logic or a rule.
  • A call tree for runtime control flow.
  • A component tree for UI structure, with the state and module boundaries that matter.
  • A shallow file tree for a change in file responsibility.
  • Mermaid for interaction between processes, for example host, CLI, and testers.
  • The whole block when most of it is new, or when the order or ownership is the point.

Evidence

Show before and after for each claim. A screenshot is the best evidence for a visual change. A command result or a test that failed and now passes is next. Give the build or commit, the host, and the model when a live run is the evidence. Say which checks you did not run.

Merge Danger

Door: one-way when a merge cannot be undone with a revert, for example a stored shape that old versions cannot read. Otherwise two-way.

Blast Radius: one word, for example docs, assertions, workspace, or wide. Then list the known risks and open problems, one line each.

Size

Pull requestDescription, without screenshots
One fix or one small change100–250 words (see #95)
One featureup to 400 words
A release to mainup to 600 words (see #93)

If the description is longer, move details to the commits.

Repository facts

  • Write the body to a file and pass it with gh pr create --body-file <file> or gh pr edit --body-file <file>. Do not pass a long body in a shell argument.
  • Upload a screenshot in the GitHub web editor of the description or of a comment, and copy its https://github.com/user-attachments/assets/... link. gh cannot upload images. Put more than two screenshots in a <details> table. node scripts/ui-screenshots.ts <folder> captures the review UI with sample records.
  • A merge to main publishes an npm and GitHub release, unless the pull request has the skip-release label (release-source in .github/workflows/ci.yml). Add the label only when the merge does not change Checkmate: for example developer guidance, CI, or repository docs that do not ship. Say so in Merge Danger.
  • End the description with the attribution line that your host gives.

Before you post

  • The Summary has a diff sketch, or a reason for another visual.
  • Each Evidence item has a before and an after, and names unrun checks.
  • Door and Blast Radius are filled.
  • The length is in the size table.
  • A UI change has screenshots.
  • No file lists or commit history in the description.
  • The skip-release label is set only when Checkmate does not change.

Credits: adapted from pr by Matt Pocock (MIT, © 2026 Matt Pocock) and show-me by Dex Horthy (Apache-2.0, © 2025-2026 QueryTale, Inc. d/b/a HumanLayer). Changed: merged into one skill, rewritten for Checkmate, and the examples replaced.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.