Skip to content

/wbNext — Command Hub ​

/wbNext is the WB-Labs decision-support engine. It reads recent workflow state — audits, plans, task reports, git history — and recommends the single most impactful next move. Unlike /wbPlan which produces a full roadmap, /wbNext answers one question: "I'm standing here, what should I do right now?"

The closed feedback loop

/wbNext is the closing edge of the loop: it reads the reports the other commands left behind and tells you which verb comes next.

🎯 Strategic Position ​

/wbNext exists because the default failure mode of an AI-assisted workflow is choice paralysis. After running an audit, finishing a plan row, or returning from a break, the set of possible next actions is too large. /wbNext computes value × urgency across the report tree and returns one ranked recommendation — plus a list of alternatives it considered and rejected, so you can disagree if your judgment differs.

  • You just sat down — whole-monorepo scan, single recommendation.
  • End of a logical unit of work — finished a thing; what's the next thing?
  • After a long absence — back from vacation, no idea what state the repo is in.

🛠️ Operating Modes ​

ModeTriggerOutput
Monorepo-wide/wbNextOne recommendation + considered-and-rejected alternatives, based on all recent reports
Package-scoped/wbNext <package-path>Same, narrowed to a single package's report tree
Self-correct/wbNext <previous_output_file>Re-ranks suggestions, fills missing fields, preserves user annotations

✅ What a useful next-action recommendation contains ​

  1. A specific command to run — not "review code" but /wbAudit packages/wb-core/.
  2. A why section — the signals that led to this recommendation (stale audit, new commits, clean test gate).
  3. A considered and rejected section — the alternatives that were evaluated and why they ranked lower.
  4. The time window it scanned (default: --since=7d).

🚫 What it cannot do ​

Not thisUse instead
Produce a multi-step roadmap/wbPlan or /wbVision
List everything in flight/wbStandup
Execute the suggested commandDescribe the task directly to the AI
Track session state across runs/wbTrack

📚 Reading Order ​

  1. ELI5 — the one-paragraph mental model.
  2. Practical — step-by-step on a real project.
  3. Expert — architecture, edge cases, and when NOT to use.
  4. Examples — annotated transcripts from actual sessions.
  5. Exhaustive simulation · Live demo.
  • wbNext.md — the command reference this hub orients you around.
  • /wbPlan — multi-step roadmap from audits and reviews.
  • /wbStandup — everything in flight across the project.
  • /wbAudit — the most common source signal for /wbNext.
  • /wbContext — run first if no reports/ exist yet.

Quick Reference ​

bash
/wbNext                   # whole-monorepo recommendation
/wbNext <package-path>    # narrowed to one package
/wbNext --since=14d       # scan the last 14 days of reports


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