traqr.dev·working document·sheet 03 — cli

One repo, several Claude sessions, no collisions.

The CLI is how a project gets its shape. traqr init interviews you and writes .traqr/config.json; traqr rendergenerates everything downstream — the CLAUDE.md, the skills, the worktree slots, the Guardian config. The slots are the part I lean on hardest: each one is a git worktree with its own branch, port, and Claude session, so parallel work doesn’t step on itself.

package@traqr/cli
version0.1.10 · checked 2026-06-09
commandsinit · render · status · verify
vcsGitHub · GitLab, auto-detected
slots in this repo18 worktrees
skills in this repo57 generated files
licenseMIT, open source
costfree

§ 00·the slot system

A worktree per workstream.

The repo this site describes carries 18 slots — five each for features, fixes, and infra, two ambient on a Mac Mini, one for marketing. On a normal night two to four are active. Shell aliases jump between them; a pre-push hook keeps everyone — including me — off main.

fig. 1 — a slot session, and the hook doing its job. Counted from .worktrees/ on 2026-06-09.

terminal — slots
$ zb1 # jump to slot bugfix1
/repo/.worktrees/bugfix1
$ git branch --show-current && cb1 # own branch, own Claude
bugfix/slot-1
$ git push origin main
pre-push hook: direct pushes to main are blocked.
ship from a slot instead: /ship

§ 01·shipping

/ship, then walk away.

One command moves work from a slot to main. Everything that used to be a checklist — rebase, build, PR, notify — runs as a documented procedure, and Guardian owns the second half.

01

commit + rebase

Commits what's staged, rebases onto main, and runs an impact analysis on anything that overlaps — risky overlap stops the ship.

02

build

Builds the shared packages, then only the apps the diff actually touches. A failing build stops here, not in CI.

03

push + open the PR

Pushes the slot branch and opens the pull request with the label Guardian watches for.

04

notify

Posts the PR to Slack and captures what the session learned into memory.

05

hand off to Guardian

Rebase, merge, sync the other slots. By the time I look, it's on main.

§ 02·skills

The index.

Skills are slash commands — markdown procedures the AI follows, generated from your config. This repo carries 57 of them, counted 2026-06-09. These are the ones I use most; each is a file you can read, edit, or delete.

shipmove code from slot to main5
/shipcommit, build, push, open the PR, notify Slack
/resyncpre-flight rebase with impact analysis
/syncsync every worktree slot after a merge
/simplifyreview changed code for reuse and efficiency
/nextphasepick up the next phase of a Linear project
researchunderstand before building4
/einsteindeep research with parallel subagent waves
/bethesdaautonomous exploration — agents find their own work
/debatestructured devil's advocacy on a decision
/deepreflectmeta-analysis of how the agents are performing
coordinatekeep the fleet in sync5
/coschief-of-staff awareness across all slots
/daily-briefmorning intelligence from every data source
/callprocess a meeting transcript into structured notes
/checkpointmid-work save to memory and the vault
/deciderecord a decision with its full context
setupstand up an instance5
/traqr-initinitialize TraqrOS on any project
/traqr-updateupgrade in place, preserving your sections
/traqr-system-slackwire Slack routing and Block Kit
/traqr-system-guardianconfigure the automated PR lifecycle
/traqr-system-cronsstandardized cron auth and escalation

…and ~30 more. Each one is a markdown file you can read, edit, or delete.

§ 03·install

Four commands.

init once, render after config changes, status and verify when something feels off. The memory server installs standalone if you only want that piece.

traqr initinterview your project, write .traqr/config.json
traqr rendergenerate the harness from the config
traqr statuswhat's configured, what's drifted
traqr verifycheck the generated pieces still match the config