Skip to content

Slash command

PR writer

Drafts a pull request description from the branch diff, written for the person who has to review it.

About

Drafts a pull request description from the branch diff, written for the person who has to review it.

Files in v1.0.0

  • replicamd.plugin.json1398 B

Contributes

{
  "commands": [
    {
      "id": "draft",
      "title": "Draft the pull request",
      "prompt": "Run `git log --oneline origin/HEAD..HEAD` and `git diff origin/HEAD...HEAD --stat`, then read the diff itself. Draft a PR description with: a one-paragraph summary of what changes for a user of this code; a short list of the notable decisions and why; what you tested and what you did not; and anything the reviewer should look at first. Do not list the files - the diff already does. If the branch contains unrelated work, say so at the top."
    },
    {
      "id": "self-review",
      "title": "Review my own branch first",
      "prompt": "Read `git diff origin/HEAD...HEAD` as if you were the reviewer and I were a stranger. Find the three things most likely to get comments: a leftover debug line, an unhandled error path, a name that will confuse the next reader, a test that does not test what it claims. Be specific with file and line. If the branch is clean, say so plainly rather than inventing nits."
    }
  ]
}

Versions

  • v1.0.07/26/2026 · 1 files

Install

Install in ReplicaMD

Nothing happened? ReplicaMD may not be installed yet - or open it first, then Settings → Plugins and install by id.

Plugin id:

pr-writer

Bundle endpoint:

https://replicamd.nl/api/registry/plugins/pr-writer/download
Author
Ardjun Debi - Tewarie @ardjun
Latest
v1.0.0
License
MIT
Installs
0
gitreviewgithub