Thanks for your interest in contributing!
git clone https://github.com/maxbeizer/gh-agent-viz.git
cd gh-agent-viz
make build
make test
make relink-local # install locally for testing- Create a branch from
main - Make your changes
- Run
go build ./...andgo test ./... - Run
gh agent-viz --demoto visually verify your changes - Open a PR against
main
cmd/— CLI entry point (Cobra)internal/tui/— Bubble Tea TUI (split into ui.go, commands.go, keyhandlers.go, helpers.go)internal/tui/components/— UI components (each in its own package)internal/data/— Data fetching and parsinginternal/config/— YAML config parser
- Each TUI component lives in its own package under
internal/tui/components/ - Use shared helpers from
internal/data/session.go(don't duplicate) - Tests must be deterministic — no time.Now() in assertions, no network calls
- Key handlers go in
keyhandlers.go, data fetching incommands.go - Run
gh agent-viz --demoto test UI changes without real data
Follow conventional commits: feat:, fix:, docs:, refactor:, test:, chore: