# Rehearse > Rehearse a change before it ships: bring the product up, sign in as named people, start from named worlds, and compare any scenario on the base and on the head. Rehearse is a command-line tool and SDK (`@kurvball/rehearse`, command `rehearse`). Every command takes `--json` and prints one object a schema in `schema/v1/` describes. Every page of the docs, grouped as the site's sidebar groups them: **Start** - [Overview](http://rehearse.kurvball.ca/): Rehearse a change before it ships. Bring the product up, sign in as named people, start from named worlds, and compare any scenario on the base and on the head. - [Get started](http://rehearse.kurvball.ca/get-started/): Install Rehearse in a repository with one command, then build your first comparison, solve a task, or look something up. - Tutorial - [1. Compare a change](http://rehearse.kurvball.ca/tutorial/1-compare/): From an empty folder to a comparison of a change with its base, in ten minutes. Rehearse catches a change nobody announced, then reads the announcement. **Learn** - Concepts - [Services, people, worlds, stand-ins](http://rehearse.kurvball.ca/concepts/blocks/): The four blocks of rehearse.yaml that set the scene for a scenario. What comes up, who you sign in as, where you start, and what is faked. - [Scenarios and kinds](http://rehearse.kurvball.ca/concepts/scenarios/): What a scenario is, the four kinds Rehearse runs, how each is named and found, and what it means for one to fail. - [Comparing](http://rehearse.kurvball.ca/concepts/comparing/): How Rehearse runs scenarios on the base and the head, sets aside what changes on every run, and sorts each scenario into one verdict. - [The stage](http://rehearse.kurvball.ca/concepts/stage/): One page where a person tries any scenario. The frame stays the same, and the scenario's kind decides what the canvas shows. - [What a change reaches](http://rehearse.kurvball.ca/concepts/affected/): How rehearse list --affected decides which scenarios a change reaches, and says why for each. **Do** - Guides - [Write piece scenarios](http://rehearse.kurvball.ca/guides/pieces/): Turn Storybook stories into piece scenarios, render them in your package's own Vite and React, and compare what a screen reader would hear. - [Write flows](http://rehearse.kurvball.ca/guides/flows/): Write a flow as steps by accessible name, reuse reach modules, run a flow over a piece, sign in as a person, or drive a service through its own driver. - [Write calls](http://rehearse.kurvball.ca/guides/calls/): Write HTTP calls in Hurl's plain part beside the handler, send them as people, carry captures between them, and wait for work that finishes later. - [Write file scenarios](http://rehearse.kurvball.ca/guides/files/): Try a command that turns an input into an output file, and compare the output by column, by path, by line, or entry by entry in a zip. - [Announce a change](http://rehearse.kurvball.ca/guides/announce/): Say which scenarios a change means to change, and why, so a comparison tells what you meant from what slipped. - [Rehearse at a gate](http://rehearse.kurvball.ca/guides/gates/): Run a comparison in CI or before a merge, read its exit code and JSON, and decide what sends a change back. - [Rehearse for agents](http://rehearse.kurvball.ca/guides/agents/): Use Rehearse from an agent. Every command prints one JSON object, and rehearse drive takes one step at a time, each answered in the drive result shape. - [Adopt Rehearse](http://rehearse.kurvball.ca/guides/adopt/): Start with rehearse init, record today's behaviour as scenarios, and commit them, or keep the manifest outside the product as the Kurvball example does. - [With Ashlar or an import graph](http://rehearse.kurvball.ca/guides/ashlar/): Let an import graph tell Rehearse which files a change reaches, through Ashlar or any command that prints the dependents contract. - Recipes - [Fail CI on a slip](http://rehearse.kurvball.ca/recipes/ci-gate/): A GitHub Actions job that compares every pull request with main and fails when something changed without saying so, or broke. - [Announce a change in a PR](http://rehearse.kurvball.ca/recipes/announce-in-a-pr/): Commit an announcement with the change, so every comparison of the pull request, in CI or on a reviewer's machine, reads what it meant to change. - [Try a scenario from a PR](http://rehearse.kurvball.ca/recipes/open-from-a-pr/): Put a scenario's stage address in a pull request, so a reviewer opens that one scenario in Base, Head and Diff on their own machine. - [Set aside a field](http://rehearse.kurvball.ca/recipes/set-aside-a-field/): Add one setAside rule to rehearse.yaml, so a value that differs on every run, such as a process id, stops showing as a change. - Examples - [Kurvball](http://rehearse.kurvball.ca/examples/kurvball/): Rehearse on Kurvball, from a scratch clone of its main branch, with every kind compared. **Look up** - Reference - [CLI](http://rehearse.kurvball.ca/reference/cli/): Every rehearse command, with its words and flags, its JSON output, its exit codes and a real example. - [rehearse.yaml](http://rehearse.kurvball.ca/reference/manifest/): Every field of the manifest, its default, and the placeholders its commands can use. - [Scenario files](http://rehearse.kurvball.ca/reference/scenario-files/): The formats Rehearse reads, Storybook CSF, flows, Hurl's plain part, *.rehearse.yaml and announcements, and what it compares in each. - [JSON contract](http://rehearse.kurvball.ca/reference/json/): What every rehearse command prints with --json, field by field, generated from the schemas in schema/v1/, and the rules that keep it stable within v1. - [Versions and releases](http://rehearse.kurvball.ca/reference/versioning/): What Rehearse promises from one version to the next, what counts as breaking, and how to pin a release. - [Upgrade guides](http://rehearse.kurvball.ca/upgrade/) - [Changelog](http://rehearse.kurvball.ca/changelog/): Every change to Rehearse a user would notice, by version. **For agents** - [Agent skill](http://rehearse.kurvball.ca/agent-skill/): Install the agent skill that teaches an agent Rehearse's commands, scenario formats and verdicts, and find the site's llms.txt. ## Documentation Sets - [Abridged documentation](http://rehearse.kurvball.ca/llms-small.txt): a compact version of the documentation for Rehearse, with non-essential content removed - [Complete documentation](http://rehearse.kurvball.ca/llms-full.txt): the full documentation for Rehearse ## Notes - The complete documentation includes all content from the official documentation - The content is automatically generated from the same source as the official documentation