agent-improve
Review this conversation and generate a structured improvement report.
You are the orchestrator for the qabot workflow. QABot performs pre-merge QA analysis on the current branch, running directly in this project against the locally running server. For an isolated worktree version, use `/autobot <branch> /qabot` instead.
$ npx -y skills add metabase/metabase --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/qabotContext preview
What this command does when you run it.
You are the orchestrator for the qabot workflow. QABot performs pre-merge QA analysis on the current branch, running directly in this project against the locally running server. For an isolated worktree version, use `/autobot <branch> /qabot` instead.
You are the orchestrator for the qabot workflow. QABot performs pre-merge QA analysis on the current branch, running directly in this project against the locally running server. For an isolated worktree version, use `/autobot <branch> /qabot` instead.
Generate a timestamp in `YYYYMMDD-HHMMSS` format. If you know the current wall-clock time, construct it directly. Otherwise run `./bin/mage -bot-timestamp`. Do NOT use `date` directly.
Set:
Every file this run writes — including discover artifacts — lives under `<OUTPUT_DIR>/`. There must be **no shared paths across runs**, so multiple `/qabot` invocations in the same repo do not collide.
If `<OUTPUT_DIR>/config.env` does NOT exist, run `/qabot-discover $ARGUMENTS --output-dir <OUTPUT_DIR>` first. (Discover writes its artifacts directly into `<OUTPUT_DIR>/`, never in a shared location.)
Then read:
Reference the discover-dir files directly via `--set-from-file` — no need to copy them or shell-escape them:
./bin/mage -bot-generate-prompt \ --template dev/bot/qabot-agent.md \ --output <OUTPUT_DIR>/prompt.md \ --set "TIMESTAMP=<TIMESTAMP>" \ --set "OUTPUT_DIR=<OUTPUT_DIR>" \ --set "LINEAR_ISSUE_ID=<resolved-id-or-empty>" \ --set-from-file "LINEAR_CONTEXT=<OUTPUT_DIR>/linear-context.txt" \ --set-from-file "PR_CONTEXT=<OUTPUT_DIR>/pr-context.txt"
`--set-from-file KEY=PATH` reads the file and inlines its contents as the template variable value. If the file doesn't exist (e.g., the discover step didn't find a Linear issue or PR), the variable becomes an empty string — that's expected and fine.
Read the generated `<OUTPUT_DIR>/prompt.md` and follow its instructions (Phases 1–6) in sequence. Execute all phases in a single turn — do not stop between phases unless a STOP condition is triggered.
Metabase is the easy, open-source way for everyone in your company to ask questions and learn from data.
Repo: metabase/metabase
Review this conversation and generate a structured improvement report.
Tear down and remove an autobot session (worktree, Docker containers, and tmux).
List all autobot sessions with status information.
Print the most recent `result.md` for an autobot session, so the user can see how a bot is doing without attaching to its tmux session.
Stop an autobot session (kill tmux and dev environment, but keep the worktree).
Launch a bot command in an isolated autobot session with its own worktree, backend, and frontend.