New advertisers: 50% off your first month with code FIRSTMONTHSee slots
reviewstage avatar

Stage Chapters

Generate and review Stage chapters for the current git branch, opening them in a browser via stagereview.

skills.sh installs
383
GitHub stars
277
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers the full review run: computes the diff with stagereview prep, generates chapters and a prologue, then launches the SPA with stagereview show
  • Supports diff scopes via --base, --compare, and --ref (work, staged, unstaged), plus GitHub PR review with --pr
  • Enforces hunk coverage: every diff hunk must appear in exactly one chapter, or show rejects the output
  • Designed for reviewing local branch changes or a teammate's pull request before merging

Install

$ npx -y skills add reviewstage/stage-cli --skill stage-chapters -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

stage-chapters

Generates a Stage chapter run for the current local git branch and opens it in a browser. Uses stagereview prep to compute the diff, then generates chapters and a prologue, and hands the result to stagereview show to launch the SPA.

Prerequisites

Run these checks before any other work. If either fails, stop with the error message — do not continue.

  1. stagereview is installed. Run which stagereview. If it exits non-zero, instruct the user:

    stagereview is not installed. Run:
    
        npm install -g stagereview
    
    Then retry /stage-chapters.
    

    Stop.

  2. The current directory is a git repo. Run git rev-parse --is-inside-work-tree. If it does not print true, stop with:

    /stage-chapters must be run inside a git repository.
    

Step 1 — Run prep

PREP_FILE=$(stagereview prep)

Details

Repository
github.com/reviewstage/stage-cli
Categories
Code Review & Quality, Git & Releases
First seen
Jun 3, 2026

Similar to Stage Chapters

More Code Review & Quality