Development
gh-vibe is a pnpm monorepo. The CLI lives in packages/cli/ and the
documentation site (this one) in packages/docs/.
mise install # installs node, pnpm, bun via .mise.tomlpnpm install # installs workspace depsRun the CLI
Section titled “Run the CLI”pnpm -C packages/cli dev review 123 --dry-runTests + typecheck
Section titled “Tests + typecheck”pnpm -C packages/cli test # bun testpnpm -C packages/cli check # tsc --noEmitBuild the binary
Section titled “Build the binary”pnpm -C packages/cli build # produces ./gh-vibe at the repo root./gh-vibe --versionWork on the docs
Section titled “Work on the docs”pnpm -C packages/docs dev # http://localhost:4321pnpm -C packages/docs build # static output → packages/docs/distpnpm -C packages/docs check # astro checkReleasing
Section titled “Releasing”Push a v* tag. The release workflow cross-compiles binaries for
darwin-{arm64,amd64}, linux-{arm64,amd64}, and windows-amd64, then
uploads them to the matching GitHub Release. gh extension install picks the
right asset by <name>-<os>-<arch>[.exe] naming.