Skip to content

/wbCheck — Command Hub ​

/wbCheck runs a lightweight, fast validation before heavier commands like /wbAudit or /wbRelease. It operates as a pre-flight context quiz — generating questions from a private answer key, having the worker model answer them from source code alone, and producing a pass/fail verdict. The command catches wrong assumptions before they produce damage.

🎯 Strategic Position ​

You have many /wb* commands and multiple AI models. Some models are cheap but may not understand your codebase. If you send /wbRefactor to a model that doesn't know the framework version, it will rewrite things incorrectly. /wbCheck catches this with a 30-second quiz before damage happens.

  • Using a new model on a package — verify it understands the codebase.
  • Using a cheap/free model — the cheaper the model, the more likely it hallucinates.
  • After a major refactor — re-verify that models still understand the changed codebase.
  • First time using any model on the monorepo — establish a baseline.

🛠️ Operating Modes ​

ModeTriggerOutput
Monorepo-wide quizwbcheck (no args)6 questions from all category banks
Full package quizwbcheck wb-core~9 questions covering all categories for that package
Command-specific quizwbcheck wb-core wbTest4–6 questions targeted to that command's required categories

✅ What a useful check contains ​

  1. Quiz questions generated from a private answer key the worker cannot access.
  2. Worker answers produced by reading actual source code — not training data.
  3. Pass/fail verdict — 80%+ passes, 60-79% is marginal, <60% fails.
  4. Keyword matching — exact numbers from source files prove the model read them.

🚫 What it cannot do ​

Not thisUse instead
Produce a scored, ranked audit/wbAudit
Fix issues it findsIt only flags them — use the appropriate /wb* command
Test runtime behaviour/wbTest
Produce a structured output reportThe quiz is interactive; it ends with a verdict, not a report file
Replace persistent context modelsModels like Antigravity/Opus with persistent context don't need quizzing

📚 Reading Order ​

  1. ELI5 — the one-paragraph mental model.
  2. Practical — step-by-step quiz walkthrough.
  3. Expert — security model, grading rules, and answer-key management.
  4. Examples — annotated quiz transcripts.
  5. Exhaustive simulation · Live demo.
  • wbCheck.md — the command reference this hub orients you around.
  • /wbTrack — optionally start a tracked session after passing.
  • /wbContext — builds context from code; /wbCheck tests if the model already has it.
  • /wbTest — tests runtime behaviour, not model understanding.

Quick Reference ​

bash
wbcheck                            # monorepo-wide quiz (6 questions)
wbcheck wb-core                    # all categories for a package (~9 questions)
wbcheck wb-core wbTest             # targeted quiz for one command (4–6 questions)


← Home · Commands · Install | wb-flow on npm · flow.wbc-ui.com · wi-bg.com