Skip to content
cccskills
FreePublished on GitHub

pair-review

Interactive pair review of a PR. Fetches the diff, scouts for context, then walks through each changed file one at a time. Collects review comments in a bag with conventional comment prefixes, previews them, and posts only after explicit approval. Trigger on: pair review, let's review together, walk me through the PR, review with me.

The English summary is being prepared. Showing the original description.

Works withGitHub
See how to install

Files included (1)

  • SKILL.md3.3 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Pair Review

Interactive file-by-file PR review with a comment bag and preview-before-post.

Parsing arguments

The user provides a PR reference. Parse it:

  • PR number: 123 -> gh pr diff 123, gh pr view 123
  • PR URL: https://github.com/org/repo/pull/123 -> extract number
  • No argument: ask the user for the PR number or URL

Phase 1: Gather context

  1. Fetch PR metadata: gh pr view <number> --json title,body,headRefName,baseRefName,files
  2. Fetch PR diff: gh pr diff <number>
  3. Scout the codebase: read the changed files in full. Focus on:
    • What the changed code does and why
    • Related modules, GenServers, Store operations that the changes touch
    • Overmind patterns the PR should follow (multi-clause, maybe_x, Store isolation)
    • Shell conventions (POSIX, quoting, sourced helpers)
    • Potential concerns (OTP safety, error handling, naming, tests)
  4. Present overview: show PR title, description, file list (numbered), and a brief summary. Then say: "Ready for file-by-file walkthrough. Say 'next' or pick a file number."

Phase 2: File-by-file walkthrough

For each file, present:

  • File path and whether it's new, modified, or deleted
  • The changes (summarize the diff, show key code snippets)
  • Insights: what the change does, why it makes sense (or doesn't)
  • Motivations: how it fits the broader PR goal
  • Concerns: anything worth flagging

Then wait for the user's command. The user may:

  • Say "next" to move to the next file
  • Ask questions about the current file
  • Ask to add a comment to the bag
  • Skip files or jump to a specific file number

Phase 3: Comment bag

Maintain a running table of comments. Comments target specific lines:

| # | File:Line | Comment |
|---|-----------|---------|
| 1 | lib/overmind/mission.ex:14 | **question:** Is this needed? |
| 2 | bin/cli/commands.sh:97 | **suggestion:** Consider using printf here |

The user controls what goes in the bag. Never add comments without the user saying so.

Conventional comment prefixes

Always use one of these (the user specifies which):

  • question: — asking for clarification
  • suggestion: — proposing an alternative
  • issue: — something that needs to change
  • nit: — minor, take it or leave it
  • thought: — sharing context, no action needed
  • praise: — highlighting something well done

Phase 4: Preview and post

After all files are reviewed (or the user says "done"), show the final comment bag and ask:

"Here are the comments ready to post. Want me to post them, edit any, or discard?"

NEVER post comments without explicit approval.

When posting, use gh api to create PR review comments on the correct file and line, using the head commit SHA.

Communication style

  • Direct, human. No filler, no fluff
  • Collaborative tone: "wdyt about...", "consider..."
  • When something is clearly wrong, say it directly: "this will break when X is nil"
  • Keep insights short. The user can read the code

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

bugfix

Free

Bug hunter. Reproduces bugs with failing tests (RED), then fixes with TDD. Accepts a prompt, issue URL, or bug description. Use when: bugfix, fix bug, debug, broken, regression, failing, doesn't work, fix this.

The English summary is being prepared. Showing the original description.

leandronsp/overmind12Updated Apr 13, 2026

commit

Free

Create a git commit following project conventions. Use when: commit, commit this, make a commit, commit changes, git commit, save changes, commit my work, stage and commit, detailed commit.

The English summary is being prepared. Showing the original description.

leandronsp/overmind12Updated Apr 13, 2026

debug

Free

Elixir debugging workflow and tools. Use when: debug, debugging, pry, inspect, trace, why is this failing, what's wrong, investigate, diagnose.

The English summary is being prepared. Showing the original description.

leandronsp/overmind12Updated Apr 13, 2026

dev

Free

Implementer - fetches a GitHub issue, builds an implementation plan, then implements using TDD. Use when: implement, build this, code this, add this feature, TDD, test first, red green refactor, pick a task, next task, dev.

The English summary is being prepared. Showing the original description.

leandronsp/overmind12Updated Apr 13, 2026

learn

Free

Extract learnings from the current session and update memory/config. Use when: learn from this, what did we learn, update memory, session retrospective, extract patterns, save learnings.

The English summary is being prepared. Showing the original description.

leandronsp/overmind12Updated Apr 13, 2026

Orchestrator - spawns an autonomous orchestrator agent that decomposes a task into subtasks and drives multiple Claude agents to completion. Use when: overmind, orchestrate, multi-agent, delegate, spawn agents, break down task, run agents.

The English summary is being prepared. Showing the original description.

leandronsp/overmind12Updated Apr 13, 2026

See all skills by leandronsp

Report a problem with this skill