Skip to content

Development Workflow

Use cargo fmt before submitting code changes.

Run the full test suite:

Terminal window
cargo test

For snapshot-specific work, run:

Terminal window
cargo insta test

Use cargo insta review to inspect changed TUI snapshots and accept only intentional visual changes.

Use --print-prompt to inspect prompt assembly without making a provider call.

For UI work, check both normal and narrow snapshot states. When possible, also run the TUI in a real terminal to inspect color and spacing.

Before release work, run formatting, tests, snapshots, and package checks.