/podbay:pb-ci [checkout path] [--skip-mesh]from podbay
Local CI for a Pod Bay checkout in Docker (GitLab has no runner) - build, clippy -D warnings, tests, the smoke test and mesh tests of the crates/ workspace at the current commit, log in .podbay/ci/<sha>.log, one-line summary. Linux only. Run as /podbay:pb-ci.
Ships in podbay. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Runs the gates on the checkout's current commit in a pinned Linux container. It never edits the checkout: the checkout is mounted read-only, and only the log is written, to .podbay/ci/.
git rev-parse --show-toplevel. If Docker is not running, pb-ci.sh starts it itself (skills/pb-ci/docker-up.sh: open -g -a Docker, then waits up to PBCI_DOCKER_WAIT seconds, default 180); do not ask the user first. On Linux it cannot start the daemon and stops with exit 4 and a message.bash ${CLAUDE_PLUGIN_ROOT}/skills/pb-ci/pb-ci.sh <checkout> (add --skip-mesh only if the user asks). A cold first run builds the image and the crate cache, and takes several minutes; later runs reuse the Docker volumes pb-ci-target (shared; when the checkout or commit differs from the last build, every podbay crate, its binaries and its test binaries (mesh, smoke) are removed first so a build is never reused; one run at a time holds a lock on it, and a second run waits up to 30 minutes, then fails with locked) and pb-ci-cargo-*. Run it in the background. The gates run as the non-root user pbci (uid 1000, entry.sh), because Pod Bay refuses to start Claude Code as root; never change Pod Bay to accept root. The container starts as root only to give the cache volumes to pbci: every run checks for files pbci does not own (an older pb-ci or a run as root wrote them) and chowns that volume again, with a log line and volumes=info(migrated=N) in the summary. During the change-over, never run an older pb-ci (0.12.2 or before, which writes as root) at the same time on the same machine; if one did, the next run gives its files back to pbci. On a Linux host the checkout must be readable by uid 1000 (a strict umask breaks this); Docker Desktop on macOS maps it. A git worktree works too: its main repo's git folder is mounted read-only at the same path. The image builds with a docker-driver builder (desktop-linux, else default) and without the Docker credential helper, which hangs when the keychain is locked; a build that takes over PBCI_BUILD_TIMEOUT seconds (default 1200) stops with exit 4 and a message.=== <step> section and quote the failing lines), or the setup before the gates failed, shown as setup=fail(<reason>): no-user:pbci, pbci-is-root, no-setpriv, setpriv, src-unreadable-by-uid-1000, git-unreadable-by-uid-1000, no-volume:<path> or chown:<path>; 2 dirty checkout (commit or stash, never auto-stash); 3 the build layout changed (report the list; the kit's layout.sh, inner.sh and maybe Dockerfile need an update, so do not work around it; the old single-crate layout, with src/main.rs at the root, is not supported, so a branch cut from one (main, a hotfix) gets this exit with one line and runs the gates by hand until the workspace reaches main); 4 no Docker.crates/ workspace: cargo build --locked (the shipped podbay program: the default member crates/bin); cargo clippy --locked --workspace -- -D warnings (gate); cargo clippy --locked -- -D warnings (gate: the shipped program with its own features, because the workspace run turns on test-support and never lints the code that exists only without it); cargo clippy --all-targets --locked --workspace (report only, reported as a count); cargo test --locked --workspace --lib --bins --no-fail-fast (unit tests of every crate; a test binary that crashes or a non-zero cargo exit with no failed test fails the step, shown as crashed); cargo test --locked -p podbay-bin --test smoke (the shipped binary starts); cargo test --locked -p podbay-cli --test mesh (real peers and tmux; it runs alone, never with --workspace, which turns on the test-support guards in the binary the test starts), or skipped with the reason. Tests in KNOWN_LINUX (inner.sh) fail on Linux but pass on macOS. They still run, but they are reported as known-linux-fail=N and do not fail the gate. When one passes, the summary says known-linux-now-passes: remove it from the list. Never cargo fmt or rustfmt.pb-ci <sha> volumes=info(migrated=N) build=… clippy=… clippy-all-targets=info(warnings=N) test=… smoke=… mesh=… total=…s log=…. A setup failure shows setup=fail(<reason>) in place of the gates.Not covered: macOS-only and Windows-only code (crates/console, cfg(windows)) and anything that needs the real app window (cfg(target_os = "macos"), the service install, L2/L3 checks). Use pb-run or the preflight app check for those.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub thanhnguyen-agilityio/podbay-kit --plugin podbay14 skills in this plugin
/bootstrapSet up the current repo for the podbay plugin. Copies the template CLAUDE.md and the GitLab issue templates (Bug, Story) into the repo when missing, never overwrites, and excludes .podbay/ from git. Run as /podbay:bootstrap./pb-explain-mrExplain the Rust in an MR's diff to a TypeScript/C# developer and grow the glossary. Run as /podbay:pb-explain-mr./pb-fixFix an approved Pod Bay ticket end to end - branch, failing test first, fix, local gates, CHANGELOG, test build with step screenshots, isolated review, Draft MR through pb-mr. Several issue numbers (or open with filters) run a batch with one worker per issue and no approval stops. Run as /podbay:pb-fix./pb-kickoffRestart the team's standing Pod Bay sessions after a break - pull, check every session and machine, start the missing ones (after asking), give each its role, have each read back its role and top 3 rules, fix wrong read-backs, and report a table. For the orchestrator session. Run as /podbay:pb-kickoff./pb-mrPrepare and open a GitLab MR for the current Pod Bay branch - checklist, local gates, evidence, description - always as a Draft, into any target. Never merges, approves or marks ready. Run as /podbay:pb-mr./pb-orchestratorAct as the orchestrator for Pod Bay work. Create or pick workspaces and sessions with the podbay-dev CLI, give each session's agent its task by cross-session message, wait for it, and report back. Use when the user asks to start, open or prepare a session or workspace for a repo, give work to a Pod Bay session (review MR !n, work on issue