wb-flow 1.0.0-r01

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/LICENSE +21 -0
  3. package/README.md +128 -0
  4. package/assets/demo.gif +0 -0
  5. package/bin/install.js +175 -0
  6. package/bin/link.js +71 -0
  7. package/bin/verify-wrappers.js +49 -0
  8. package/package.json +56 -0
  9. package/templates/commands/_shared/output_conventions.md +433 -0
  10. package/templates/commands/_shared/wb_universal_agent_instructions.md +72 -0
  11. package/templates/commands/model_recommendation_updates.md +74 -0
  12. package/templates/commands/model_recommendations.md +112 -0
  13. package/templates/commands/wbActOn/wbActOn_template.md +546 -0
  14. package/templates/commands/wbAudit/wbAudit_template.md +315 -0
  15. package/templates/commands/wbBroadcast/wbBroadcast_template.md +133 -0
  16. package/templates/commands/wbCheck/wbCheck_template.md +322 -0
  17. package/templates/commands/wbClean/wbClean_template.md +118 -0
  18. package/templates/commands/wbContext/wbContext_template.md +213 -0
  19. package/templates/commands/wbDebug/wbDebug_template.md +132 -0
  20. package/templates/commands/wbDeploy/wbDeploy_template.md +224 -0
  21. package/templates/commands/wbDoc/wbDoc_template.md +138 -0
  22. package/templates/commands/wbExplain/wbExplain_template.md +98 -0
  23. package/templates/commands/wbGit/wbGit_template.md +160 -0
  24. package/templates/commands/wbHelp/wbHelp_template.md +101 -0
  25. package/templates/commands/wbIdea/wbIdea_template.md +337 -0
  26. package/templates/commands/wbLicense/wbLicense_template.md +148 -0
  27. package/templates/commands/wbMonetize/wbMonetize_template.md +113 -0
  28. package/templates/commands/wbNext/wbNext_template.md +270 -0
  29. package/templates/commands/wbPlan/wbPlan_template.md +413 -0
  30. package/templates/commands/wbPublish/wbPublish_template.md +205 -0
  31. package/templates/commands/wbRefactor/wbRefactor_template.md +129 -0
  32. package/templates/commands/wbRelease/wbRelease_template.md +229 -0
  33. package/templates/commands/wbReview/wbReview_template.md +252 -0
  34. package/templates/commands/wbSecure/wbSecure_template.md +157 -0
  35. package/templates/commands/wbSetup/wbSetup_template.md +203 -0
  36. package/templates/commands/wbStandup/wbStandup_template.md +198 -0
  37. package/templates/commands/wbTest/wbTest_template.md +226 -0
  38. package/templates/commands/wbToWBC/wbToWBC_template.md +91 -0
  39. package/templates/commands/wbTrack/wbTrack_template.md +555 -0
  40. package/templates/commands/wbTranslate/wbTranslate_template.md +114 -0
  41. package/templates/commands/wbValid/wbValid_template.md +142 -0
  42. package/templates/commands/wbVision/wbVision_template.md +141 -0
  43. package/templates/commands/wbWork/wbWork_template.md +140 -0
  44. package/templates/commands/wb_commands_reference.claude.json +2305 -0
  45. package/templates/commands/wb_commands_reference.json +1109 -0
  46. package/templates/shortcuts/shortcuts.md +413 -0
  47. package/templates/shortcuts/usage-management-examples-shortcuts/budget_controllers_examples.md +96 -0
  48. package/templates/shortcuts/usage-management-examples-shortcuts/ultimate_shortcuts_examples.md +1531 -0
@@ -0,0 +1,1109 @@
1
+ {
2
+ "wbSetup": {
3
+ "description": "Initializes the Agentic Brain for the target folder by establishing its agentic identity.",
4
+ "args": {
5
+ "withAFolder": {
6
+ "syntax": "/wbSetup <target_path>",
7
+ "example": {
8
+ "example1": {
9
+ "command": "/wbSetup packages/wb-core",
10
+ "description": "Sets up the agentic context and dev rules for the wb-core package."
11
+ }
12
+ },
13
+ "input": {
14
+ "path": "<target_path>",
15
+ "type": "directory",
16
+ "content": "package.json, source files"
17
+ },
18
+ "output": {
19
+ "path": "<target_path>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/setup/setup_<folder_root_name>_<YYYYMMDD>.md",
20
+ "type": "markdown",
21
+ "content": "Environmental Discovery, Core Workflow Files, Global Synchronization, Audit Trail"
22
+ }
23
+ }
24
+ },
25
+ "flags": {
26
+ "--focus": {
27
+ "flag": "--focus",
28
+ "role": "Focuses the setup on a specific sub-system to generate specialized context and blueprints.",
29
+ "example": {
30
+ "example1": {
31
+ "command": "/wbSetup packages/wb-core --focus=\"renderer\"",
32
+ "description": "Deeply analyzes the renderer sub-system and generates a context_renderer.md and wbplan_setup.md."
33
+ }
34
+ }
35
+ }
36
+ }
37
+ },
38
+ "wbContext": {
39
+ "description": "Generates a comprehensive Context Report containing identity, dependencies, and constraints.",
40
+ "args": {
41
+ "withAFolder": {
42
+ "syntax": "/wbContext <target_folder_path>",
43
+ "example": {
44
+ "example1": {
45
+ "command": "/wbContext packages/wb-core",
46
+ "description": "Generates context for the entire wb-core package."
47
+ }
48
+ },
49
+ "input": {
50
+ "path": "<target_folder_path>",
51
+ "type": "directory",
52
+ "content": "package.json, index.js, config files"
53
+ },
54
+ "output": {
55
+ "path": "<target_folder_path>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/contexts/context_<folder_root_name>_<YYYYMMDD>.md",
56
+ "type": "markdown",
57
+ "content": "Identity, Dependencies, Constraints"
58
+ }
59
+ },
60
+ "withAFile": {
61
+ "syntax": "/wbContext <target_file_path>",
62
+ "example": {
63
+ "example1": {
64
+ "command": "/wbContext packages/wb-core/src/index.js",
65
+ "description": "Generates specific context for the index.js entry point."
66
+ }
67
+ },
68
+ "input": {
69
+ "path": "<target_file_path>",
70
+ "type": "file",
71
+ "content": "Source code file"
72
+ },
73
+ "output": {
74
+ "path": "<target_file_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/contexts/context_<file_name>_<YYYYMMDD>.md",
75
+ "type": "markdown",
76
+ "content": "Identity, Dependencies, Constraints specific to the file"
77
+ }
78
+ }
79
+ }
80
+ },
81
+ "wbPlan": {
82
+ "description": "Creates a structured multi-agent task plan for a given problem or objective.",
83
+ "args": {
84
+ "withAFolder": {
85
+ "syntax": "/wbPlan <target_folder_path>",
86
+ "example": {
87
+ "example1": {
88
+ "command": "/wbPlan packages/wb-press2",
89
+ "description": "Creates a plan to add a new feature to wb-press2."
90
+ }
91
+ },
92
+ "input": {
93
+ "path": "<target_folder_path>",
94
+ "type": "directory",
95
+ "content": "Context files, past audit/review reports, user description of the problem"
96
+ },
97
+ "output": {
98
+ "path": "<target_folder_path>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/plans/plan_<folder_root_name>_<YYYYMMDD>.md",
99
+ "type": "markdown",
100
+ "content": "Task List table with worker/validator assignments, checkboxes, and scoring."
101
+ }
102
+ }
103
+ },
104
+ "flags": {
105
+ "--act": {
106
+ "flag": "--act",
107
+ "role": "Generates a re-ranked actionable version of the input plan.",
108
+ "example": {
109
+ "example1": {
110
+ "command": "/wbPlan packages/wb-core --act",
111
+ "description": "Produces an action file based on the plan."
112
+ }
113
+ }
114
+ }
115
+ }
116
+ },
117
+ "wbAudit": {
118
+ "description": "Performs a deep, honest, code-based technical audit.",
119
+ "args": {
120
+ "withAFolder": {
121
+ "syntax": "/wbAudit <target_folder_path>",
122
+ "example": {
123
+ "example1": {
124
+ "command": "/wbAudit frontEnd/wbc-ui/core2",
125
+ "description": "Audits the entire core2 monorepo."
126
+ }
127
+ },
128
+ "input": {
129
+ "path": "<target_folder_path>",
130
+ "type": "directory",
131
+ "content": "All code and architecture within the folder"
132
+ },
133
+ "output": {
134
+ "path": "<target_folder_path>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/audits/audit_<folder_root_name>_<YYYYMMDD>.md",
135
+ "type": "markdown",
136
+ "content": "9-section audit report with tables, concrete evidence, score out of 10."
137
+ }
138
+ },
139
+ "withAFile": {
140
+ "syntax": "/wbAudit <target_file_path>",
141
+ "example": {
142
+ "example1": {
143
+ "command": "/wbAudit packages/wb-core/dev.md",
144
+ "description": "Audits the specific dev.md file for missing points."
145
+ }
146
+ },
147
+ "input": {
148
+ "path": "<target_file_path>",
149
+ "type": "file",
150
+ "content": "Single file content"
151
+ },
152
+ "output": {
153
+ "path": "<target_file_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/audits/audit_<file_name>_<YYYYMMDD>.md",
154
+ "type": "markdown",
155
+ "content": "Analysis of the file's purpose, logical flaws, and a fully enhanced suggestion with comparison table."
156
+ }
157
+ }
158
+ },
159
+ "flags": {
160
+ "--act": {
161
+ "flag": "--act",
162
+ "role": "Calls /wbActOn internally to produce a sibling action file (execution order) alongside the audit.",
163
+ "example": {
164
+ "example1": {
165
+ "command": "/wbAudit packages/wb-core --act",
166
+ "description": "Generates an audit report and an action file."
167
+ }
168
+ }
169
+ },
170
+ "--wbPlan": {
171
+ "flag": "--wbPlan",
172
+ "role": "Calls /wbActOn internally to produce a sibling plan file directly from the audit.",
173
+ "example": {
174
+ "example1": {
175
+ "command": "/wbAudit packages/wb-core --wbPlan",
176
+ "description": "Generates an audit report and a plan file."
177
+ }
178
+ }
179
+ }
180
+ }
181
+ },
182
+ "wbReview": {
183
+ "description": "Performs a formal quality review of an executed task against an original plan.",
184
+ "args": {
185
+ "withAFolder": {
186
+ "syntax": "/wbReview <target_path> <path_to_plan_file>",
187
+ "example": {
188
+ "example1": {
189
+ "command": "/wbReview packages/wb-press2 packages/wb-press2/.../plan_wb-press2.md",
190
+ "description": "Reviews the implementation in wb-press2 against its plan."
191
+ }
192
+ },
193
+ "input": {
194
+ "path": "<target_path>",
195
+ "type": "directory",
196
+ "content": "Current codebase and the ORIGINAL PLAN markdown file"
197
+ },
198
+ "output": {
199
+ "path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/reviews/review_<folder_root_name>_<YYYYMMDD>.md",
200
+ "type": "markdown",
201
+ "content": "Plan vs Reality check, Technical Integrity, Review Score (1-10) and PASS/FAIL status."
202
+ }
203
+ }
204
+ },
205
+ "flags": {
206
+ "--act": {
207
+ "flag": "--act",
208
+ "role": "Generates an action file for fixing issues found in the review.",
209
+ "example": {
210
+ "example1": {
211
+ "command": "/wbReview packages/wb-press2 plan.md --act",
212
+ "description": "Produces a review and an action list to fix fails."
213
+ }
214
+ }
215
+ },
216
+ "--wbPlan": {
217
+ "flag": "--wbPlan",
218
+ "role": "Generates a follow-up plan to address review debts.",
219
+ "example": {
220
+ "example1": {
221
+ "command": "/wbReview packages/wb-press2 plan.md --wbPlan",
222
+ "description": "Produces a review and a plan to fix fails."
223
+ }
224
+ }
225
+ }
226
+ }
227
+ },
228
+ "wbTest": {
229
+ "description": "Executes dynamic tests (UNIT, E2E, MANUAL, PERF) to verify code behavior.",
230
+ "args": {
231
+ "withAFolder": {
232
+ "syntax": "/wbTest <target_path> <TEST_TYPE>",
233
+ "example": {
234
+ "example1": {
235
+ "command": "/wbTest packages/wb-core UNIT",
236
+ "description": "Runs unit tests for wb-core."
237
+ },
238
+ "example2": {
239
+ "command": "/wbTest apps/demo.wbc-ui.com E2E",
240
+ "description": "Performs E2E manual testing on the demo app."
241
+ }
242
+ },
243
+ "input": {
244
+ "path": "<target_path>",
245
+ "type": "directory",
246
+ "content": "Executable code, test suites"
247
+ },
248
+ "output": {
249
+ "path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/tests/test_<task_or_feature>_<YYYYMMDD>.md",
250
+ "type": "markdown",
251
+ "content": "Test setup steps, execution logs, verification results, PASS/FAILED status."
252
+ }
253
+ }
254
+ }
255
+ },
256
+ "wbRelease": {
257
+ "description": "Orchestrates the release by resolving circular dependencies and updating package.json versions.",
258
+ "args": {
259
+ "withAFolder": {
260
+ "syntax": "/wbRelease <target_monorepo_path> <NEW_VERSION>",
261
+ "example": {
262
+ "example1": {
263
+ "command": "/wbRelease frontEnd/wbc-ui/core2 v1.0.0-r02",
264
+ "description": "Prepares core2 monorepo for release v1.0.0-r02."
265
+ }
266
+ },
267
+ "input": {
268
+ "path": "<target_monorepo_path>",
269
+ "type": "directory",
270
+ "content": "All package.json files, recent plans, audits"
271
+ },
272
+ "output": {
273
+ "path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/releases/release_<folder_root_name>_<YYYYMMDD>.md",
274
+ "type": "markdown",
275
+ "content": "CHANGELOG, topological graphing order, unlinking strategy details."
276
+ }
277
+ }
278
+ }
279
+ },
280
+ "wbPublish": {
281
+ "description": "Executes the final build and NPM deployment based on the wbRelease plan.",
282
+ "args": {
283
+ "withAFolder": {
284
+ "syntax": "/wbPublish <target_monorepo_path>",
285
+ "example": {
286
+ "example1": {
287
+ "command": "/wbPublish frontEnd/wbc-ui/core2",
288
+ "description": "Builds and publishes the monorepo packages to NPM."
289
+ }
290
+ },
291
+ "input": {
292
+ "path": "<target_monorepo_path>",
293
+ "type": "directory",
294
+ "content": "The most recent release_*.md file, prepared package.json files"
295
+ },
296
+ "output": {
297
+ "path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/publishes/publish_<folder_root_name>_<YYYYMMDD>.md",
298
+ "type": "markdown",
299
+ "content": "Build verification, signature inspection logs, NPM publish sequence logs."
300
+ }
301
+ }
302
+ }
303
+ },
304
+ "wbDeploy": {
305
+ "description": "Orchestrates deployment of consumer apps to web hosts (Vercel, AWS, VPS).",
306
+ "args": {
307
+ "withAFolder": {
308
+ "syntax": "/wbDeploy <target_app_path> <ENVIRONMENT>",
309
+ "example": {
310
+ "example1": {
311
+ "command": "/wbDeploy apps/demo.wbc-ui.com production",
312
+ "description": "Deploys the demo app to production."
313
+ }
314
+ },
315
+ "input": {
316
+ "path": "<target_app_path>",
317
+ "type": "directory",
318
+ "content": "Application code, environment variables"
319
+ },
320
+ "output": {
321
+ "path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/deployments/deploy_<app_name>_<YYYYMMDD>.md",
322
+ "type": "markdown",
323
+ "content": "DNS verification, build execution logs, deployment commands executed, smoke test results."
324
+ }
325
+ }
326
+ }
327
+ },
328
+ "wbClean": {
329
+ "description": "Scans for dead code, unused files, and obsolete dependencies.",
330
+ "args": {
331
+ "withAFolder": {
332
+ "syntax": "/wbClean <target_directory>",
333
+ "example": {
334
+ "example1": {
335
+ "command": "/wbClean packages/wb-dataviewer",
336
+ "description": "Scans wb-dataviewer for entropy and dead code."
337
+ }
338
+ },
339
+ "input": {
340
+ "path": "<target_directory>",
341
+ "type": "directory",
342
+ "content": "Code files, context.md"
343
+ },
344
+ "output": {
345
+ "path": "<target_directory>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/cleans/cleanup_report.md",
346
+ "type": "markdown",
347
+ "content": "Categorized findings: High Priority (Breaking Debt), Medium (Clutter), Low (Cosmetic)."
348
+ }
349
+ }
350
+ }
351
+ },
352
+ "wbLicense": {
353
+ "description": "Enforces business logic by injecting premium gating and license checks.",
354
+ "args": {
355
+ "withAFile": {
356
+ "syntax": "/wbLicense <target_component_path>",
357
+ "example": {
358
+ "example1": {
359
+ "command": "/wbLicense packages/wb-core/src/components/PremiumTable.vue",
360
+ "description": "Injects Pro tier gating into the PremiumTable component."
361
+ }
362
+ },
363
+ "input": {
364
+ "path": "<target_component_path>",
365
+ "type": "file",
366
+ "content": "Vue component source"
367
+ },
368
+ "output": {
369
+ "path": "stdout",
370
+ "type": "markdown",
371
+ "content": "Summary report confirming Free/Pro/Dev handling and graceful UI fallbacks."
372
+ }
373
+ }
374
+ }
375
+ },
376
+ "wbRefactor": {
377
+ "description": "Restructures and optimizes target code without changing visual behavior or props.",
378
+ "args": {
379
+ "withAFile": {
380
+ "syntax": "/wbRefactor <target_file_path>",
381
+ "example": {
382
+ "example1": {
383
+ "command": "/wbRefactor packages/wb-core/src/utils.js",
384
+ "description": "Refactors utils.js for performance."
385
+ }
386
+ },
387
+ "input": {
388
+ "path": "<target_file_path>",
389
+ "type": "file",
390
+ "content": "Target source code"
391
+ },
392
+ "output": {
393
+ "path": "stdout",
394
+ "type": "markdown",
395
+ "content": "Summary report confirming structural changes and API parity."
396
+ }
397
+ }
398
+ }
399
+ },
400
+ "wbDebug": {
401
+ "description": "Isolates and fixes errors following the Scientific Method.",
402
+ "args": {
403
+ "withAFile": {
404
+ "syntax": "/wbDebug <error_or_file>",
405
+ "example": {
406
+ "example1": {
407
+ "command": "/wbDebug packages/wb-core/src/App.vue",
408
+ "description": "Debugs the reactivity loop in App.vue."
409
+ },
410
+ "example2": {
411
+ "command": "/wbDebug \"TypeError: undefined is not an object\"",
412
+ "description": "Debugs based on a specific stack trace."
413
+ }
414
+ },
415
+ "input": {
416
+ "path": "<error_or_file>",
417
+ "type": "string",
418
+ "content": "Stack trace, error message, or file path"
419
+ },
420
+ "output": {
421
+ "path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/debugs/debug_report.md",
422
+ "type": "markdown",
423
+ "content": "Hypothesis, isolation steps, root cause explanation, and solution applied."
424
+ }
425
+ }
426
+ }
427
+ },
428
+ "wbDoc": {
429
+ "description": "Injects JSDoc/TSDoc comments and generates README files without modifying logic.",
430
+ "args": {
431
+ "withAFile": {
432
+ "syntax": "/wbDoc <target_file>",
433
+ "example": {
434
+ "example1": {
435
+ "command": "/wbDoc packages/wb-core/src/index.js",
436
+ "description": "Documents index.js with JSDoc."
437
+ }
438
+ },
439
+ "input": {
440
+ "path": "<target_file>",
441
+ "type": "file",
442
+ "content": "Source code"
443
+ },
444
+ "output": {
445
+ "path": "stdout",
446
+ "type": "markdown",
447
+ "content": "Summary of documented code."
448
+ }
449
+ },
450
+ "withAFolder": {
451
+ "syntax": "/wbDoc <target_folder>",
452
+ "example": {
453
+ "example1": {
454
+ "command": "/wbDoc packages/wb-chart",
455
+ "description": "Generates a comprehensive README for the wb-chart package."
456
+ }
457
+ },
458
+ "input": {
459
+ "path": "<target_folder>",
460
+ "type": "directory",
461
+ "content": "Package source"
462
+ },
463
+ "output": {
464
+ "path": "<target_folder>/README.md",
465
+ "type": "markdown",
466
+ "content": "Module purpose, usage examples, API surface."
467
+ }
468
+ }
469
+ }
470
+ },
471
+ "wbStandup": {
472
+ "description": "Consolidates unfinished work (open tickets, failing audits) into a single agenda.",
473
+ "args": {
474
+ "withAFolder": {
475
+ "syntax": "/wbStandup <target_folder>",
476
+ "example": {
477
+ "example1": {
478
+ "command": "/wbStandup frontEnd/wbc-ui/core2",
479
+ "description": "Generates a monorepo-wide daily standup report."
480
+ }
481
+ },
482
+ "input": {
483
+ "path": "<target_folder>",
484
+ "type": "directory",
485
+ "content": "All reports/**/plans/*.md and reports/**/audits/*.md"
486
+ },
487
+ "output": {
488
+ "path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/standups/daily_standup.md",
489
+ "type": "markdown",
490
+ "content": "Grouped open tickets, audit debt, and definitive next-command recommendation."
491
+ }
492
+ }
493
+ },
494
+ "flags": {
495
+ "--act": {
496
+ "flag": "--act",
497
+ "role": "Passes the standup to /wbActOn to rank the findings.",
498
+ "example": {
499
+ "example1": {
500
+ "command": "/wbStandup core2/ --act",
501
+ "description": "Generates standup and action order."
502
+ }
503
+ }
504
+ },
505
+ "--wbPlan": {
506
+ "flag": "--wbPlan",
507
+ "role": "Generates a plan directly from the standup items.",
508
+ "example": {
509
+ "example1": {
510
+ "command": "/wbStandup core2/ --wbPlan",
511
+ "description": "Generates standup and plan."
512
+ }
513
+ }
514
+ }
515
+ }
516
+ },
517
+ "wbVision": {
518
+ "description": "Proposes 3 highly innovative, strategic features to build next.",
519
+ "args": {
520
+ "withAFolder": {
521
+ "syntax": "/wbVision <target_package_or_root>",
522
+ "example": {
523
+ "example1": {
524
+ "command": "/wbVision packages/wb-code",
525
+ "description": "Proposes next-gen features for wb-code."
526
+ }
527
+ },
528
+ "input": {
529
+ "path": "<target_package_or_root>",
530
+ "type": "directory",
531
+ "content": "context.md, ecosystem_urls.md"
532
+ },
533
+ "output": {
534
+ "path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/visions/vision_proposal.md",
535
+ "type": "markdown",
536
+ "content": "3 distinct feature ideas with 'Why it matters' and 'Complexity'."
537
+ }
538
+ }
539
+ }
540
+ },
541
+ "wbBroadcast": {
542
+ "description": "Generates an Announcement Kit and manages version lifecycle status.",
543
+ "args": {
544
+ "withAFolder": {
545
+ "syntax": "/wbBroadcast <target_package_or_app>",
546
+ "example": {
547
+ "example1": {
548
+ "command": "/wbBroadcast packages/wb-press2",
549
+ "description": "Creates announcement kit for wb-press2 release."
550
+ }
551
+ },
552
+ "input": {
553
+ "path": "<target_package_or_app>",
554
+ "type": "directory",
555
+ "content": "Latest /wbRelease and /wbAudit reports"
556
+ },
557
+ "output": {
558
+ "path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/broadcasts/announcement_kit.md",
559
+ "type": "markdown",
560
+ "content": "Social media drafts, GitHub release notes, Blog post, VERSION_STATUS.md suggestion."
561
+ }
562
+ }
563
+ }
564
+ },
565
+ "wbGit": {
566
+ "description": "Analyzes current file changes and generates Conventional Commits.",
567
+ "args": {
568
+ "withAFolder": {
569
+ "syntax": "/wbGit",
570
+ "example": {
571
+ "example1": {
572
+ "command": "/wbGit",
573
+ "description": "Generates commit message for CWD."
574
+ }
575
+ },
576
+ "input": {
577
+ "path": "CWD",
578
+ "type": "directory",
579
+ "content": "git status, git diff, recent plans/standups"
580
+ },
581
+ "output": {
582
+ "path": "stdout",
583
+ "type": "string",
584
+ "content": "Strict Conventional Commit message with optional body."
585
+ }
586
+ }
587
+ }
588
+ },
589
+ "wbSecure": {
590
+ "description": "Scans for vulnerabilities (secrets, XSS, insecure deps).",
591
+ "args": {
592
+ "withAFolder": {
593
+ "syntax": "/wbSecure <target_path>",
594
+ "example": {
595
+ "example1": {
596
+ "command": "/wbSecure packages/wb-core",
597
+ "description": "Performs red team security scan on wb-core."
598
+ }
599
+ },
600
+ "input": {
601
+ "path": "<target_path>",
602
+ "type": "directory",
603
+ "content": "Source code, package.json"
604
+ },
605
+ "output": {
606
+ "path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/security/security_audit.md",
607
+ "type": "markdown",
608
+ "content": "Security findings categorized as CRITICAL, WARNING, or SAFE."
609
+ }
610
+ }
611
+ }
612
+ },
613
+ "wbTranslate": {
614
+ "description": "Extracts hardcoded strings and generates localized JSON files (EN, FR, AR).",
615
+ "args": {
616
+ "withAFile": {
617
+ "syntax": "/wbTranslate <target_ui_component>",
618
+ "example": {
619
+ "example1": {
620
+ "command": "/wbTranslate packages/wb-core/src/components/Banner.vue",
621
+ "description": "Translates strings in Banner.vue."
622
+ }
623
+ },
624
+ "input": {
625
+ "path": "<target_ui_component>",
626
+ "type": "file",
627
+ "content": "Vue component"
628
+ },
629
+ "output": {
630
+ "path": "stdout",
631
+ "type": "markdown",
632
+ "content": "Summary of extracted keys and generated JSON content."
633
+ }
634
+ }
635
+ }
636
+ },
637
+ "wbToWBC": {
638
+ "description": "Rewrites legacy bulky HTML/Vuetify into proprietary WBC-UI2 JSON components.",
639
+ "args": {
640
+ "withAFile": {
641
+ "syntax": "/wbToWBC <legacy_component>",
642
+ "example": {
643
+ "example1": {
644
+ "command": "/wbToWBC legacy-table.vue",
645
+ "description": "Converts legacy table to wb-dataviewer JSON prop."
646
+ }
647
+ },
648
+ "input": {
649
+ "path": "<legacy_component>",
650
+ "type": "file",
651
+ "content": "Legacy Vue code"
652
+ },
653
+ "output": {
654
+ "path": "<target_folder>/migration_report.md",
655
+ "type": "markdown",
656
+ "content": "Rewritten component code, Before & After line counts."
657
+ }
658
+ }
659
+ }
660
+ },
661
+ "wbMonetize": {
662
+ "description": "Bootstraps or maintains the Free/Pro/Dev tier splitting plumbing.",
663
+ "args": {
664
+ "withAFolder": {
665
+ "syntax": "/wbMonetize <package_path>",
666
+ "example": {
667
+ "example1": {
668
+ "command": "/wbMonetize packages/wb-dataviewer",
669
+ "description": "Bootstraps monetization for dataviewer."
670
+ }
671
+ },
672
+ "input": {
673
+ "path": "<package_path>",
674
+ "type": "directory",
675
+ "content": "package.json (.wbMonetize field), source code"
676
+ },
677
+ "output": {
678
+ "path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/monetize/monetize_<pkg>_<HHMMSS>.md",
679
+ "type": "markdown",
680
+ "content": "Mode (bootstrap/maintenance), feature split proposal, plumbing checklist, updated marker."
681
+ }
682
+ }
683
+ }
684
+ },
685
+ "wbActOn": {
686
+ "description": "Turns a diagnostic document (audit, plan, review) into a ranked execution order.",
687
+ "args": {
688
+ "withAFile": {
689
+ "syntax": "/wbActOn <file_path>",
690
+ "example": {
691
+ "example1": {
692
+ "command": "/wbActOn packages/wb-core/.../audit_wb-core_20260426.md",
693
+ "description": "Processes the audit and outputs an execution ranking."
694
+ }
695
+ },
696
+ "input": {
697
+ "path": "<file_path>",
698
+ "type": "file",
699
+ "content": "Markdown diagnostic document"
700
+ },
701
+ "output": {
702
+ "path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/actions/action_<source_type>_<short_name>_<YYYYMMDD>.md",
703
+ "type": "markdown",
704
+ "content": "Annotated source with [Model action] callouts and §0 Ranked Execution Order."
705
+ }
706
+ },
707
+ "withAFolder": {
708
+ "syntax": "/wbActOn <folder_path>",
709
+ "example": {
710
+ "example1": {
711
+ "command": "/wbActOn packages/wb-core",
712
+ "description": "Finds latest report in the folder to act on."
713
+ }
714
+ },
715
+ "input": {
716
+ "path": "<folder_path>",
717
+ "type": "directory",
718
+ "content": "Directory containing reports"
719
+ },
720
+ "output": {
721
+ "path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/actions/.../action_*.md",
722
+ "type": "markdown",
723
+ "content": "Annotated source with ranked order."
724
+ }
725
+ }
726
+ },
727
+ "flags": {
728
+ "--wbPlan": {
729
+ "flag": "--wbPlan",
730
+ "role": "Also produces a sibling plan file containing one task table per 🔵 finding from the action file.",
731
+ "example": {
732
+ "example1": {
733
+ "command": "/wbActOn audit_wb-core.md --wbPlan",
734
+ "description": "Generates the action ranking and the corresponding wbPlan."
735
+ }
736
+ }
737
+ }
738
+ }
739
+ },
740
+ "wbCheck": {
741
+ "description": "Pre-Flight Context Quiz to verify worker model understanding.",
742
+ "args": {
743
+ "withAFolder": {
744
+ "syntax": "/wbCheck <target_package_or_app>",
745
+ "example": {
746
+ "example1": {
747
+ "command": "/wbCheck packages/wb-core",
748
+ "description": "Tests all categories for that package."
749
+ }
750
+ },
751
+ "input": {
752
+ "path": "<target_package_or_app>",
753
+ "type": "directory",
754
+ "content": "Source code ONLY"
755
+ },
756
+ "output": {
757
+ "path": "stdout",
758
+ "type": "string",
759
+ "content": "Model answers to the quiz questions followed by pass verdict check."
760
+ }
761
+ }
762
+ }
763
+ },
764
+ "wbExplain": {
765
+ "description": "Generate persistent, formatted explanations for a specific task ID, a codebase architecture, or a general technical question, without executing code changes.",
766
+ "role": "The Teacher / The Architect",
767
+ "args": {
768
+ "withTask": {
769
+ "syntax": "/wbExplain <plan_file> --id=<task_id>",
770
+ "example": {
771
+ "example1": {
772
+ "command": "/wbExplain plan_wb-core_20260503.md --id=1 --as=eli5",
773
+ "description": "Explains task #1 from the plan using ELI5 style."
774
+ }
775
+ },
776
+ "input": {
777
+ "path": "<plan_file>",
778
+ "type": "file",
779
+ "content": "The plan markdown file containing the task"
780
+ },
781
+ "output": {
782
+ "path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/explanations/explain_<slug>_<YYYYMMDD>.md",
783
+ "type": "markdown",
784
+ "content": "High-level summary, deep dive, and recommended approach."
785
+ }
786
+ },
787
+ "withQuery": {
788
+ "syntax": "/wbExplain <target_folder> \"<query>\"",
789
+ "example": {
790
+ "example1": {
791
+ "command": "/wbExplain packages/wb-core/ \"How does the Tier parser work?\" --as=expert",
792
+ "description": "Deep dives into the architecture question for the wb-core package."
793
+ }
794
+ },
795
+ "input": {
796
+ "path": "<target_folder>",
797
+ "type": "directory",
798
+ "content": "Source files relevant to the query"
799
+ },
800
+ "output": {
801
+ "path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/explanations/explain_<slug>_<YYYYMMDD>.md",
802
+ "type": "markdown",
803
+ "content": "High-level summary, deep dive, and recommended approach."
804
+ }
805
+ }
806
+ },
807
+ "flags": {
808
+ "--as": {
809
+ "flag": "--as=<style>",
810
+ "role": "Adopts an exact tone or formatting style from shortcuts.md (e.g. eli5, expert, fr).",
811
+ "example": {
812
+ "example1": {
813
+ "command": "/wbExplain plan.md --id=1 --as=eli5,fr",
814
+ "description": "Explains the task in French, using an ELI5 analogy."
815
+ }
816
+ }
817
+ }
818
+ }
819
+ },
820
+ "wbValid": {
821
+ "description": "Validates a worker's output by running an adversarial review — a second model checks the first model's work for correctness, completeness, and quality.",
822
+ "role": "The Validator / QA",
823
+ "args": {
824
+ "withAFile": {
825
+ "syntax": "/wbValid <plan_or_report_path> --id=<task_id>",
826
+ "example": {
827
+ "example1": {
828
+ "command": "/wbValid packages/wb-core/.wb/workflows/reports/2026/05/01/plans/plan_wb-core_20260501.md --id=3",
829
+ "description": "Validates task 3 from the wb-core plan file."
830
+ }
831
+ },
832
+ "input": {
833
+ "path": "<plan_or_report_path>",
834
+ "type": "file",
835
+ "content": "Plan or report file with task table"
836
+ },
837
+ "output": {
838
+ "path": "<target>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/validations/valid_<target>_<YYYYMMDD>.md",
839
+ "type": "markdown",
840
+ "content": "Validation report with score, findings, and verdict"
841
+ }
842
+ }
843
+ }
844
+ },
845
+ "wbWork": {
846
+ "description": "Executes one or more tasks from a plan file as the Worker model, producing a task report and updating the plan's Done column.",
847
+ "role": "The Worker / Executor",
848
+ "args": {
849
+ "withAFileAndId": {
850
+ "syntax": "/wbWork <plan_path> --id=<task_ids>",
851
+ "example": {
852
+ "example1": {
853
+ "command": "/wbWork plan_wb-core_20260501.md --id=1,2,3",
854
+ "description": "Executes tasks 1, 2, and 3 from the plan file."
855
+ }
856
+ },
857
+ "input": {
858
+ "path": "<plan_path>",
859
+ "type": "file",
860
+ "content": "Plan file with task table containing Task, Verify, Worker, and Validator columns"
861
+ },
862
+ "output": {
863
+ "path": "<target>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/plans/tasks_reports/task_<id>_<target>_<YYYYMMDD>.md",
864
+ "type": "markdown",
865
+ "content": "Task execution report with files read, files modified, and outcome commentary"
866
+ }
867
+ }
868
+ },
869
+ "flags": {
870
+ "--id": {
871
+ "flag": "--id=<task_ids>",
872
+ "role": "Specifies task indices to execute (supports =, >, <, !=, *).",
873
+ "example": {
874
+ "example1": {
875
+ "command": "/wbWork plan.md --id=2",
876
+ "description": "Execute only task 2 from the plan."
877
+ },
878
+ "example2": {
879
+ "command": "/wbWork plan.md --id=1,2,6",
880
+ "description": "Execute tasks 1, 2, and 6 from the plan."
881
+ }
882
+ }
883
+ },
884
+ "--open": {
885
+ "flag": "--open",
886
+ "role": "Sets Done column to ⬜ (Open) instead of executing. Overrides execution.",
887
+ "example": {
888
+ "example1": {
889
+ "command": "/wbWork plan.md --id=3 --open",
890
+ "description": "Re-open task 3 without executing it."
891
+ }
892
+ }
893
+ },
894
+ "--def": {
895
+ "flag": "--def",
896
+ "role": "Sets Done column to ⏸️ (Deferred). Overrides execution.",
897
+ "example": {
898
+ "example1": {
899
+ "command": "/wbWork plan.md --id=2 --def",
900
+ "description": "Defer task 2."
901
+ }
902
+ }
903
+ },
904
+ "--can": {
905
+ "flag": "--can",
906
+ "role": "Sets Done column to 🚫 (Cancelled). Overrides execution.",
907
+ "example": {
908
+ "example1": {
909
+ "command": "/wbWork plan.md --id=* --can",
910
+ "description": "Cancel all tasks."
911
+ }
912
+ }
913
+ }
914
+ }
915
+ },
916
+ "wbHelp": {
917
+ "description": "Meta-command that catalogs all /wb* commands (no args) or shows the per-command help block for a specific command; print-only, never writes reports.",
918
+ "role": "The Navigator",
919
+ "args": {
920
+ "catalog": {
921
+ "syntax": "/wbHelp",
922
+ "example": {
923
+ "example1": {
924
+ "command": "/wbHelp",
925
+ "description": "Prints the role-grouped table of all /wb* commands."
926
+ }
927
+ },
928
+ "input": {
929
+ "path": "frontEnd/wbc-ui/core2/packages/wb-flow/templates/commands/wb_commands_reference.claude.json",
930
+ "type": "file",
931
+ "content": "The command catalog JSON"
932
+ },
933
+ "output": {
934
+ "path": "stdout",
935
+ "type": "markdown",
936
+ "content": "Role-grouped table with #, Command, Role, Flags, What it does columns"
937
+ }
938
+ },
939
+ "perCommand": {
940
+ "syntax": "/wbHelp <wbX>",
941
+ "example": {
942
+ "example1": {
943
+ "command": "/wbHelp wbAudit",
944
+ "description": "Prints the HELP_BLOCK from the wbAudit template (identical to /wbAudit -h)."
945
+ }
946
+ },
947
+ "input": {
948
+ "path": "frontEnd/wbc-ui/core2/packages/wb-flow/templates/commands/<wbX>/<wbX>_template.md",
949
+ "type": "file",
950
+ "content": "The target command's template (specifically the HELP_GATE section)"
951
+ },
952
+ "output": {
953
+ "path": "stdout",
954
+ "type": "markdown",
955
+ "content": "Verbatim HELP_BLOCK from the target template"
956
+ }
957
+ }
958
+ }
959
+ },
960
+ "wbNext": {
961
+ "description": "Analyzes the current project state (recent reports, git status, stale TODOs) and produces a single ranked, actionable recommendation of what to do next.",
962
+ "role": "The Navigator",
963
+ "args": {
964
+ "withAFolder": {
965
+ "syntax": "/wbNext <target_folder>",
966
+ "example": {
967
+ "example1": {
968
+ "command": "/wbNext packages/wb-core",
969
+ "description": "Recommends the next action for wb-core based on recent reports and current state."
970
+ }
971
+ },
972
+ "input": {
973
+ "path": "<target_folder>",
974
+ "type": "directory",
975
+ "content": "Package reports/, git status, context.md, dev.md"
976
+ },
977
+ "output": {
978
+ "path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/nexts/next_<folder_root_name>_<YYYYMMDD>.md",
979
+ "type": "markdown",
980
+ "content": "Situation Summary, Suggested Next Actions (ranked table), Tips & Warnings"
981
+ }
982
+ },
983
+ "selfCorrect": {
984
+ "syntax": "/wbNext <existing_next_file>",
985
+ "example": {
986
+ "example1": {
987
+ "command": "/wbNext packages/wb-core/.wb/workflows/reports/2026/05/03/nexts/next_wb-core_20260503.md",
988
+ "description": "Re-ranks and fills missing fields in an existing next-action file (self-correct mode)."
989
+ }
990
+ },
991
+ "input": {
992
+ "path": "<existing_next_file>",
993
+ "type": "file",
994
+ "content": "Existing next-action markdown file matching the next-output schema"
995
+ },
996
+ "output": {
997
+ "path": "<same file>",
998
+ "type": "markdown",
999
+ "content": "Re-ranked suggestions with missing fields filled; user annotations preserved"
1000
+ }
1001
+ }
1002
+ },
1003
+ "flags": {
1004
+ "--scope": {
1005
+ "flag": "--scope",
1006
+ "role": "Narrows the analysis to a specific package or path.",
1007
+ "example": {
1008
+ "example1": {
1009
+ "command": "/wbNext --scope=packages/wb-core",
1010
+ "description": "Scopes the recommendation to the wb-core package."
1011
+ }
1012
+ }
1013
+ },
1014
+ "--since": {
1015
+ "flag": "--since",
1016
+ "role": "Limits the report scan window; defaults to 7d.",
1017
+ "example": {
1018
+ "example1": {
1019
+ "command": "/wbNext --since=14d",
1020
+ "description": "Scans reports from the last 14 days instead of the default 7."
1021
+ }
1022
+ }
1023
+ }
1024
+ }
1025
+ },
1026
+ "wbIdea": {
1027
+ "description": "Tracks, scores, and validates ideas before promoting them to active plans.",
1028
+ "args": {
1029
+ "withAFolder": {
1030
+ "syntax": "/wbIdea <target_folder>",
1031
+ "example": {
1032
+ "example1": {
1033
+ "command": "/wbIdea packages/wb-core",
1034
+ "description": "Captures and scores an idea for the wb-core package."
1035
+ }
1036
+ },
1037
+ "input": {
1038
+ "path": "<target_folder>",
1039
+ "type": "directory",
1040
+ "content": "context.md, dev.md, source code"
1041
+ },
1042
+ "output": {
1043
+ "path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/ideas/idea_<folder_root_name>_<YYYYMMDD>.md",
1044
+ "type": "markdown",
1045
+ "content": "Ideas table with Score, description, Priority, Est. Time, Valid column"
1046
+ }
1047
+ }
1048
+ },
1049
+ "flags": {
1050
+ "--focus": {
1051
+ "flag": "--focus",
1052
+ "role": "Narrows the idea capture to a specific sub-system or concern.",
1053
+ "example": {
1054
+ "example1": {
1055
+ "command": "/wbIdea packages/wb-core --focus=\"renderer\"",
1056
+ "description": "Captures ideas scoped to the renderer sub-system."
1057
+ }
1058
+ }
1059
+ }
1060
+ }
1061
+ },
1062
+ "wbTrack": {
1063
+ "description": "Toggles session tracking ON so every /wb* command produces its normal report AND appends a §N section to a universal daily session file with strategic commentary.",
1064
+ "role": "The Synchronizer",
1065
+ "args": {
1066
+ "withAFolder": {
1067
+ "syntax": "/wbTrack <target_path>",
1068
+ "example": {
1069
+ "example1": {
1070
+ "command": "/wbTrack packages/wb-core",
1071
+ "description": "Starts tracking for the wb-core package."
1072
+ }
1073
+ },
1074
+ "input": {
1075
+ "path": "<target_path>",
1076
+ "type": "directory",
1077
+ "content": "Package source code, .agents/ files, past reports"
1078
+ },
1079
+ "output": {
1080
+ "path": "<target_path>/.wb/workflows/tracks/<YYYY>/<MM>/<DD>/track_<target_name>_<YYYYMMDD>.md",
1081
+ "type": "markdown",
1082
+ "content": "§0 Strategic Vision, contributor entries, per-command §N sections with Commentary and Recommended Next table"
1083
+ }
1084
+ }
1085
+ },
1086
+ "flags": {
1087
+ "--finalize": {
1088
+ "flag": "--finalize",
1089
+ "role": "Extracts derivative files (tips, warnings, importants, commentaries, all_commands, resume) from the session file.",
1090
+ "example": {
1091
+ "example1": {
1092
+ "command": "/wbStopTrack --finalize",
1093
+ "description": "Ends tracking and extracts all derivatives from today's session file."
1094
+ }
1095
+ }
1096
+ },
1097
+ "--scope": {
1098
+ "flag": "--scope",
1099
+ "role": "Narrows the session tracking to a specific package or scope.",
1100
+ "example": {
1101
+ "example1": {
1102
+ "command": "/wbTrack --scope=packages/wb-core",
1103
+ "description": "Starts tracking scoped to wb-core."
1104
+ }
1105
+ }
1106
+ }
1107
+ }
1108
+ }
1109
+ }