Skip to main content
skill CX Codex

groove-groovebook-review — Claude Code skill: setup and PR reviews

Finds open learning pull requests in a configured groovebook repository, displays their diffs, and submits reviews through GitHub CLI.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add andreadellacorte/groove --skill groove-groovebook-review -a claude-code
Open on GitHub

What groove-groovebook-review does

The skill inspects learning pull requests in a shared groovebook repository. Before fetching PRs, it reads the target repository path from groovebook: in .groove/index.md and verifies GitHub credentials using gh auth status. If either check fails, execution halts immediately with guidance to fix the configuration.

Next, it runs gh pr list to show all open learning PRs with their numbers, titles, authors, and creation dates. You pick a number from the list. The tool then fetches the PR body and code changes. When a diff exceeds 200 lines, it outputs only the first 50 lines to keep the output readable.

Finally, the skill prompts for your reaction: approve, comment, or request changes. Approvals require an explicit confirmation step before submitting via gh pr review. The entire process remains strictly read-only until the review is submitted, leaving your local project files untouched.

What it helps with

  • list open learning PRs in the configured groovebook repository
  • inspect PR descriptions and code diffs directly from the terminal
  • submit approvals, comments, or change requests with gh pr review
  • keep large diffs readable by trimming outputs over 200 lines

Example prompts for the agent

  • Check open PRs in the groovebook repo and list them
  • Review open learning pull requests in groovebook
  • Inspect the latest groovebook PR and submit my review

How to install groove-groovebook-review

1Skills CLI (Vercel)

npx skills add andreadellacorte/groove --skill groove-groovebook-review -a claude-code

2Manually: put the files in place

~/.claude/skills/groove-groovebook-review/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/groove-groovebook-review/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about groove-groovebook-review

How do I install groove-groovebook-review in Claude Code?

Run npx skills add andreadellacorte/groove --skill groove-groovebook-review -a claude-code. The skill file will be placed at ~/.claude/skills/groove-groovebook-review/SKILL.md.

What does the groove-groovebook-review skill do?

It lists open pull requests in your configured groovebook repository, shows their contents and diffs, and submits reviews through the GitHub CLI.

What configuration is required before using the skill?

You need active GitHub CLI credentials via gh auth login and a valid repository defined under groovebook: <owner>/<repo> in .groove/index.md.

Source text

SKILL.md · MIT
---
name: groove-groovebook-review
description: "Browse and review open learning PRs in the configured groovebook repo. Use to participate in the shared groove commons."
license: MIT
allowed-tools: Read Bash(gh:*) AskUserQuestion
metadata:
  author: andreadellacorte
---

# groove-groovebook-review

## Outcome

Open learning PRs in the groovebook repo are listed; the user reviews one and submits a reaction (approve, comment, or request changes).

## Acceptance Criteria

- Open PRs are listed with title, author, and date
- User selects a PR to review; diff and body are shown
- User submits a reaction via `gh pr review`

## Steps

1. Read `groovebook:` from `.groove/index.md`; if absent, exit with:
   `groovebook is not configured. Add 'groovebook: <owner>/<repo>' to .groove/index.md to enable.`

2. Check `gh auth status`; if not authenticated, exit with:
   `Not authenticated with GitHub. Run: gh auth login`

3. List open PRs:
   ```
   gh pr list --repo <groovebook> --state open --json number,title,author,createdAt
   ```
   - If none open: print "No open learning PRs in <groovebook>." and exit
   - Display as a numbered list: `N. #<number> — <title> (by <author>, <date>)`

4. Ask: "Which PR would you like to review? (enter number or PR #)"

5. Show the PR:
   - `gh pr view <number> --repo <groovebook>` — show body
   - `gh pr diff <number> --repo <groovebook>` — show diff

6. Ask: "Your reaction? (approve / comment / request-changes)"
   - If `comment`: ask for the comment text
   - If `request-changes`: ask for the request text
   - If `approve`: confirm intent

7. Submit:
   ```
   gh pr review <number> --repo <groovebook> --<approve|comment|request-changes> --body "<text>"
   ```
   For approve: `gh pr review <number> --repo <groovebook> --approve`

8. Confirm submission and print the PR URL.

9. Optional follow-up: ask "Does this learning suggest a change to a groove skill? If so, consider opening a companion PR to the groove repo referencing this groovebook PR."

## Constraints

- Read-only until step 7 — do not modify any local files
- If `gh pr diff` output is very large (>200 lines), show only the first 50 lines and note it's truncated
- The `approve` reaction should always ask for confirmation before submitting — approvals are harder to undo than comments

© andreadellacorte · MIT · andreadellacorte/groove

Similar skills

All skills for Git and GitHub →

From the same set39

groove-utilities-memory-mistakes This skill turns an agent mistake into a tracked incident, fixes its cause, and records the lesson in project memory. Use it to stop repeat errors. CX Codex +1 529installs groove-admin-update Pulls the latest groove skills and applies pending migrations to your local groove state. Useful when a new release lands but your config and memory are still on the old one. CX Codex +1 528installs groove-work-doc Creates a reference document explaining how a codebase component or concept works. Use it when future agents or contributors need concrete project context. CX Codex +1 518installs groove-admin-cursor-hooks Registers groove's native Cursor hooks in .cursor/hooks.json: context re-priming after compaction, end-of-day reminders, a git commit buffer and managed-path protection. CX Codex +1 518installs groove-utilities-memory-graduate Promotes a stable workflow insight from .groove/memory/learned/ into AGENTS.md, so the rule applies to every future session without running prime. CX Codex +1 510installs groove-groovebook-publish This skill sends a workflow learning from your project to the shared groovebook repo as a pull request. Handy after groove-work-compound, when a finding deserves a wider audience. CX Codex +1 506installs groove-utilities-onboard Writes a GROOVE.md at the project root so a new contributor knows which commands to run and where logs live. Handy when someone joins a groove project. CX Codex +1 505installs groove-admin-claude-statusline Installs a single-line statusline in Claude showing model, git context, token usage and rate limits. Useful when you want session state visible at a glance. CX Codex +1 501installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor