Skip to content

Development

Build, test, and dogfood vteam itself.

Terminal window
just build # go build -o dist/vteam ./cmd/vteam
just install # go install ./cmd/vteam (into $(go env GOBIN), usually ~/go/bin)
just dev <args> # go run ./cmd/vteam (e.g., just dev run improver)
just lint # go vet + golangci-lint
just test # go test -race ./...
just cover # statement coverage
just clean # rm -rf dist/

The vteam repository has its own vteam/ directory pointing the agents at its own code. Run just dev run improver to have vteam review itself.

vteam keeps external dependencies to a minimum: cobra for the CLI, bubbletea and lipgloss for the TUI, and golang.org/x/term, x/sync, x/text. Cron parsing, config validation, and slug generation are internal packages. Tests use the standard library plus go-cmp and testscript.

The site lives in docs/ and is built with Astro and the Starlight docs framework with the Lucode theme, using Bun:

Terminal window
just docs # bun run dev in docs/
just docs-build # bun run build in docs/ (output in docs/dist)

Pages are MDX files in docs/src/content/docs/; the sidebar, header links, and footer are configured in docs/astro.config.ts.