agentleFS
Jonathan0823Jonathan0823/opencode-config/skills/pr-writing/SKILL.md

pr-writing

Skill8 starsChanged 10 months agoMITView on GitHub

Write concise, review-ready pull requests with clear scope, testing, and reviewer guidance

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 7

    Distinctive

    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:

    Keep PRs small, focused, and easy to merge.

    line 16
  2. Distinctive:

    Ensure communication includes context, testing, and reviewer focus areas.

    line 17
  3. Distinctive:

    Avoid bundling unrelated changes.

    line 29
  4. Distinctive:

    Follow project lint/style rules.

    line 33
  5. Distinctive:

    Remove dead code and noisy changes.

    line 35
  6. Distinctive:

    Call out known gaps or deferred tests.

    line 40
  7. Distinctive:

    Use this skill when opening a pull request or when improving an existing PR description for faster, higher-quality review.

    line 96

“Common” is measured: kept by at least 6 in 10 of the 3 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

PR Writing Skill

What I do

  • Produce clean, review-ready pull request summaries.
  • Keep PRs small, focused, and easy to merge.
  • Ensure communication includes context, testing, and reviewer focus areas.
  • Provide reusable templates for consistent PR quality.

Workflow

1) Communicate early

  • Link the related issue (or state why none exists).
  • Announce ownership when starting work.
  • Clarify scope before implementation.

2) Keep scope small

  • Fix one problem per PR.
  • Avoid bundling unrelated changes.
  • Split larger work into logical commits.

3) Keep changes clean

  • Follow project lint/style rules.
  • Preserve existing architecture and patterns.
  • Remove dead code and noisy changes.

4) Test before opening

  • State what you tested (manual + automated).
  • Mention environments used.
  • Call out known gaps or deferred tests.

5) Write the summary for reviewers

Include:

  • Related issue/context
  • What changed and why
  • How it was tested
  • What reviewers should focus on
  • Notes/risks/migrations (if any)

PR Body Template

## Related issue
- Closes #<issue-number>

## Summary
- <change 1>
- <change 2>
- <change 3>

## Scope
- In scope: <items>
- Out of scope: <items>

## Testing
- [ ] Unit tests
- [ ] Integration tests
- [ ] Manual verification

### Test details
- Commands run:
  - `<command>`
- Results:
  - `<result>`

## Reviewer focus
- Please review: <critical files/logic>
- Risk areas: <edge cases>

## Notes
- Migrations/config changes: <none | details>
- Follow-ups: <optional>

Quick Quality Checklist

  • Single clear purpose
  • Minimal diff / no unrelated edits
  • Clear commit history
  • Tests described and reproducible
  • Reviewer guidance included
  • Backward compatibility considered

When to use me

Use this skill when opening a pull request or when improving an existing PR description for faster, higher-quality review.

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.