agentleFS
ankitgoyalioankitgoyalio/skills/skills/write/pull-request-message/SKILL.md

pull-request-message

Skill1 starsChanged 2 months agoMITView on GitHub

Draft or revise PR and MR bodies with a visual summary, concrete evidence, and merge risk. Use when the user asks for a pull request or merge request message, description, summary, or template content.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this structure for the PR or MR body:

    line 8
  2. Distinctive:

    Ask a focused question only when missing context would make the description misleading.

    line 35
  3. Distinctive:

    Prefer before/after screenshots for visible changes and executed tests or output for behavior.

    line 50
  4. Distinctive:

    Never invent screenshots, test execution, or results.

    line 52

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “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

Pull Request Message

Use this structure for the PR or MR body:

## Summary

<compact visual and a brief explanation of the change>

## Evidence

- **Before:** <observed behavior or available baseline>
  **After:** <verified result>

## Merge Danger

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

<reason and practical rollback constraints, if needed>

**Blast Radius:** <short scope label>

<affected users or systems and concrete failure modes, if needed>

Gather the change

Use the user's intent, issue context, and supplied diff as evidence. In a Git worktree, inspect the repository template and compare the complete branch against its intended base. Distinguish committed changes from uncommitted work that would not be included. Cover every material change without a file-by-file inventory.

Ask a focused question only when missing context would make the description misleading. Drafting a body does not authorize creating, updating, or merging a PR or MR.

Summary

Choose a compact representation suited to the change:

  • Pseudocode for algorithms; call trees for execution order.
  • Component trees for UI ownership and state; shallow file trees for responsibility changes.
  • Mermaid for interactions or data flow; a diff sketch for an existing structure's changes.
  • A complete code block when the new shape needs surrounding context.

Lead the explanation with the concrete problem and resulting behavior. Include the triggering case when it makes the change clear, and place the visual beside the explanation. Use repository terminology, including GLOSSARY.md when available.

Evidence

Prefer before/after screenshots for visible changes and executed tests or output for behavior. Identify the check and its outcome.

Never invent screenshots, test execution, or results. Label illustrative pseudocode as illustrative. If a baseline or verification is unavailable, say so; do not present an expected result as observed evidence.

Merge Danger

Classify reversibility: two-way means a practical rollback exists; one-way means effects cannot readily be undone. Note data loss or migration constraints where relevant.

Trace affected consumers and contracts beyond the changed lines, such as callers, stored data, public interfaces, or published skill invocation. Name the failure that matters and the fact that prevents it. Cite the check or artifact supporting that fact; mark it unverified when evidence is missing. Keep cleared risks distinct from remaining risks.

Deliver

Return ready-to-paste Markdown without preamble. Honor repository-required template fields; otherwise use the structure above. Provide a title only when requested.

Finish when every material change is represented, each outcome and safety claim has evidence or an explicit limitation, and the body describes the branch that would actually be submitted.

Adapted from Matt Pocock's PR skill, which credits Dex Horthy's show-me skill.

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.