Quickstart
Five-minute walkthrough — pick an issue, work on it, ship a PR. Assumes you’ve finished Installation.
- 1. Authenticate your tracker
- 2. Open the dashboard
- 3. Start working on a ticket
- 4. Iterate with the inline diff
- 5. Commit, push, and PR — without leaving the dashboard
- What just happened
1. Authenticate your tracker
Pick one and run the matching auth command from inside any repo where you want santree to surface issues.
# Linear (OAuth in browser)
santree linear auth
# OR GitHub Issues (uses the existing gh CLI — no separate OAuth)
santree github auth
The auth command also flips the repo’s active tracker, so you only do this once per repo. See Trackers for the full setup.
2. Open the dashboard
santree dashboard
You’ll see a two-pane TUI: assigned issues on the left, detail on the right. Mouse + keyboard both work — click a row to select, drag the divider to resize, scroll wheel scrolls.
3. Start working on a ticket
Select an issue and press w. A mode-select overlay asks plan-vs-implement, then opens a context input where you can add custom instructions to the prompt (Ctrl+O to drop into your editor). Press Enter to launch.
What happens behind the scenes:
- A worktree is created at
.santree/worktrees/<TICKET-ID>/from the base branch. - (Optional)
.santree/init.shruns to set up env files / dependencies. - A new tmux/cmux window is opened in the worktree.
- Claude is launched with the rendered ticket + your context as input.
4. Iterate with the inline diff
Back in the dashboard, press [v] on the issue to open the diff overlay. Left pane is the file tree, right pane shows the diff content. Use j/k to move between files, J/K to scroll the diff.
The diff is branch-only — it uses git merge-base against the configured base, so upstream changes you haven’t pulled don’t leak in. Same scope as a GitHub PR diff.
Install
delta(brew install git-delta) andexport SANTREE_DIFF_TOOL=deltato get syntax highlighting in the overlay. Works for both worktree diffs and Reviews-tab PR diffs.
5. Commit, push, and PR — without leaving the dashboard
| Key | Action |
|---|---|
[C] |
Stage + commit + push (inline message input or --fill from Claude) |
[c] |
Create the PR (fill template via Claude, or open the new-PR page in the browser) |
[r] |
Self-review the PR with Claude |
[f] |
Apply review comments / CI failures with Claude |
Once the PR is merged, [d] removes the worktree, or santree worktree clean does it in bulk for any branch whose PR is merged or closed.
What just happened
You went from “pick an issue” to “open PR” without leaving the terminal. Each stage corresponds to a node in the Workflow diagram. The mental model behind it lives in Concepts.