reviewstage avatar

Stage Chapters

Turns your git branch into a narrative code review by clustering related hunks across files into coherent chapters, each with a summary and flagged judgment calls. It wraps stagereview's prep and show commands, generating a structured story from your diff that opens in a browser SPA. The clustering logic is smart about grouping moves and refactors together rather than splitting them into separate deletions and additions, and it enforces that every hunk appears exactly once. Most useful when you want a reviewer to understand the why and flow of a feature branch, not just see a flat diff. The chapter ordering puts foundation changes first, then core logic, then integration.

skills.sh installs
381
GitHub stars
277
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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)

Sponsors

Details

Repository
github.com/reviewstage/stage-cli
Categories
Git & Pull Requests, Code Review & Quality, Automation & Workflows, CLI & Terminal
First seen
Jun 3, 2026
1galaxy-dawn avatarverification-loopgalaxy-dawn/claude-scholarThis skill should be used when the user asks to "verify code", "run verification", "check quality", "validate changes", or before creating a PR. Provides compre375skills.sh installs
2jwynia avataragile-workflowjwynia/agent-skillsOrchestrate agile development workflows by invoking commands in sequence with checkpoint-based flow control. This skill should be used when the user asks to 'ru369skills.sh installs
3zzci avatarpma-crzzci/skillsCode review: stack-aware review for local diffs, pull requests, and repository-wide audits. Routes review across shared policy plus language packs for TypeScrip368skills.sh installs
4onevcat avataronevcat-jjonevcat/skillsUse jj (Jujutsu) for local version control instead of git. Activate when: the repo has a .jj/ directory, the user or project config mentions jj, the user says '367skills.sh installs
5ahmedasmar avatarci-cdahmedasmar/devops-claude-skillsCI/CD pipeline design, optimization, DevSecOps security scanning, and troubleshooting. Use this skill whenever the user mentions CI/CD, GitHub Actions, GitLab C366skills.sh installs
6zenmux avatarzenmux-feedbackzenmux/skillsSubmit GitHub issues, feature requests, bug reports, product suggestions, and feedback to the ZenMux repository (ZenMux/zenmux-doc). Use this skill whenever the357skills.sh installs