agentleFS
gerphgerph/riscos-agent-skills/skills/creating-pull-requests/SKILL.md

creating-pull-requests

Skill4 starsChanged 8 months agoMITView on GitHub

Create useful pull requests or merge requests with clear reviewer-focused descriptions. Use when opening a PR or MR, especially when the description should explain the problem, summarise the changes, and record testing in a standard structure.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈15

    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 skill when opening a pull request or merge request and the description needs to be structured for reviewers.

    line 10
  2. Distinctive:

    Write the PR title and description.

    line 18
  3. Distinctive:

    Create the PR or MR non-interactively where possible.

    line 19
  4. Distinctive:

    Use these sections in the PR or MR body:

    line 24
  5. Distinctive:

    Write for reviewers, not for commit archaeology.

    line 45
  6. Distinctive:

    If local validation was possible, say that it was run.

    line 50
  7. Distinctive:

    If CI workflows were part of the change, say that they ran and whether they passed.

    line 51
  8. Distinctive:

    If a test could not be run, say why.

    line 53
  9. Distinctive:

    Do not claim tests that were not performed.

    line 54
  10. Distinctive:

    Create the PR or MR as a draft when:

    line 58
  11. Distinctive:

    If the work is complete enough for review and the relevant checks have passed or are reasonably explained, create a normal PR.

    line 65
  12. Distinctive:

    Prefer a short, descriptive PR title that matches the reviewer-facing change, not necessarily the exact commit subject.

    line 70
  13. Distinctive:

    When the body is more than a couple of lines, prepare it in a file or heredoc rather than trying to squeeze it into a single command …

    line 72
  14. Distinctive:

    If there are uncommitted local changes unrelated to the branch being opened, be aware that some tools may warn even though the PR can still …

    line 76
  15. Distinctive:

    If the change is simple, the sections can still be brief:

    line 81

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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

Creating Pull Requests

Use this skill when opening a pull request or merge request and the description needs to be structured for reviewers.

Workflow

  1. Confirm the branch, base branch, and repository.
  2. Gather the commit summary and the actual testing that was performed.
  3. Decide whether the PR should be a draft.
  4. Write the PR title and description.
  5. Create the PR or MR non-interactively where possible.
  6. Re-read the created PR to confirm the title, body, draft state, and target.

Description structure

Use these sections in the PR or MR body:

# Summary

What problem is being solved, why the change is being made, and a short
summary of what changed.

# Changes

What was actually done. Use this when there is more than one change, when
changes are related, or when the relationship between commits would not be
obvious from the summary alone.

# Testing

What tests were performed.

Content rules

  • Write for reviewers, not for commit archaeology.
  • # Summary should explain the motivation first, then the high-level result.
  • # Changes should describe the concrete work without turning into a file-by-file changelog unless that detail is genuinely useful.
  • # Testing should list the checks that were actually run.
  • If local validation was possible, say that it was run.
  • If CI workflows were part of the change, say that they ran and whether they passed.
  • If a test could not be run, say why.
  • Do not claim tests that were not performed.

Draft PR rules

Create the PR or MR as a draft when:

  • the change is incomplete,
  • more work is expected before review is useful,
  • testing is blocked or known to be insufficient,
  • known issues remain that would waste reviewer time.

If the work is complete enough for review and the relevant checks have passed or are reasonably explained, create a normal PR.

Practical guidance

  • Prefer a short, descriptive PR title that matches the reviewer-facing change, not necessarily the exact commit subject.
  • When the body is more than a couple of lines, prepare it in a file or heredoc rather than trying to squeeze it into a single command argument.
  • Reuse exact test outcomes where they matter, such as a passed CI run URL or an explanation that a local compiler or dependency was unavailable.
  • If there are uncommitted local changes unrelated to the branch being opened, be aware that some tools may warn even though the PR can still be created.

Minimum useful PR

If the change is simple, the sections can still be brief:

# Summary

Add the missing CI workflow for the portable build and generated
documentation.

# Testing

- Ran the workflow on the branch and confirmed it passed.

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.