Back to list
takumi12311123

prr

by takumi12311123

1🍴 0📅 Jan 19, 2026

SKILL.md


name: prr description: | Terminal-based GitHub PR review tool. Review PRs without leaving the terminal using your favorite editor.

prr - Pull Request Review Tool

Overview

prr brings mailing-list style code reviews to GitHub PRs. Write reviews in your editor, submit directly to GitHub.

Basic Commands

Get a PR for review

prr get owner/repo/PR_NUMBER

# Example
prr get takumi12311123/dotfiles/123

Edit an existing review

prr edit owner/repo/PR_NUMBER

Submit the review

prr submit owner/repo/PR_NUMBER

Check review status

prr status

Remove a review

prr remove owner/repo/PR_NUMBER

Writing Reviews

Basic Structure

After prr get, a .prr file opens in your editor. Lines starting with > are the diff. Write comments between them.

> diff --git a/src/main.rs b/src/main.rs
> @@ -1,5 +1,6 @@
> +fn hello() {

Add your comment here

> +    println!("Hello");
> +}

Review Type Directives

Add @prr directive at the top of the file:

@prr approve     # Approve the PR
@prr reject      # Request changes
@prr comment     # Comment only (default)

Single Line Comment

> +fn hello() {

Please add documentation for this function

> +    println!("Hello");
> +}

Multi-line (Spanned) Comment

Add a blank line to start the comment span:

> +fn hello() {

Comment about this entire function block

> +    println!("Hello");
> +}

Suggestion (Code Proposal)

Same format as GitHub's Suggested changes:

> +fn hello() {

```suggestion
+fn greet(name: &str) {
+    println!("Hello, {}!", name);
+}
  • println!("Hello"); +}

### Multi-line Suggestion

```diff
> +fn process() {

Please refactor this

```suggestion
+fn process() -> Result<(), Error> {
+    validate()?;
+    execute()?;
+    Ok(())
+}
  • validate();
  • execute(); +}

### Suggest Deletion

Use an empty suggestion block:

```diff
> +// TODO: remove this

This comment is unnecessary

```suggestion

+fn main() {


## Configuration

`~/.config/prr/config.toml`:

```toml
[prr]
# Token is read from GH_TOKEN environment variable
workdir = "/Users/username/.local/share/prr"

Local Configuration

Add .prr.toml in your repo to use PR number only:

[local]
repository = "owner/repo"
# Instead of owner/repo/123
prr get 123

Workflow

# 1. Get PR (opens editor)
prr get owner/repo/42

# 2. Write review
#    - Add @prr approve/reject/comment at top
#    - Add comments between diff lines
#    - Use suggestion blocks for code proposals

# 3. Save and close editor

# 4. Submit review
prr submit owner/repo/42

# 5. Edit again if needed
prr edit owner/repo/42
prr submit owner/repo/42

Tips

  • prr status shows all review states
  • prr remove deletes unwanted reviews
  • Suggestions only work on + lines (added lines)
  • Blank lines define spanned comment ranges

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon