Skip to content

Commands

Per-command deep-dives. 33 commands × 6 reading layers = the reference body of this documentation.

Each command lives in its own folder (wbSetup/, wbContext/, …, wbStopTrack/). Inside each folder you'll find up to seven files: a hub summary (wbX.md) and six layer files.

📋
Plan
Task table with costs + model assignments
/wbPlan
Work
Execute — edit files, run scripts, create reports
/wbWork
Valid
Score work against acceptance criteria
/wbValid
FAIL →re-work

The seven files per command

FileLengthRead when
hub (wbX.md)1 pageYou want a quick overview: purpose, invocation, what happens
eli51–2 paragraphsYou want a one-line mental model
practical~1 pageYou're about to run the command and need the trade-offs
expert2–3 pagesYou're considering modifying the command's runtime template
examples3–5 pagesYou forgot what the command's output actually looks like
exhaustive_simulationFull transcriptComplete behavior matrix for every input scenario
live_demoInteractiveReal-time walkthrough of the command applied to an actual workspace

Folder layout

commands/
├── wbSetup/     ─┐
├── wbContext/     │
├── wbPlan/        │  Each folder contains:
├── wbAudit/       │    <cmd>.md           (hub summary)
├── wbReview/      │    <cmd>_eli5.md
├── ...            │    <cmd>_practical.md
├── wbLog/         │    <cmd>_expert.md
├── wbStopTrack/   │    <cmd>_examples.md
├── wbTrack/       │    <cmd>_exhaustive_simulation.md
├── wbNext/       ─┘    <cmd>_live_demo.md

└── wb_commands_reference.json  ← machine-readable command catalog

Quick lookup — which command for which job?

You want to...CommandFolder
Bootstrap a new package's context.md + dev.md/wbSetupwbSetup/
Sync the AI's understanding of a package/wbContextwbContext/
Monorepo-wide scan: what's in-flight?/wbStandupwbStandup/
Break a goal into a worker/validator task plan/wbPlanwbPlan/
Brainstorm features when the queue is empty/wbVisionwbVision/
Capture and score speculative ideas/wbIdeawbIdea/
Pick the next optimal command based on repo state/wbNextwbNext/
Print the command catalog or per-command help/wbHelpwbHelp/
Triage a diagnostic doc into ranked actions/wbActOnwbActOn/
Generate a persistent explanation of code or a task/wbExplainwbExplain/
Execute tasks defined in a plan file/wbWorkwbWork/
Validate /wbWork output against the plan/wbValidwbValid/
Get a brutal review of code quality/wbAuditwbAudit/
PR-style review of a specific change vs. its plan/wbReviewwbReview/
Run tests and triage failures/wbTestwbTest/
Pre-flight quiz to verify the AI understands the code/wbCheckwbCheck/
Find dead code and forgotten console.log/wbCleanwbClean/
Restructure code without changing behavior/wbRefactorwbRefactor/
Hypothesize then investigate an error/wbDebugwbDebug/
Generate JSDoc + READMEs from code/wbDocwbDoc/
Bump versions, unpick workspace:*/wbReleasewbRelease/
Push a package to npm/wbPublishwbPublish/
Deploy an app to a web host/wbDeploywbDeploy/
Inject premium gating/wbLicensewbLicense/
Generate release announcement kit/wbBroadcastwbBroadcast/
Bootstrap Free/Pro/Dev tier plumbing/wbMonetizewbMonetize/
Commit code with Conventional Commits/wbGitwbGit/
Append a quick log note to the session tracker/wbLogwbLog/
Red-team scan: secrets, XSS, insecure deps/wbSecurewbSecure/
Pull hardcoded strings to i18n keys/wbTranslatewbTranslate/
Rewrite legacy/Vuetify into wbc-ui2/wbToWBCwbToWBC/
Toggle session-wide logging of /wb* invocations/wbTrackwbTrack/
Finalize a session and archive the tracker/wbStopTrackwbStopTrack/

How to navigate to a command's docs

Two patterns:

# By question (most common — daily use)
daily_use/README.md → scenario table → command name → commands/<cmd>/<cmd>_practical.md

# By concept (when you want to understand mechanics first)
concepts/README.md → overview file → command name → commands/<cmd>/<cmd>_expert.md

If you're already in a command's folder and want to switch layers (e.g., you read practical and want examples), the files are siblings — no navigation needed.


When you're about to run a command for the first time:

hub (wbX.md) → eli5 → practical → (run it once) → examples → (run it again)

Skip expert unless you're modifying the command's runtime template.


The machine-readable catalog

wb_commands_reference.json is the same 33-command catalog in JSON form, suitable for tooling that needs to introspect the command surface programmatically.


What this folder is NOT

  • Not a tutorial. For first-time onboarding, go to ../start_here/.
  • Not a daily playbook. For "what to run at 10am vs. 4pm," go to ../daily_use/.
  • Not the runtime templates. The source-of-truth _template.md files that define what each command actually does live in packages/wb-flow/templates/commands/. This folder documents how to use them.