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.
- package/CHANGELOG.md +12 -0
- package/LICENSE +21 -0
- package/README.md +128 -0
- package/assets/demo.gif +0 -0
- package/bin/install.js +175 -0
- package/bin/link.js +71 -0
- package/bin/verify-wrappers.js +49 -0
- package/package.json +56 -0
- package/templates/commands/_shared/output_conventions.md +433 -0
- package/templates/commands/_shared/wb_universal_agent_instructions.md +72 -0
- package/templates/commands/model_recommendation_updates.md +74 -0
- package/templates/commands/model_recommendations.md +112 -0
- package/templates/commands/wbActOn/wbActOn_template.md +546 -0
- package/templates/commands/wbAudit/wbAudit_template.md +315 -0
- package/templates/commands/wbBroadcast/wbBroadcast_template.md +133 -0
- package/templates/commands/wbCheck/wbCheck_template.md +322 -0
- package/templates/commands/wbClean/wbClean_template.md +118 -0
- package/templates/commands/wbContext/wbContext_template.md +213 -0
- package/templates/commands/wbDebug/wbDebug_template.md +132 -0
- package/templates/commands/wbDeploy/wbDeploy_template.md +224 -0
- package/templates/commands/wbDoc/wbDoc_template.md +138 -0
- package/templates/commands/wbExplain/wbExplain_template.md +98 -0
- package/templates/commands/wbGit/wbGit_template.md +160 -0
- package/templates/commands/wbHelp/wbHelp_template.md +101 -0
- package/templates/commands/wbIdea/wbIdea_template.md +337 -0
- package/templates/commands/wbLicense/wbLicense_template.md +148 -0
- package/templates/commands/wbMonetize/wbMonetize_template.md +113 -0
- package/templates/commands/wbNext/wbNext_template.md +270 -0
- package/templates/commands/wbPlan/wbPlan_template.md +413 -0
- package/templates/commands/wbPublish/wbPublish_template.md +205 -0
- package/templates/commands/wbRefactor/wbRefactor_template.md +129 -0
- package/templates/commands/wbRelease/wbRelease_template.md +229 -0
- package/templates/commands/wbReview/wbReview_template.md +252 -0
- package/templates/commands/wbSecure/wbSecure_template.md +157 -0
- package/templates/commands/wbSetup/wbSetup_template.md +203 -0
- package/templates/commands/wbStandup/wbStandup_template.md +198 -0
- package/templates/commands/wbTest/wbTest_template.md +226 -0
- package/templates/commands/wbToWBC/wbToWBC_template.md +91 -0
- package/templates/commands/wbTrack/wbTrack_template.md +555 -0
- package/templates/commands/wbTranslate/wbTranslate_template.md +114 -0
- package/templates/commands/wbValid/wbValid_template.md +142 -0
- package/templates/commands/wbVision/wbVision_template.md +141 -0
- package/templates/commands/wbWork/wbWork_template.md +140 -0
- package/templates/commands/wb_commands_reference.claude.json +2305 -0
- package/templates/commands/wb_commands_reference.json +1109 -0
- package/templates/shortcuts/shortcuts.md +413 -0
- package/templates/shortcuts/usage-management-examples-shortcuts/budget_controllers_examples.md +96 -0
- package/templates/shortcuts/usage-management-examples-shortcuts/ultimate_shortcuts_examples.md +1531 -0
|
@@ -0,0 +1,2305 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema_version": "1.0",
|
|
3
|
+
"$generator": "Claude Opus 4.7 (extended companion to wb_commands_reference.json)",
|
|
4
|
+
"$generated_on": "2026-04-26",
|
|
5
|
+
"$purpose": "Tree representation of all /wb* commands with full dependencies, flags, chains, recommended models, prerequisites, and refusal conditions. Read this before running any /wb* command in chains.",
|
|
6
|
+
"$canon_reference": "../1_concepts/wbPlan_flag_claude.md",
|
|
7
|
+
"$flag_matrix_legend": {
|
|
8
|
+
"--act": "Routes the source command's output through the /wbActOn engine — produces a ranked execution thread (action file).",
|
|
9
|
+
"--wbPlan": "Routes the source command's output through the /wbActOn plan-generation phase — produces a sibling plan file with worker/validator task tables for 🔵 multi-step findings.",
|
|
10
|
+
"--act --wbPlan": "Composable. Produces source output + action file + plan file in one run.",
|
|
11
|
+
"self_no_op": "/wbPlan --wbPlan errors: cannot plan a plan."
|
|
12
|
+
},
|
|
13
|
+
"$smart_merge_protocol": {
|
|
14
|
+
"description": "When a second model appends to an existing daily file for a finding-based command, it MUST scan for duplicate findings and build a Consensus Table instead of blindly appending. First model writes normally; second model promotes to consensus.",
|
|
15
|
+
"applies_to": [
|
|
16
|
+
"wbPlan",
|
|
17
|
+
"wbAudit",
|
|
18
|
+
"wbActOn",
|
|
19
|
+
"wbSecure",
|
|
20
|
+
"wbClean",
|
|
21
|
+
"wbReview"
|
|
22
|
+
],
|
|
23
|
+
"does_not_apply": [
|
|
24
|
+
"wbContext",
|
|
25
|
+
"wbStandup",
|
|
26
|
+
"wbTrack",
|
|
27
|
+
"wbDebug",
|
|
28
|
+
"wbVision",
|
|
29
|
+
"wbBroadcast",
|
|
30
|
+
"wbGit",
|
|
31
|
+
"wbRelease",
|
|
32
|
+
"wbPublish",
|
|
33
|
+
"wbDeploy",
|
|
34
|
+
"wbDoc",
|
|
35
|
+
"wbSetup",
|
|
36
|
+
"wbRefactor",
|
|
37
|
+
"wbTest",
|
|
38
|
+
"wbTranslate",
|
|
39
|
+
"wbToWBC",
|
|
40
|
+
"wbLicense",
|
|
41
|
+
"wbMonetize"
|
|
42
|
+
],
|
|
43
|
+
"consensus_rules": {
|
|
44
|
+
"worker": "Unanimous → use it. Code-heavy → pick throughput model. Reasoning-heavy → pick depth model. Tie → first-mover.",
|
|
45
|
+
"validator": "Pick the model NOT chosen as worker (independent perspective).",
|
|
46
|
+
"severity": "When models disagree, use the HIGHER severity (conservative).",
|
|
47
|
+
"confidence": "🟢 N/N = all agree, 🟡 K/N = partial, 🔴 1/N = single model only."
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"$unified_plan_backlog": {
|
|
51
|
+
"description": "The plan file is the single source of truth for ALL work items. Commands that detect issues auto-send findings to the plan file alongside their normal report output.",
|
|
52
|
+
"plan_file_path": "<target>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/plans/plan_<target>_<YYYYMMDD>.md",
|
|
53
|
+
"v3_table_columns": [
|
|
54
|
+
"#",
|
|
55
|
+
"Origin",
|
|
56
|
+
"Task",
|
|
57
|
+
"Verify",
|
|
58
|
+
"P",
|
|
59
|
+
"Worker",
|
|
60
|
+
"Validator",
|
|
61
|
+
"☐ Done",
|
|
62
|
+
"☐ Valid"
|
|
63
|
+
],
|
|
64
|
+
"priority_scale": {
|
|
65
|
+
"P0": "critical",
|
|
66
|
+
"P1": "high",
|
|
67
|
+
"P2": "medium",
|
|
68
|
+
"P3": "low"
|
|
69
|
+
},
|
|
70
|
+
"sends_to_plan": {
|
|
71
|
+
"wbAudit": {
|
|
72
|
+
"section_title": "🔍 Audit Findings",
|
|
73
|
+
"threshold": "findings ≥ P2"
|
|
74
|
+
},
|
|
75
|
+
"wbReview": {
|
|
76
|
+
"section_title": "📝 Review Failures",
|
|
77
|
+
"threshold": "FAIL items"
|
|
78
|
+
},
|
|
79
|
+
"wbSecure": {
|
|
80
|
+
"section_title": "🛡️ Security Alerts",
|
|
81
|
+
"threshold": "CRITICAL + WARNING"
|
|
82
|
+
},
|
|
83
|
+
"wbClean": {
|
|
84
|
+
"section_title": "🧹 Cleanup Targets",
|
|
85
|
+
"threshold": "High + Medium"
|
|
86
|
+
},
|
|
87
|
+
"wbActOn": {
|
|
88
|
+
"section_title": "🎯 Action Items",
|
|
89
|
+
"threshold": "🔵 items"
|
|
90
|
+
},
|
|
91
|
+
"wbTest": {
|
|
92
|
+
"section_title": "🧪 Test Failures",
|
|
93
|
+
"threshold": "failing suites"
|
|
94
|
+
},
|
|
95
|
+
"wbDebug": {
|
|
96
|
+
"section_title": "🐛 Bug Fix",
|
|
97
|
+
"threshold": "root cause + fix"
|
|
98
|
+
},
|
|
99
|
+
"wbPlan": {
|
|
100
|
+
"section_title": "📋 Plan Batch",
|
|
101
|
+
"threshold": "all tasks (native)"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"does_not_send": [
|
|
105
|
+
"wbContext",
|
|
106
|
+
"wbStandup",
|
|
107
|
+
"wbTrack",
|
|
108
|
+
"wbGit",
|
|
109
|
+
"wbRefactor",
|
|
110
|
+
"wbSetup",
|
|
111
|
+
"wbVision",
|
|
112
|
+
"wbBroadcast",
|
|
113
|
+
"wbDoc",
|
|
114
|
+
"wbRelease",
|
|
115
|
+
"wbPublish",
|
|
116
|
+
"wbDeploy",
|
|
117
|
+
"wbTranslate",
|
|
118
|
+
"wbToWBC",
|
|
119
|
+
"wbLicense",
|
|
120
|
+
"wbMonetize"
|
|
121
|
+
],
|
|
122
|
+
"recursive_tasks": {
|
|
123
|
+
"description": "When a Task cell contains a /wb* command, executing it spawns a sub-plan appended to the same file.",
|
|
124
|
+
"sub_task_numbering": "Hierarchical: Task #3 → sub-tasks 3.1, 3.2, 3.3",
|
|
125
|
+
"max_depth": 2,
|
|
126
|
+
"section_title": "🔄 Sub-plan for Task #N"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"$model_recommendation_legend": {
|
|
130
|
+
"sonnet_4": "Fast, cheap. Best for one-shot inline edits, simple lookups, formatting.",
|
|
131
|
+
"opus_4": "Reasoning-heavy. Best for triage, refactor judgment, strategic memos, plan decomposition.",
|
|
132
|
+
"qwen3_coder": "Code-throughput. Best for sweeps, mechanical refactors, scaffolding.",
|
|
133
|
+
"gemini_3_1_pro": "Long-form synthesis. Alternative to Opus for strategic / planning work.",
|
|
134
|
+
"gemini_flash": "High-throughput cheap. Best for repetitive jobs, batch translations.",
|
|
135
|
+
"deepseek_r1": "Validation. Best as a worker/validator pair counterpart to Claude or Qwen3."
|
|
136
|
+
},
|
|
137
|
+
"wbSetup": {
|
|
138
|
+
"description": "Initializes the Agentic Brain for the target folder by establishing its agentic identity.",
|
|
139
|
+
"role": "The Architect — bootstraps a new package's agentic context layer.",
|
|
140
|
+
"phase": "One-time per package",
|
|
141
|
+
"belt": "Black — used rarely; only when adding a new package",
|
|
142
|
+
"recommendedModel": "opus_4",
|
|
143
|
+
"args": {
|
|
144
|
+
"withAFolder": {
|
|
145
|
+
"syntax": "/wbSetup <target_path>",
|
|
146
|
+
"example": [
|
|
147
|
+
{
|
|
148
|
+
"command": "/wbSetup packages/wb-core",
|
|
149
|
+
"description": "Bootstrap wb-core's agentic context + dev rules."
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"command": "/wbSetup packages/new-pkg --focus=\"render-engine\"",
|
|
153
|
+
"description": "Bootstrap with deep focus on a sub-system."
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
"input": {
|
|
157
|
+
"path": "<target_path>",
|
|
158
|
+
"type": "directory",
|
|
159
|
+
"content": "package.json, source files"
|
|
160
|
+
},
|
|
161
|
+
"outputs": [
|
|
162
|
+
{
|
|
163
|
+
"path": "<target_path>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/setup/setup_<folder_root_name>_<YYYYMMDD>.md",
|
|
164
|
+
"type": "markdown",
|
|
165
|
+
"content": "Environmental Discovery, Core Workflow Files, Global Synchronization, Audit Trail"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"path": "<target_path>/.wb/workflows/context.md",
|
|
169
|
+
"type": "markdown",
|
|
170
|
+
"content": "Local context (created if missing)"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"path": "<target_path>/.wb/workflows/dev.md",
|
|
174
|
+
"type": "markdown",
|
|
175
|
+
"content": "Local dev rules (created if missing)"
|
|
176
|
+
}
|
|
177
|
+
]
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"flags": [
|
|
181
|
+
{
|
|
182
|
+
"long": "--focus",
|
|
183
|
+
"short": "-f"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"long": "--scope",
|
|
187
|
+
"short": "-s"
|
|
188
|
+
}
|
|
189
|
+
],
|
|
190
|
+
"chains_with": {
|
|
191
|
+
"feeds_into": [
|
|
192
|
+
"wbContext",
|
|
193
|
+
"wbVision",
|
|
194
|
+
"wbPlan"
|
|
195
|
+
],
|
|
196
|
+
"fed_by": []
|
|
197
|
+
},
|
|
198
|
+
"prerequisites": [
|
|
199
|
+
"package.json must exist at target_path",
|
|
200
|
+
"git working tree should be clean (recommended)"
|
|
201
|
+
],
|
|
202
|
+
"refuses_when": [
|
|
203
|
+
"target already has a wbSetup marker (re-run requires explicit --force)"
|
|
204
|
+
],
|
|
205
|
+
"notSuitableFor": [
|
|
206
|
+
"Adding rules to an already-bootstrapped package (use direct edits to dev.md instead)",
|
|
207
|
+
"Quick context refresh (use /wbContext)"
|
|
208
|
+
],
|
|
209
|
+
"references": {
|
|
210
|
+
"template": "wbSetup/wbSetup_template.md"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"wbContext": {
|
|
214
|
+
"description": "Generates a comprehensive Context Report (identity, dependencies, constraints).",
|
|
215
|
+
"role": "The Synchronizer — catches up the AI on the package's current state.",
|
|
216
|
+
"phase": "Morning (after /wbStandup)",
|
|
217
|
+
"belt": "White — first command every session",
|
|
218
|
+
"recommendedModel": "opus_4",
|
|
219
|
+
"args": {
|
|
220
|
+
"withAFolder": {
|
|
221
|
+
"syntax": "/wbContext <target_folder_path>",
|
|
222
|
+
"example": [
|
|
223
|
+
{
|
|
224
|
+
"command": "/wbContext packages/wb-core",
|
|
225
|
+
"description": "Full package context."
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"command": "/wbContext core2/ --scope=global",
|
|
229
|
+
"description": "Monorepo-wide context (rare)."
|
|
230
|
+
}
|
|
231
|
+
],
|
|
232
|
+
"input": {
|
|
233
|
+
"path": "<target_folder_path>",
|
|
234
|
+
"type": "directory",
|
|
235
|
+
"content": "package.json, index.js, config files"
|
|
236
|
+
},
|
|
237
|
+
"outputs": [
|
|
238
|
+
{
|
|
239
|
+
"path": "<target_folder_path>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/contexts/context_<folder_root_name>_<YYYYMMDD>.md",
|
|
240
|
+
"type": "markdown",
|
|
241
|
+
"content": "Identity, Dependencies, Constraints"
|
|
242
|
+
}
|
|
243
|
+
]
|
|
244
|
+
},
|
|
245
|
+
"withAFile": {
|
|
246
|
+
"syntax": "/wbContext <target_file_path>",
|
|
247
|
+
"example": [
|
|
248
|
+
{
|
|
249
|
+
"command": "/wbContext packages/wb-core/src/index.js",
|
|
250
|
+
"description": "Context for a single entry point."
|
|
251
|
+
}
|
|
252
|
+
],
|
|
253
|
+
"input": {
|
|
254
|
+
"path": "<target_file_path>",
|
|
255
|
+
"type": "file",
|
|
256
|
+
"content": "Source code file"
|
|
257
|
+
},
|
|
258
|
+
"outputs": [
|
|
259
|
+
{
|
|
260
|
+
"path": "<target_file_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/contexts/context_<file_name>_<YYYYMMDD>.md",
|
|
261
|
+
"type": "markdown",
|
|
262
|
+
"content": "Identity, Dependencies, Constraints specific to the file"
|
|
263
|
+
}
|
|
264
|
+
]
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"flags": [
|
|
268
|
+
{
|
|
269
|
+
"long": "--focus",
|
|
270
|
+
"short": "-f"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"long": "--scope",
|
|
274
|
+
"short": "-s"
|
|
275
|
+
}
|
|
276
|
+
],
|
|
277
|
+
"chains_with": {
|
|
278
|
+
"feeds_into": [
|
|
279
|
+
"wbPlan",
|
|
280
|
+
"wbAudit",
|
|
281
|
+
"wbReview",
|
|
282
|
+
"wbDebug",
|
|
283
|
+
"wbRefactor"
|
|
284
|
+
],
|
|
285
|
+
"fed_by": [
|
|
286
|
+
"wbSetup",
|
|
287
|
+
"wbStandup"
|
|
288
|
+
]
|
|
289
|
+
},
|
|
290
|
+
"prerequisites": [
|
|
291
|
+
"package.json exists",
|
|
292
|
+
"ideally a prior /wbSetup, but not required"
|
|
293
|
+
],
|
|
294
|
+
"refuses_when": [],
|
|
295
|
+
"notSuitableFor": [
|
|
296
|
+
"Triaging existing reports (use /wbStandup or /wbActOn)",
|
|
297
|
+
"Auditing code quality (use /wbAudit)"
|
|
298
|
+
],
|
|
299
|
+
"references": {
|
|
300
|
+
"template": "wbContext/wbContext_template.md"
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
"wbPlan": {
|
|
304
|
+
"description": "Creates a structured multi-agent task plan for a given problem or objective.",
|
|
305
|
+
"role": "The General — coordinates workers and validators.",
|
|
306
|
+
"phase": "Midday (when work is bigger than one sentence)",
|
|
307
|
+
"belt": "White — core loop with /wbContext + /wbAudit",
|
|
308
|
+
"recommendedModel": "opus_4",
|
|
309
|
+
"args": {
|
|
310
|
+
"withAFolder": {
|
|
311
|
+
"syntax": "/wbPlan <target_folder_path> [\"<problem description>\"]",
|
|
312
|
+
"example": [
|
|
313
|
+
{
|
|
314
|
+
"command": "/wbPlan packages/wb-press2",
|
|
315
|
+
"description": "Plan a feature on wb-press2."
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"command": "/wbPlan packages/wb-core --focus=\"WBC render engine\"",
|
|
319
|
+
"description": "Focused plan on a sub-system."
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"command": "/wbPlan packages/wb-code \"Add user auth UI\"",
|
|
323
|
+
"description": "Plan with explicit problem description."
|
|
324
|
+
}
|
|
325
|
+
],
|
|
326
|
+
"input": {
|
|
327
|
+
"path": "<target_folder_path>",
|
|
328
|
+
"type": "directory",
|
|
329
|
+
"content": "Context files, past audit/review reports, optional user description"
|
|
330
|
+
},
|
|
331
|
+
"outputs": [
|
|
332
|
+
{
|
|
333
|
+
"path": "<target_folder_path>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/plans/plan_<folder_root_name>_<YYYYMMDD>.md",
|
|
334
|
+
"type": "markdown",
|
|
335
|
+
"content": "Task table with worker/validator assignments, checkboxes (⬜/✅), scoring, multi-agent SmartPrompt header."
|
|
336
|
+
}
|
|
337
|
+
]
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
"flags": [
|
|
341
|
+
{
|
|
342
|
+
"long": "--resume",
|
|
343
|
+
"short": "-r"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"long": "--scope",
|
|
347
|
+
"short": "-s"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"long": "--task",
|
|
351
|
+
"short": "-t"
|
|
352
|
+
}
|
|
353
|
+
],
|
|
354
|
+
"chains_with": {
|
|
355
|
+
"feeds_into": [
|
|
356
|
+
"wbReview (when plan is reviewed against execution)",
|
|
357
|
+
"wbActOn (via --act)"
|
|
358
|
+
],
|
|
359
|
+
"fed_by": [
|
|
360
|
+
"wbContext",
|
|
361
|
+
"wbAudit (--wbPlan flag)",
|
|
362
|
+
"wbStandup (--wbPlan flag)",
|
|
363
|
+
"wbReview (--wbPlan flag)"
|
|
364
|
+
]
|
|
365
|
+
},
|
|
366
|
+
"prerequisites": [
|
|
367
|
+
"recent /wbContext on the target",
|
|
368
|
+
"ideally context.md and dev.md exist"
|
|
369
|
+
],
|
|
370
|
+
"refuses_when": [
|
|
371
|
+
"target has zero source files (nothing to plan)"
|
|
372
|
+
],
|
|
373
|
+
"notSuitableFor": [
|
|
374
|
+
"Tasks describable in one sentence (just describe; skip /wbPlan)",
|
|
375
|
+
"Triaging existing audit findings (use /wbAudit --act --wbPlan)"
|
|
376
|
+
],
|
|
377
|
+
"references": {
|
|
378
|
+
"template": "wbPlan/wbPlan_template.md"
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
"wbAudit": {
|
|
382
|
+
"description": "Performs a deep, honest, code-based technical audit.",
|
|
383
|
+
"role": "The Critic — brutal evidence-based review.",
|
|
384
|
+
"phase": "Afternoon (polish phase)",
|
|
385
|
+
"belt": "White — core loop with /wbContext + /wbPlan",
|
|
386
|
+
"recommendedModel": "opus_4",
|
|
387
|
+
"args": {
|
|
388
|
+
"withAFolder": {
|
|
389
|
+
"syntax": "/wbAudit <target_folder_path>",
|
|
390
|
+
"example": [
|
|
391
|
+
{
|
|
392
|
+
"command": "/wbAudit packages/wb-core",
|
|
393
|
+
"description": "Full audit of wb-core."
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"command": "/wbAudit frontEnd/wbc-ui/core2",
|
|
397
|
+
"description": "Monorepo-wide audit (broader perspective)."
|
|
398
|
+
}
|
|
399
|
+
],
|
|
400
|
+
"input": {
|
|
401
|
+
"path": "<target_folder_path>",
|
|
402
|
+
"type": "directory",
|
|
403
|
+
"content": "All code and architecture within the folder, prior audit reports for temporal memory"
|
|
404
|
+
},
|
|
405
|
+
"outputs": [
|
|
406
|
+
{
|
|
407
|
+
"path": "<target_folder_path>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/audits/audit_<folder_root_name>_<YYYYMMDD>.md",
|
|
408
|
+
"type": "markdown",
|
|
409
|
+
"content": "9-section audit report with tables, concrete evidence, score out of 10, status (BETA/PROD)."
|
|
410
|
+
}
|
|
411
|
+
]
|
|
412
|
+
},
|
|
413
|
+
"withAFile": {
|
|
414
|
+
"syntax": "/wbAudit <target_file_path>",
|
|
415
|
+
"example": [
|
|
416
|
+
{
|
|
417
|
+
"command": "/wbAudit packages/wb-core/dev.md",
|
|
418
|
+
"description": "Audit a single doc/file for missing points + comparison table."
|
|
419
|
+
}
|
|
420
|
+
],
|
|
421
|
+
"input": {
|
|
422
|
+
"path": "<target_file_path>",
|
|
423
|
+
"type": "file",
|
|
424
|
+
"content": "Single file content"
|
|
425
|
+
},
|
|
426
|
+
"outputs": [
|
|
427
|
+
{
|
|
428
|
+
"path": "<target_file_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/audits/audit_<file_name>_<YYYYMMDD>.md",
|
|
429
|
+
"type": "markdown",
|
|
430
|
+
"content": "File-level analysis + enhanced suggestion + comparison table."
|
|
431
|
+
}
|
|
432
|
+
]
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
"flags": [
|
|
436
|
+
{
|
|
437
|
+
"long": "--profile",
|
|
438
|
+
"short": "-p"
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"long": "--scope",
|
|
442
|
+
"short": "-s"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"long": "--security",
|
|
446
|
+
"short": "-S"
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"long": "--act",
|
|
450
|
+
"short": "-a"
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"long": "--wbPlan",
|
|
454
|
+
"short": "-P"
|
|
455
|
+
}
|
|
456
|
+
],
|
|
457
|
+
"chains_with": {
|
|
458
|
+
"feeds_into": [
|
|
459
|
+
"wbPlan (manual or via --wbPlan)",
|
|
460
|
+
"wbRefactor (when audit flags messy file)",
|
|
461
|
+
"wbDebug (when audit surfaces error)",
|
|
462
|
+
"wbActOn (via --act)"
|
|
463
|
+
],
|
|
464
|
+
"fed_by": [
|
|
465
|
+
"wbContext",
|
|
466
|
+
"wbStandup (recommends running audit on flagged packages)"
|
|
467
|
+
]
|
|
468
|
+
},
|
|
469
|
+
"prerequisites": [
|
|
470
|
+
"recent /wbContext on the same target (otherwise audits last-week's understanding)"
|
|
471
|
+
],
|
|
472
|
+
"refuses_when": [],
|
|
473
|
+
"notSuitableFor": [
|
|
474
|
+
"Adversarial security review (use /wbSecure)",
|
|
475
|
+
"Implementing fixes (use /wbRefactor or describe directly)"
|
|
476
|
+
],
|
|
477
|
+
"references": {
|
|
478
|
+
"template": "wbAudit/wbAudit_template.md"
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
"wbReview": {
|
|
482
|
+
"description": "Performs a formal quality review of an executed task against its original plan.",
|
|
483
|
+
"role": "The Inspector — surgical Plan vs Reality check.",
|
|
484
|
+
"phase": "After plan execution",
|
|
485
|
+
"belt": "Black — used after Path-B multi-agent loops",
|
|
486
|
+
"recommendedModel": "opus_4",
|
|
487
|
+
"args": {
|
|
488
|
+
"withAFolder": {
|
|
489
|
+
"syntax": "/wbReview <target_path> <path_to_plan_file>",
|
|
490
|
+
"example": [
|
|
491
|
+
{
|
|
492
|
+
"command": "/wbReview packages/wb-press2 packages/wb-press2/.wb/workflows/reports/.../plan_wb-press2.md",
|
|
493
|
+
"description": "Review wb-press2 implementation against its plan."
|
|
494
|
+
}
|
|
495
|
+
],
|
|
496
|
+
"input": {
|
|
497
|
+
"path": "<target_path>",
|
|
498
|
+
"type": "directory",
|
|
499
|
+
"content": "Current codebase + the ORIGINAL plan markdown file"
|
|
500
|
+
},
|
|
501
|
+
"outputs": [
|
|
502
|
+
{
|
|
503
|
+
"path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/reviews/review_<folder_root_name>_<YYYYMMDD>.md",
|
|
504
|
+
"type": "markdown",
|
|
505
|
+
"content": "Plan vs Reality, Technical Integrity, Score (1-10), PASS/FAIL."
|
|
506
|
+
}
|
|
507
|
+
]
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
"flags": [
|
|
511
|
+
{
|
|
512
|
+
"long": "--plan",
|
|
513
|
+
"short": "-p"
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"long": "--act",
|
|
517
|
+
"short": "-a"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"long": "--wbPlan",
|
|
521
|
+
"short": "-P"
|
|
522
|
+
}
|
|
523
|
+
],
|
|
524
|
+
"chains_with": {
|
|
525
|
+
"feeds_into": [
|
|
526
|
+
"wbPlan (--wbPlan)",
|
|
527
|
+
"wbActOn (--act)",
|
|
528
|
+
"wbRefactor (when review flags messy work)"
|
|
529
|
+
],
|
|
530
|
+
"fed_by": [
|
|
531
|
+
"wbPlan (the plan being reviewed)"
|
|
532
|
+
]
|
|
533
|
+
},
|
|
534
|
+
"prerequisites": [
|
|
535
|
+
"the plan file to review against must exist",
|
|
536
|
+
"execution work has happened (otherwise review is trivially FAIL)"
|
|
537
|
+
],
|
|
538
|
+
"refuses_when": [
|
|
539
|
+
"plan file path is invalid",
|
|
540
|
+
"no implementation work to review"
|
|
541
|
+
],
|
|
542
|
+
"notSuitableFor": [
|
|
543
|
+
"Code-quality review without a plan (use /wbAudit)",
|
|
544
|
+
"PR-level review without a plan (use a manual code review)"
|
|
545
|
+
],
|
|
546
|
+
"references": {
|
|
547
|
+
"template": "wbReview/wbReview_template.md"
|
|
548
|
+
}
|
|
549
|
+
},
|
|
550
|
+
"wbTest": {
|
|
551
|
+
"description": "Executes dynamic tests (UNIT, E2E, MANUAL, PERF) to verify code behavior.",
|
|
552
|
+
"role": "The Tester — runs the existing test suites.",
|
|
553
|
+
"phase": "Evening (before shipping)",
|
|
554
|
+
"belt": "Brown",
|
|
555
|
+
"recommendedModel": "sonnet_4",
|
|
556
|
+
"args": {
|
|
557
|
+
"withAFolder": {
|
|
558
|
+
"syntax": "/wbTest <target_path> <TEST_TYPE>",
|
|
559
|
+
"example": [
|
|
560
|
+
{
|
|
561
|
+
"command": "/wbTest packages/wb-core UNIT",
|
|
562
|
+
"description": "Unit tests for wb-core."
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"command": "/wbTest apps/demo.wbc-ui.com E2E",
|
|
566
|
+
"description": "E2E manual testing on the demo app."
|
|
567
|
+
}
|
|
568
|
+
],
|
|
569
|
+
"input": {
|
|
570
|
+
"path": "<target_path>",
|
|
571
|
+
"type": "directory",
|
|
572
|
+
"content": "Executable code, test suites"
|
|
573
|
+
},
|
|
574
|
+
"outputs": [
|
|
575
|
+
{
|
|
576
|
+
"path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/tests/test_<task_or_feature>_<YYYYMMDD>.md",
|
|
577
|
+
"type": "markdown",
|
|
578
|
+
"content": "Test setup, execution logs, verification results, PASS/FAIL."
|
|
579
|
+
}
|
|
580
|
+
]
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
"chains_with": {
|
|
584
|
+
"feeds_into": [
|
|
585
|
+
"wbDebug (on FAIL)",
|
|
586
|
+
"wbPublish/wbDeploy (gate)"
|
|
587
|
+
],
|
|
588
|
+
"fed_by": [
|
|
589
|
+
"wbPlan (test tasks)",
|
|
590
|
+
"wbRefactor (verify no regression)"
|
|
591
|
+
]
|
|
592
|
+
},
|
|
593
|
+
"prerequisites": [
|
|
594
|
+
"test suite exists in target",
|
|
595
|
+
"dependencies installed"
|
|
596
|
+
],
|
|
597
|
+
"refuses_when": [
|
|
598
|
+
"no test suite found (suggest creating one first)"
|
|
599
|
+
],
|
|
600
|
+
"notSuitableFor": [
|
|
601
|
+
"Static analysis (use /wbAudit)",
|
|
602
|
+
"Security scanning (use /wbSecure)"
|
|
603
|
+
],
|
|
604
|
+
"references": {
|
|
605
|
+
"template": "wbTest/wbTest_template.md"
|
|
606
|
+
},
|
|
607
|
+
"flags": [
|
|
608
|
+
{
|
|
609
|
+
"long": "--profile",
|
|
610
|
+
"short": "-p"
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"long": "--task",
|
|
614
|
+
"short": "-t"
|
|
615
|
+
}
|
|
616
|
+
]
|
|
617
|
+
},
|
|
618
|
+
"wbRelease": {
|
|
619
|
+
"description": "Orchestrates the release: resolves circular workspace deps, bumps versions across the monorepo.",
|
|
620
|
+
"role": "The Release Engineer — monorepo-wide version coordinator.",
|
|
621
|
+
"phase": "Evening (shipping)",
|
|
622
|
+
"belt": "Brown",
|
|
623
|
+
"recommendedModel": "opus_4",
|
|
624
|
+
"args": {
|
|
625
|
+
"withAFolder": {
|
|
626
|
+
"syntax": "/wbRelease <target_monorepo_path> <NEW_VERSION>",
|
|
627
|
+
"example": [
|
|
628
|
+
{
|
|
629
|
+
"command": "/wbRelease frontEnd/wbc-ui/core2 v1.0.0-r02",
|
|
630
|
+
"description": "Prepare v1.0.0-r02 across the monorepo."
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"command": "/wbRelease frontEnd/wbc-ui/core2 --restore",
|
|
634
|
+
"description": "Restore workspace:* protocols after publish."
|
|
635
|
+
}
|
|
636
|
+
],
|
|
637
|
+
"input": {
|
|
638
|
+
"path": "<target_monorepo_path>",
|
|
639
|
+
"type": "directory",
|
|
640
|
+
"content": "All package.json files, recent plans/audits"
|
|
641
|
+
},
|
|
642
|
+
"outputs": [
|
|
643
|
+
{
|
|
644
|
+
"path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/releases/release_<folder_root_name>_<YYYYMMDD>.md",
|
|
645
|
+
"type": "markdown",
|
|
646
|
+
"content": "CHANGELOG, topological build order, unlinking strategy."
|
|
647
|
+
}
|
|
648
|
+
]
|
|
649
|
+
}
|
|
650
|
+
},
|
|
651
|
+
"flags": [
|
|
652
|
+
{
|
|
653
|
+
"long": "--dry-run",
|
|
654
|
+
"short": "-d"
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"long": "--prerelease",
|
|
658
|
+
"short": "-p"
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"long": "--restore",
|
|
662
|
+
"short": "-r"
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"long": "--tag",
|
|
666
|
+
"short": "-t"
|
|
667
|
+
}
|
|
668
|
+
],
|
|
669
|
+
"chains_with": {
|
|
670
|
+
"feeds_into": [
|
|
671
|
+
"wbPublish (mandatory next step)",
|
|
672
|
+
"wbBroadcast"
|
|
673
|
+
],
|
|
674
|
+
"fed_by": [
|
|
675
|
+
"wbAudit (ensures nothing critical pending)",
|
|
676
|
+
"wbTest (must pass)"
|
|
677
|
+
]
|
|
678
|
+
},
|
|
679
|
+
"prerequisites": [
|
|
680
|
+
"recent /wbTest must PASS",
|
|
681
|
+
"no CRITICAL findings in /wbSecure",
|
|
682
|
+
"git working tree clean (recommended)"
|
|
683
|
+
],
|
|
684
|
+
"refuses_when": [
|
|
685
|
+
"recent /wbTest report shows failures",
|
|
686
|
+
"uncommitted changes exist"
|
|
687
|
+
],
|
|
688
|
+
"notSuitableFor": [
|
|
689
|
+
"Single-package release (use /wbPublish on the package directly)",
|
|
690
|
+
"Hot-fix without bumping (manual edit faster)"
|
|
691
|
+
],
|
|
692
|
+
"references": {
|
|
693
|
+
"template": "wbRelease/wbRelease_template.md"
|
|
694
|
+
}
|
|
695
|
+
},
|
|
696
|
+
"wbPublish": {
|
|
697
|
+
"description": "Executes the final build and NPM deployment based on the wbRelease plan.",
|
|
698
|
+
"role": "The Shipper — pushes packages to npm.",
|
|
699
|
+
"phase": "Evening (shipping)",
|
|
700
|
+
"belt": "Brown",
|
|
701
|
+
"recommendedModel": "sonnet_4",
|
|
702
|
+
"args": {
|
|
703
|
+
"withAFolder": {
|
|
704
|
+
"syntax": "/wbPublish <target_monorepo_path>",
|
|
705
|
+
"example": [
|
|
706
|
+
{
|
|
707
|
+
"command": "/wbPublish frontEnd/wbc-ui/core2",
|
|
708
|
+
"description": "Build + publish to NPM."
|
|
709
|
+
}
|
|
710
|
+
],
|
|
711
|
+
"input": {
|
|
712
|
+
"path": "<target_monorepo_path>",
|
|
713
|
+
"type": "directory",
|
|
714
|
+
"content": "Most recent release_*.md, prepared package.json files"
|
|
715
|
+
},
|
|
716
|
+
"outputs": [
|
|
717
|
+
{
|
|
718
|
+
"path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/publishes/publish_<folder_root_name>_<YYYYMMDD>.md",
|
|
719
|
+
"type": "markdown",
|
|
720
|
+
"content": "Publish log, npm dry-run output, errors if any."
|
|
721
|
+
}
|
|
722
|
+
]
|
|
723
|
+
}
|
|
724
|
+
},
|
|
725
|
+
"flags": [
|
|
726
|
+
{
|
|
727
|
+
"long": "--all",
|
|
728
|
+
"short": "-A"
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"long": "--dry-run",
|
|
732
|
+
"short": "-d"
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
"long": "--prerelease",
|
|
736
|
+
"short": "-p"
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
"long": "--restore",
|
|
740
|
+
"short": "-r"
|
|
741
|
+
}
|
|
742
|
+
],
|
|
743
|
+
"chains_with": {
|
|
744
|
+
"feeds_into": [
|
|
745
|
+
"wbBroadcast (announce the release)",
|
|
746
|
+
"wbRelease --restore (revert workspace links)"
|
|
747
|
+
],
|
|
748
|
+
"fed_by": [
|
|
749
|
+
"wbRelease (mandatory)"
|
|
750
|
+
]
|
|
751
|
+
},
|
|
752
|
+
"prerequisites": [
|
|
753
|
+
"recent /wbRelease in same cycle",
|
|
754
|
+
"/wbTest must PASS",
|
|
755
|
+
"/wbSecure must show no CRITICAL"
|
|
756
|
+
],
|
|
757
|
+
"refuses_when": [
|
|
758
|
+
"no recent /wbRelease (publishing without bump = re-publishing same tarball)",
|
|
759
|
+
"/wbSecure has CRITICAL findings",
|
|
760
|
+
"dist/ vs dist-dev/ mismatch in package.json"
|
|
761
|
+
],
|
|
762
|
+
"notSuitableFor": [
|
|
763
|
+
"Apps (use /wbDeploy)",
|
|
764
|
+
"Internal-only packages (skip)"
|
|
765
|
+
],
|
|
766
|
+
"references": {
|
|
767
|
+
"template": "wbPublish/wbPublish_template.md"
|
|
768
|
+
}
|
|
769
|
+
},
|
|
770
|
+
"wbDeploy": {
|
|
771
|
+
"description": "Builds and deploys an app (e.g. to GitHub Pages, Vercel, custom host).",
|
|
772
|
+
"role": "The Shipper (apps) — pushes apps to the live web.",
|
|
773
|
+
"phase": "Evening (shipping)",
|
|
774
|
+
"belt": "Brown",
|
|
775
|
+
"recommendedModel": "sonnet_4",
|
|
776
|
+
"args": {
|
|
777
|
+
"withAFolder": {
|
|
778
|
+
"syntax": "/wbDeploy <target_app_path>",
|
|
779
|
+
"example": [
|
|
780
|
+
{
|
|
781
|
+
"command": "/wbDeploy apps/demo.wbc-ui.com",
|
|
782
|
+
"description": "Deploy demo app to the live web."
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
"command": "/wbDeploy apps/demo.wbc-ui.com --target=local",
|
|
786
|
+
"description": "Serve the prod build locally for sanity check."
|
|
787
|
+
}
|
|
788
|
+
],
|
|
789
|
+
"input": {
|
|
790
|
+
"path": "<target_app_path>",
|
|
791
|
+
"type": "directory",
|
|
792
|
+
"content": "App build config, dist artifacts"
|
|
793
|
+
},
|
|
794
|
+
"outputs": [
|
|
795
|
+
{
|
|
796
|
+
"path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/deployments/deploy_<app_name>_<YYYYMMDD>.md",
|
|
797
|
+
"type": "markdown",
|
|
798
|
+
"content": "Deploy log, URL, base-url verification."
|
|
799
|
+
}
|
|
800
|
+
]
|
|
801
|
+
}
|
|
802
|
+
},
|
|
803
|
+
"flags": [
|
|
804
|
+
{
|
|
805
|
+
"long": "--dry-run",
|
|
806
|
+
"short": "-d"
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"long": "--prod",
|
|
810
|
+
"short": "-P"
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
"long": "--target",
|
|
814
|
+
"short": "-t"
|
|
815
|
+
}
|
|
816
|
+
],
|
|
817
|
+
"chains_with": {
|
|
818
|
+
"feeds_into": [
|
|
819
|
+
"wbBroadcast"
|
|
820
|
+
],
|
|
821
|
+
"fed_by": [
|
|
822
|
+
"wbTest (must pass)",
|
|
823
|
+
"wbSecure (no CRITICAL)"
|
|
824
|
+
]
|
|
825
|
+
},
|
|
826
|
+
"prerequisites": [
|
|
827
|
+
"recent /wbTest PASS",
|
|
828
|
+
"/wbSecure no CRITICAL",
|
|
829
|
+
"build artifacts up to date"
|
|
830
|
+
],
|
|
831
|
+
"refuses_when": [
|
|
832
|
+
"recent /wbTest failed",
|
|
833
|
+
"/wbSecure has CRITICAL findings",
|
|
834
|
+
"app has handling user input AND no recent /wbSecure"
|
|
835
|
+
],
|
|
836
|
+
"notSuitableFor": [
|
|
837
|
+
"NPM packages (use /wbPublish)",
|
|
838
|
+
"Hot-fix without test (build a tiny patch app instead)"
|
|
839
|
+
],
|
|
840
|
+
"references": {
|
|
841
|
+
"template": "wbDeploy/wbDeploy_template.md"
|
|
842
|
+
}
|
|
843
|
+
},
|
|
844
|
+
"wbClean": {
|
|
845
|
+
"description": "Finds dead code, unused files, console.log, commented-out blocks.",
|
|
846
|
+
"role": "The Janitor — surface-level mess removal.",
|
|
847
|
+
"phase": "Afternoon (polish)",
|
|
848
|
+
"belt": "Blue",
|
|
849
|
+
"recommendedModel": "qwen3_coder",
|
|
850
|
+
"args": {
|
|
851
|
+
"withAFolder": {
|
|
852
|
+
"syntax": "/wbClean <target_folder>",
|
|
853
|
+
"example": [
|
|
854
|
+
{
|
|
855
|
+
"command": "/wbClean packages/wb-core",
|
|
856
|
+
"description": "Find cleanup candidates in wb-core."
|
|
857
|
+
}
|
|
858
|
+
],
|
|
859
|
+
"input": {
|
|
860
|
+
"path": "<target_folder>",
|
|
861
|
+
"type": "directory",
|
|
862
|
+
"content": "Source files, test files"
|
|
863
|
+
},
|
|
864
|
+
"outputs": [
|
|
865
|
+
{
|
|
866
|
+
"path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/cleans/clean_<folder_root_name>_<YYYYMMDD>.md",
|
|
867
|
+
"type": "markdown",
|
|
868
|
+
"content": "List of files to delete, blocks to remove, with reasons."
|
|
869
|
+
}
|
|
870
|
+
]
|
|
871
|
+
}
|
|
872
|
+
},
|
|
873
|
+
"chains_with": {
|
|
874
|
+
"feeds_into": [
|
|
875
|
+
"wbAudit (clean before audit, but never refactor before audit)",
|
|
876
|
+
"wbRefactor (after clean)"
|
|
877
|
+
],
|
|
878
|
+
"fed_by": [
|
|
879
|
+
"wbAudit (when audit flags accumulated debt)"
|
|
880
|
+
]
|
|
881
|
+
},
|
|
882
|
+
"prerequisites": [],
|
|
883
|
+
"refuses_when": [
|
|
884
|
+
"target has no source files"
|
|
885
|
+
],
|
|
886
|
+
"notSuitableFor": [
|
|
887
|
+
"Logic refactors (use /wbRefactor)",
|
|
888
|
+
"Single-file cleanup (just edit directly)"
|
|
889
|
+
],
|
|
890
|
+
"references": {
|
|
891
|
+
"template": "wbClean/wbClean_template.md"
|
|
892
|
+
}
|
|
893
|
+
},
|
|
894
|
+
"wbLicense": {
|
|
895
|
+
"description": "Per-component license/tier gate injection on an already-monetized package.",
|
|
896
|
+
"role": "The Licensor — surgical tier-gate injection.",
|
|
897
|
+
"phase": "Cross-cutting",
|
|
898
|
+
"belt": "Black",
|
|
899
|
+
"recommendedModel": "opus_4",
|
|
900
|
+
"args": {
|
|
901
|
+
"withAFolder": {
|
|
902
|
+
"syntax": "/wbLicense <target_path> [--component <name>]",
|
|
903
|
+
"example": [
|
|
904
|
+
{
|
|
905
|
+
"command": "/wbLicense packages/wb-dataviewer --component AdvancedFilter",
|
|
906
|
+
"description": "Add Pro-tier gate to AdvancedFilter component."
|
|
907
|
+
}
|
|
908
|
+
],
|
|
909
|
+
"input": {
|
|
910
|
+
"path": "<target_path>",
|
|
911
|
+
"type": "directory",
|
|
912
|
+
"content": "Already-monetized package (has wbMonetize marker)"
|
|
913
|
+
},
|
|
914
|
+
"outputs": [
|
|
915
|
+
{
|
|
916
|
+
"path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/license/license_<component>_<YYYYMMDD>.md",
|
|
917
|
+
"type": "markdown"
|
|
918
|
+
}
|
|
919
|
+
]
|
|
920
|
+
}
|
|
921
|
+
},
|
|
922
|
+
"chains_with": {
|
|
923
|
+
"feeds_into": [
|
|
924
|
+
"wbTest (verify gate works)"
|
|
925
|
+
],
|
|
926
|
+
"fed_by": [
|
|
927
|
+
"wbMonetize (must be already bootstrapped)"
|
|
928
|
+
]
|
|
929
|
+
},
|
|
930
|
+
"prerequisites": [
|
|
931
|
+
"package has wbMonetize marker (run /wbMonetize first if not)"
|
|
932
|
+
],
|
|
933
|
+
"refuses_when": [
|
|
934
|
+
"package has no wbMonetize marker"
|
|
935
|
+
],
|
|
936
|
+
"notSuitableFor": [
|
|
937
|
+
"First-time tier system bootstrap (use /wbMonetize)",
|
|
938
|
+
"Free packages without Pro tier"
|
|
939
|
+
],
|
|
940
|
+
"references": {
|
|
941
|
+
"template": "wbLicense/wbLicense_template.md"
|
|
942
|
+
},
|
|
943
|
+
"flags": [
|
|
944
|
+
{
|
|
945
|
+
"long": "--scope",
|
|
946
|
+
"short": "-s"
|
|
947
|
+
}
|
|
948
|
+
]
|
|
949
|
+
},
|
|
950
|
+
"wbRefactor": {
|
|
951
|
+
"description": "File-level structural refactor (split, extract, rename) without changing behavior.",
|
|
952
|
+
"role": "The Surgeon — structural surgery on a specific file.",
|
|
953
|
+
"phase": "Afternoon (polish, conditional on audit)",
|
|
954
|
+
"belt": "Blue",
|
|
955
|
+
"recommendedModel": "opus_4",
|
|
956
|
+
"args": {
|
|
957
|
+
"withAFile": {
|
|
958
|
+
"syntax": "/wbRefactor <target_file_path>",
|
|
959
|
+
"example": [
|
|
960
|
+
{
|
|
961
|
+
"command": "/wbRefactor packages/wb-core/src/WBC.js",
|
|
962
|
+
"description": "Split monolith file into smaller pieces."
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
"command": "/wbRefactor packages/wb-core/src/WBC.js \"split into lifecycle/computed/render\"",
|
|
966
|
+
"description": "Refactor with explicit split spec."
|
|
967
|
+
}
|
|
968
|
+
],
|
|
969
|
+
"input": {
|
|
970
|
+
"path": "<target_file_path>",
|
|
971
|
+
"type": "file",
|
|
972
|
+
"content": "Source file (typically >500 LOC)"
|
|
973
|
+
},
|
|
974
|
+
"outputs": [
|
|
975
|
+
{
|
|
976
|
+
"path": "<target_file_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/refactors/refactor_<file>_<YYYYMMDD>.md",
|
|
977
|
+
"type": "markdown",
|
|
978
|
+
"content": "Refactor plan, before/after metrics, test impact."
|
|
979
|
+
}
|
|
980
|
+
]
|
|
981
|
+
}
|
|
982
|
+
},
|
|
983
|
+
"chains_with": {
|
|
984
|
+
"feeds_into": [
|
|
985
|
+
"wbTest (verify no regression)",
|
|
986
|
+
"wbAudit (re-audit after refactor)"
|
|
987
|
+
],
|
|
988
|
+
"fed_by": [
|
|
989
|
+
"wbAudit (audit flagged messy file)",
|
|
990
|
+
"wbClean (ran first to remove dead code)"
|
|
991
|
+
]
|
|
992
|
+
},
|
|
993
|
+
"prerequisites": [
|
|
994
|
+
"recent /wbAudit on the target file or its package",
|
|
995
|
+
"tests must currently PASS (otherwise no safety net)"
|
|
996
|
+
],
|
|
997
|
+
"refuses_when": [
|
|
998
|
+
"test runner is broken (refactoring without tests is gambling)",
|
|
999
|
+
"/wbAudit not run on this file recently"
|
|
1000
|
+
],
|
|
1001
|
+
"notSuitableFor": [
|
|
1002
|
+
"Behavior changes (those are features, not refactors)",
|
|
1003
|
+
"Files <200 LOC (just edit directly)"
|
|
1004
|
+
],
|
|
1005
|
+
"references": {
|
|
1006
|
+
"template": "wbRefactor/wbRefactor_template.md"
|
|
1007
|
+
}
|
|
1008
|
+
},
|
|
1009
|
+
"wbDebug": {
|
|
1010
|
+
"description": "Form a hypothesis for an error before trying fixes.",
|
|
1011
|
+
"role": "The Diagnostician — root-cause analysis, not patch attempts.",
|
|
1012
|
+
"phase": "Anytime an error appears",
|
|
1013
|
+
"belt": "Blue",
|
|
1014
|
+
"recommendedModel": "opus_4",
|
|
1015
|
+
"args": {
|
|
1016
|
+
"withQuotedError": {
|
|
1017
|
+
"syntax": "/wbDebug \"<exact error message>\"",
|
|
1018
|
+
"example": [
|
|
1019
|
+
{
|
|
1020
|
+
"command": "/wbDebug \"TypeError: Cannot read properties of undefined (reading 'map')\"",
|
|
1021
|
+
"description": "Diagnose a TypeError."
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
"command": "/wbDebug \"vitest finds 6 tests, expected 147\"",
|
|
1025
|
+
"description": "Diagnose a test runner discrepancy."
|
|
1026
|
+
}
|
|
1027
|
+
],
|
|
1028
|
+
"input": {
|
|
1029
|
+
"path": "stdin (error string)",
|
|
1030
|
+
"type": "string",
|
|
1031
|
+
"content": "Verbatim error message + optional stack trace"
|
|
1032
|
+
},
|
|
1033
|
+
"outputs": [
|
|
1034
|
+
{
|
|
1035
|
+
"path": "<cwd>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/debug/debug_<topic>_<YYYYMMDD>.md",
|
|
1036
|
+
"type": "markdown",
|
|
1037
|
+
"content": "Hypothesis, evidence cited, suggested fix path with rationale."
|
|
1038
|
+
}
|
|
1039
|
+
]
|
|
1040
|
+
}
|
|
1041
|
+
},
|
|
1042
|
+
"chains_with": {
|
|
1043
|
+
"feeds_into": [
|
|
1044
|
+
"wbRefactor (if root cause is structural)",
|
|
1045
|
+
"wbTest (verify the fix)"
|
|
1046
|
+
],
|
|
1047
|
+
"fed_by": [
|
|
1048
|
+
"wbAudit (audit surfaced the error)",
|
|
1049
|
+
"wbTest (test failed)"
|
|
1050
|
+
]
|
|
1051
|
+
},
|
|
1052
|
+
"prerequisites": [
|
|
1053
|
+
"the error must be an actual error message, not vague 'something is wrong'"
|
|
1054
|
+
],
|
|
1055
|
+
"refuses_when": [
|
|
1056
|
+
"no error message provided"
|
|
1057
|
+
],
|
|
1058
|
+
"notSuitableFor": [
|
|
1059
|
+
"Implementing the fix (do that after the diagnosis lands)",
|
|
1060
|
+
"Vague problems without an error message (clarify the symptom first)"
|
|
1061
|
+
],
|
|
1062
|
+
"references": {
|
|
1063
|
+
"template": "wbDebug/wbDebug_template.md"
|
|
1064
|
+
}
|
|
1065
|
+
},
|
|
1066
|
+
"wbDoc": {
|
|
1067
|
+
"description": "Generate or update documentation (README, JSDoc, API reference).",
|
|
1068
|
+
"role": "The Scribe — keeps docs in sync with code.",
|
|
1069
|
+
"phase": "Evening (before shipping)",
|
|
1070
|
+
"belt": "Brown",
|
|
1071
|
+
"recommendedModel": "sonnet_4",
|
|
1072
|
+
"args": {
|
|
1073
|
+
"withAFolder": {
|
|
1074
|
+
"syntax": "/wbDoc <target_path>",
|
|
1075
|
+
"example": [
|
|
1076
|
+
{
|
|
1077
|
+
"command": "/wbDoc packages/wb-core",
|
|
1078
|
+
"description": "Update README + JSDoc for wb-core."
|
|
1079
|
+
}
|
|
1080
|
+
],
|
|
1081
|
+
"input": {
|
|
1082
|
+
"path": "<target_path>",
|
|
1083
|
+
"type": "directory",
|
|
1084
|
+
"content": "Source code, existing README/JSDoc"
|
|
1085
|
+
},
|
|
1086
|
+
"outputs": [
|
|
1087
|
+
{
|
|
1088
|
+
"path": "<target_path>/README.md",
|
|
1089
|
+
"type": "markdown",
|
|
1090
|
+
"content": "Updated README"
|
|
1091
|
+
},
|
|
1092
|
+
{
|
|
1093
|
+
"path": "<target_path>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/docs/doc_<folder_root_name>_<YYYYMMDD>.md",
|
|
1094
|
+
"type": "markdown",
|
|
1095
|
+
"content": "Doc generation log, JSDoc additions, gaps flagged."
|
|
1096
|
+
}
|
|
1097
|
+
]
|
|
1098
|
+
}
|
|
1099
|
+
},
|
|
1100
|
+
"chains_with": {
|
|
1101
|
+
"feeds_into": [
|
|
1102
|
+
"wbBroadcast (release notes)",
|
|
1103
|
+
"wbPublish (consumers need docs)"
|
|
1104
|
+
],
|
|
1105
|
+
"fed_by": [
|
|
1106
|
+
"wbAudit (audit may flag missing docs)",
|
|
1107
|
+
"wbContext (context informs doc updates)"
|
|
1108
|
+
]
|
|
1109
|
+
},
|
|
1110
|
+
"prerequisites": [],
|
|
1111
|
+
"refuses_when": [
|
|
1112
|
+
"target has no exports to document"
|
|
1113
|
+
],
|
|
1114
|
+
"notSuitableFor": [
|
|
1115
|
+
"Strategy docs (write those by hand)",
|
|
1116
|
+
"User guides (different artifact)"
|
|
1117
|
+
],
|
|
1118
|
+
"references": {
|
|
1119
|
+
"template": "wbDoc/wbDoc_template.md"
|
|
1120
|
+
},
|
|
1121
|
+
"flags": [
|
|
1122
|
+
{
|
|
1123
|
+
"long": "--focus",
|
|
1124
|
+
"short": "-f"
|
|
1125
|
+
}
|
|
1126
|
+
]
|
|
1127
|
+
},
|
|
1128
|
+
"wbStandup": {
|
|
1129
|
+
"description": "Consolidates unfinished work (open tickets, failing audits) into a single agenda.",
|
|
1130
|
+
"role": "The Scrum Master — cures choice paralysis.",
|
|
1131
|
+
"phase": "Morning (first command of the day)",
|
|
1132
|
+
"belt": "Black — only when juggling multiple in-flight workstreams",
|
|
1133
|
+
"recommendedModel": "opus_4",
|
|
1134
|
+
"args": {
|
|
1135
|
+
"withAFolder": {
|
|
1136
|
+
"syntax": "/wbStandup <target_folder>",
|
|
1137
|
+
"example": [
|
|
1138
|
+
{
|
|
1139
|
+
"command": "/wbStandup core2/",
|
|
1140
|
+
"description": "Monorepo-wide daily standup."
|
|
1141
|
+
}
|
|
1142
|
+
],
|
|
1143
|
+
"input": {
|
|
1144
|
+
"path": "<target_folder>",
|
|
1145
|
+
"type": "directory",
|
|
1146
|
+
"content": "All reports/**/plans/*.md and reports/**/audits/*.md"
|
|
1147
|
+
},
|
|
1148
|
+
"outputs": [
|
|
1149
|
+
{
|
|
1150
|
+
"path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/standups/standup_<folder_root_name>_<YYYYMMDD>.md",
|
|
1151
|
+
"type": "markdown",
|
|
1152
|
+
"content": "Open tickets grouped by package, audit debt, definitive next-command recommendation."
|
|
1153
|
+
}
|
|
1154
|
+
]
|
|
1155
|
+
}
|
|
1156
|
+
},
|
|
1157
|
+
"flags": [
|
|
1158
|
+
{
|
|
1159
|
+
"long": "--act",
|
|
1160
|
+
"short": "-a"
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
"long": "--wbPlan",
|
|
1164
|
+
"short": "-P"
|
|
1165
|
+
}
|
|
1166
|
+
],
|
|
1167
|
+
"chains_with": {
|
|
1168
|
+
"feeds_into": [
|
|
1169
|
+
"wbContext (standup recommends a package; context syncs it)",
|
|
1170
|
+
"wbActOn",
|
|
1171
|
+
"wbPlan (manual or via --wbPlan)"
|
|
1172
|
+
],
|
|
1173
|
+
"fed_by": [
|
|
1174
|
+
"wbAudit / wbReview / wbPlan (their reports become standup input)"
|
|
1175
|
+
]
|
|
1176
|
+
},
|
|
1177
|
+
"prerequisites": [
|
|
1178
|
+
"at least some prior reports exist in target's reports/ tree"
|
|
1179
|
+
],
|
|
1180
|
+
"refuses_when": [],
|
|
1181
|
+
"notSuitableFor": [
|
|
1182
|
+
"Single-package focus (use /wbContext + /wbAudit)",
|
|
1183
|
+
"Real-time monitoring (run as scheduled cron, not interactive)"
|
|
1184
|
+
],
|
|
1185
|
+
"references": {
|
|
1186
|
+
"template": "wbStandup/wbStandup_template.md"
|
|
1187
|
+
}
|
|
1188
|
+
},
|
|
1189
|
+
"wbVision": {
|
|
1190
|
+
"description": "Proposes 3 highly innovative, strategic features to build next.",
|
|
1191
|
+
"role": "The Product Manager — generates feature ideas with rationale.",
|
|
1192
|
+
"phase": "Cross-cutting (low-energy afternoons; pre-/wbSetup)",
|
|
1193
|
+
"belt": "Black",
|
|
1194
|
+
"recommendedModel": "gemini_3_1_pro",
|
|
1195
|
+
"args": {
|
|
1196
|
+
"withAFolder": {
|
|
1197
|
+
"syntax": "/wbVision <target_package_or_root>",
|
|
1198
|
+
"example": [
|
|
1199
|
+
{
|
|
1200
|
+
"command": "/wbVision packages/wb-code",
|
|
1201
|
+
"description": "Propose next-gen features for wb-code."
|
|
1202
|
+
}
|
|
1203
|
+
],
|
|
1204
|
+
"input": {
|
|
1205
|
+
"path": "<target_package_or_root>",
|
|
1206
|
+
"type": "directory",
|
|
1207
|
+
"content": "context.md, ecosystem_urls.md"
|
|
1208
|
+
},
|
|
1209
|
+
"outputs": [
|
|
1210
|
+
{
|
|
1211
|
+
"path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/visions/vision_<folder_root_name>_<YYYYMMDD>.md",
|
|
1212
|
+
"type": "markdown",
|
|
1213
|
+
"content": "3 feature ideas with 'Why it matters' and 'Complexity'."
|
|
1214
|
+
}
|
|
1215
|
+
]
|
|
1216
|
+
}
|
|
1217
|
+
},
|
|
1218
|
+
"chains_with": {
|
|
1219
|
+
"feeds_into": [
|
|
1220
|
+
"wbIdea (auto-registers ideas in idea_*.md)",
|
|
1221
|
+
"wbPlan (when you commit to a vision)",
|
|
1222
|
+
"wbSetup (vision informs new package scope)"
|
|
1223
|
+
],
|
|
1224
|
+
"fed_by": [
|
|
1225
|
+
"wbContext"
|
|
1226
|
+
]
|
|
1227
|
+
},
|
|
1228
|
+
"prerequisites": [
|
|
1229
|
+
"context.md exists for the target"
|
|
1230
|
+
],
|
|
1231
|
+
"refuses_when": [],
|
|
1232
|
+
"notSuitableFor": [
|
|
1233
|
+
"Default 'nothing to do' command (close the laptop instead)",
|
|
1234
|
+
"Bug fixing (use /wbDebug)"
|
|
1235
|
+
],
|
|
1236
|
+
"references": {
|
|
1237
|
+
"template": "wbVision/wbVision_template.md"
|
|
1238
|
+
}
|
|
1239
|
+
},
|
|
1240
|
+
"wbIdea": {
|
|
1241
|
+
"description": "Captures, scores, and tracks speculative ideas. Promotes validated ideas to plan tasks via the Promotion Protocol.",
|
|
1242
|
+
"role": "The Ideator — scored idea pipeline between brainstorming and committed planning.",
|
|
1243
|
+
"phase": "Anytime (when you have an idea worth tracking but not committing to)",
|
|
1244
|
+
"belt": "Brown — strategic but regular",
|
|
1245
|
+
"recommendedModel": "opus_4",
|
|
1246
|
+
"args": {
|
|
1247
|
+
"withAFolder": {
|
|
1248
|
+
"syntax": "/wbIdea <target_folder_path> [\"<idea description>\"]",
|
|
1249
|
+
"example": [
|
|
1250
|
+
{
|
|
1251
|
+
"command": "/wbIdea packages/wb-dataviewer",
|
|
1252
|
+
"description": "AI proposes scored ideas for wb-dataviewer."
|
|
1253
|
+
},
|
|
1254
|
+
{
|
|
1255
|
+
"command": "/wbIdea packages/wb-core --task=\"Add retry logic to API calls\"",
|
|
1256
|
+
"description": "Register a specific idea with computed score."
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
"command": "/wbIdea packages/wb-core --id=1 --promote",
|
|
1260
|
+
"description": "Promote idea #1 to today's plan file."
|
|
1261
|
+
}
|
|
1262
|
+
],
|
|
1263
|
+
"input": {
|
|
1264
|
+
"path": "<target_folder_path>",
|
|
1265
|
+
"type": "directory",
|
|
1266
|
+
"content": "Context files, past audit/review reports, optional user description"
|
|
1267
|
+
},
|
|
1268
|
+
"outputs": [
|
|
1269
|
+
{
|
|
1270
|
+
"path": "<target_folder_path>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/ideas/idea_<folder_root_name>_<YYYYMMDD>.md",
|
|
1271
|
+
"type": "markdown",
|
|
1272
|
+
"content": "Idea table with Score (1-10), Idea description, Priority, Est. Time, Suggested By, ☐ Done, ☐ Valid, → Task link."
|
|
1273
|
+
}
|
|
1274
|
+
]
|
|
1275
|
+
}
|
|
1276
|
+
},
|
|
1277
|
+
"flags": [
|
|
1278
|
+
{
|
|
1279
|
+
"long": "--resume",
|
|
1280
|
+
"short": "-r"
|
|
1281
|
+
},
|
|
1282
|
+
{
|
|
1283
|
+
"long": "--scope",
|
|
1284
|
+
"short": "-s"
|
|
1285
|
+
},
|
|
1286
|
+
{
|
|
1287
|
+
"long": "--task",
|
|
1288
|
+
"short": "-t"
|
|
1289
|
+
},
|
|
1290
|
+
{
|
|
1291
|
+
"long": "--id",
|
|
1292
|
+
"short": "-i"
|
|
1293
|
+
},
|
|
1294
|
+
{
|
|
1295
|
+
"long": "--promote",
|
|
1296
|
+
"short": "-p"
|
|
1297
|
+
},
|
|
1298
|
+
{
|
|
1299
|
+
"long": "--reject",
|
|
1300
|
+
"short": "-x"
|
|
1301
|
+
},
|
|
1302
|
+
{
|
|
1303
|
+
"long": "--defer",
|
|
1304
|
+
"short": "-d"
|
|
1305
|
+
}
|
|
1306
|
+
],
|
|
1307
|
+
"chains_with": {
|
|
1308
|
+
"feeds_into": [
|
|
1309
|
+
"wbPlan (promoted ideas auto-ingested as plan tasks)",
|
|
1310
|
+
"wbWork (idea exploration mode)",
|
|
1311
|
+
"wbExplain (idea details mode)",
|
|
1312
|
+
"wbValid (idea validation with verdict scale)"
|
|
1313
|
+
],
|
|
1314
|
+
"fed_by": [
|
|
1315
|
+
"wbVision (always auto-registers ideas)",
|
|
1316
|
+
"wbAudit (--ideas flag for P3/improvement findings)",
|
|
1317
|
+
"wbNext (--ideas flag for lower-ranked suggestions)",
|
|
1318
|
+
"wbWork (idea: prefix for inline registration)"
|
|
1319
|
+
]
|
|
1320
|
+
},
|
|
1321
|
+
"prerequisites": [
|
|
1322
|
+
"context.md exists (recommended but not required)",
|
|
1323
|
+
"ideally a prior /wbSetup, but not required"
|
|
1324
|
+
],
|
|
1325
|
+
"refuses_when": [
|
|
1326
|
+
"--promote on a 🚫 Rejected idea (must --open first)"
|
|
1327
|
+
],
|
|
1328
|
+
"notSuitableFor": [
|
|
1329
|
+
"Tasks ready for immediate execution (skip to /wbPlan or describe directly)",
|
|
1330
|
+
"Free-form brainstorming with no tracking (use /wbVision)",
|
|
1331
|
+
"Bug reports or defects (use /wbDebug or /wbPlan)"
|
|
1332
|
+
],
|
|
1333
|
+
"references": {
|
|
1334
|
+
"template": "wbIdea/wbIdea_template.md"
|
|
1335
|
+
}
|
|
1336
|
+
},
|
|
1337
|
+
"wbBroadcast": {
|
|
1338
|
+
"description": "Generates an Announcement Kit and manages version lifecycle status.",
|
|
1339
|
+
"role": "The Marketer — release-day communication kit.",
|
|
1340
|
+
"phase": "Evening (after release)",
|
|
1341
|
+
"belt": "Black",
|
|
1342
|
+
"recommendedModel": "gemini_3_1_pro",
|
|
1343
|
+
"args": {
|
|
1344
|
+
"withAFolder": {
|
|
1345
|
+
"syntax": "/wbBroadcast <target_package_or_app>",
|
|
1346
|
+
"example": [
|
|
1347
|
+
{
|
|
1348
|
+
"command": "/wbBroadcast packages/wb-press2",
|
|
1349
|
+
"description": "Create announcement kit for wb-press2 release."
|
|
1350
|
+
}
|
|
1351
|
+
],
|
|
1352
|
+
"input": {
|
|
1353
|
+
"path": "<target_package_or_app>",
|
|
1354
|
+
"type": "directory",
|
|
1355
|
+
"content": "Latest /wbRelease and /wbAudit reports"
|
|
1356
|
+
},
|
|
1357
|
+
"outputs": [
|
|
1358
|
+
{
|
|
1359
|
+
"path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/broadcasts/broadcast_<folder_root_name>_<YYYYMMDD>.md",
|
|
1360
|
+
"type": "markdown",
|
|
1361
|
+
"content": "Social media drafts, GitHub release notes, blog post, VERSION_STATUS.md suggestion."
|
|
1362
|
+
}
|
|
1363
|
+
]
|
|
1364
|
+
}
|
|
1365
|
+
},
|
|
1366
|
+
"chains_with": {
|
|
1367
|
+
"feeds_into": [],
|
|
1368
|
+
"fed_by": [
|
|
1369
|
+
"wbRelease + wbPublish (must have shipped)",
|
|
1370
|
+
"wbDeploy (for apps)"
|
|
1371
|
+
]
|
|
1372
|
+
},
|
|
1373
|
+
"prerequisites": [
|
|
1374
|
+
"successful /wbRelease + /wbPublish (or /wbDeploy) in the same cycle"
|
|
1375
|
+
],
|
|
1376
|
+
"refuses_when": [
|
|
1377
|
+
"no recent successful release in cycle (announcing nothing = embarrassing)"
|
|
1378
|
+
],
|
|
1379
|
+
"notSuitableFor": [
|
|
1380
|
+
"Internal refactors (no user-visible change)",
|
|
1381
|
+
"Patch versions without new features"
|
|
1382
|
+
],
|
|
1383
|
+
"references": {
|
|
1384
|
+
"template": "wbBroadcast/wbBroadcast_template.md"
|
|
1385
|
+
},
|
|
1386
|
+
"flags": [
|
|
1387
|
+
{
|
|
1388
|
+
"long": "--status",
|
|
1389
|
+
"short": "-s"
|
|
1390
|
+
}
|
|
1391
|
+
]
|
|
1392
|
+
},
|
|
1393
|
+
"wbGit": {
|
|
1394
|
+
"description": "Analyzes current file changes and generates Conventional Commits.",
|
|
1395
|
+
"role": "The Scribe (Git) — produces commit message text.",
|
|
1396
|
+
"phase": "Midday + Evening (after every logical unit + after release tag)",
|
|
1397
|
+
"belt": "White",
|
|
1398
|
+
"recommendedModel": "sonnet_4",
|
|
1399
|
+
"args": {
|
|
1400
|
+
"withAFolder": {
|
|
1401
|
+
"syntax": "/wbGit",
|
|
1402
|
+
"example": [
|
|
1403
|
+
{
|
|
1404
|
+
"command": "/wbGit",
|
|
1405
|
+
"description": "Generate commit message for current working directory."
|
|
1406
|
+
}
|
|
1407
|
+
],
|
|
1408
|
+
"input": {
|
|
1409
|
+
"path": "CWD",
|
|
1410
|
+
"type": "directory",
|
|
1411
|
+
"content": "git status, git diff, recent plans/standups"
|
|
1412
|
+
},
|
|
1413
|
+
"outputs": [
|
|
1414
|
+
{
|
|
1415
|
+
"path": "stdout",
|
|
1416
|
+
"type": "string",
|
|
1417
|
+
"content": "Strict Conventional Commit message with optional body."
|
|
1418
|
+
}
|
|
1419
|
+
]
|
|
1420
|
+
}
|
|
1421
|
+
},
|
|
1422
|
+
"chains_with": {
|
|
1423
|
+
"feeds_into": [
|
|
1424
|
+
"wbBroadcast (git history informs release notes)"
|
|
1425
|
+
],
|
|
1426
|
+
"fed_by": []
|
|
1427
|
+
},
|
|
1428
|
+
"prerequisites": [
|
|
1429
|
+
"git working tree has changes (uncommitted or staged)"
|
|
1430
|
+
],
|
|
1431
|
+
"refuses_when": [
|
|
1432
|
+
"no changes to commit",
|
|
1433
|
+
"user has feedback_no_git memory active (then output text only, never run git commands)"
|
|
1434
|
+
],
|
|
1435
|
+
"notSuitableFor": [
|
|
1436
|
+
"Branch operations (rebase, merge — use git directly)",
|
|
1437
|
+
"Commit history rewrites"
|
|
1438
|
+
],
|
|
1439
|
+
"references": {
|
|
1440
|
+
"template": "wbGit/wbGit_template.md"
|
|
1441
|
+
},
|
|
1442
|
+
"flags": [
|
|
1443
|
+
{
|
|
1444
|
+
"long": "--execute",
|
|
1445
|
+
"short": "-e"
|
|
1446
|
+
},
|
|
1447
|
+
{
|
|
1448
|
+
"long": "--force",
|
|
1449
|
+
"short": "-F"
|
|
1450
|
+
},
|
|
1451
|
+
{
|
|
1452
|
+
"long": "--no-verify",
|
|
1453
|
+
"short": "-n"
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
"long": "--push",
|
|
1457
|
+
"short": "-p"
|
|
1458
|
+
},
|
|
1459
|
+
{
|
|
1460
|
+
"long": "--from-plan",
|
|
1461
|
+
"short": "-P"
|
|
1462
|
+
},
|
|
1463
|
+
{
|
|
1464
|
+
"long": "--diff-file",
|
|
1465
|
+
"short": "-d"
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
"long": "--scan-recent",
|
|
1469
|
+
"short": "-r"
|
|
1470
|
+
}
|
|
1471
|
+
]
|
|
1472
|
+
},
|
|
1473
|
+
"wbSecure": {
|
|
1474
|
+
"description": "Adversarial security scan: secrets, XSS, insecure deps, prototype pollution.",
|
|
1475
|
+
"role": "The Red Team — opposite hat from /wbAudit.",
|
|
1476
|
+
"phase": "Evening (before publish/deploy)",
|
|
1477
|
+
"belt": "Brown",
|
|
1478
|
+
"recommendedModel": "opus_4",
|
|
1479
|
+
"args": {
|
|
1480
|
+
"withAFolder": {
|
|
1481
|
+
"syntax": "/wbSecure <target_path>",
|
|
1482
|
+
"example": [
|
|
1483
|
+
{
|
|
1484
|
+
"command": "/wbSecure packages/wb-core",
|
|
1485
|
+
"description": "Red-team security scan on wb-core."
|
|
1486
|
+
}
|
|
1487
|
+
],
|
|
1488
|
+
"input": {
|
|
1489
|
+
"path": "<target_path>",
|
|
1490
|
+
"type": "directory",
|
|
1491
|
+
"content": "Source code, package.json, build outputs"
|
|
1492
|
+
},
|
|
1493
|
+
"outputs": [
|
|
1494
|
+
{
|
|
1495
|
+
"path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/security/security_<folder_root_name>_<YYYYMMDD>.md",
|
|
1496
|
+
"type": "markdown",
|
|
1497
|
+
"content": "Findings categorized as CRITICAL, WARNING, SAFE."
|
|
1498
|
+
}
|
|
1499
|
+
]
|
|
1500
|
+
}
|
|
1501
|
+
},
|
|
1502
|
+
"chains_with": {
|
|
1503
|
+
"feeds_into": [
|
|
1504
|
+
"wbPublish/wbDeploy (gate)",
|
|
1505
|
+
"wbDebug (CRITICAL findings)"
|
|
1506
|
+
],
|
|
1507
|
+
"fed_by": [
|
|
1508
|
+
"wbAudit (audit may delegate security questions to /wbSecure)"
|
|
1509
|
+
]
|
|
1510
|
+
},
|
|
1511
|
+
"prerequisites": [],
|
|
1512
|
+
"refuses_when": [],
|
|
1513
|
+
"notSuitableFor": [
|
|
1514
|
+
"Code-quality review (use /wbAudit)",
|
|
1515
|
+
"Performance (use /wbTest PERF)"
|
|
1516
|
+
],
|
|
1517
|
+
"references": {
|
|
1518
|
+
"template": "wbSecure/wbSecure_template.md"
|
|
1519
|
+
},
|
|
1520
|
+
"flags": [
|
|
1521
|
+
{
|
|
1522
|
+
"long": "--focus",
|
|
1523
|
+
"short": "-f"
|
|
1524
|
+
},
|
|
1525
|
+
{
|
|
1526
|
+
"long": "--force-past-security",
|
|
1527
|
+
"short": "-F"
|
|
1528
|
+
}
|
|
1529
|
+
]
|
|
1530
|
+
},
|
|
1531
|
+
"wbTranslate": {
|
|
1532
|
+
"description": "Extracts hardcoded strings into i18n keys + EN/FR/AR JSON files.",
|
|
1533
|
+
"role": "The Translator — i18n bootstrap.",
|
|
1534
|
+
"phase": "Cross-cutting (one-shot per component)",
|
|
1535
|
+
"belt": "Black",
|
|
1536
|
+
"recommendedModel": "gemini_flash",
|
|
1537
|
+
"args": {
|
|
1538
|
+
"withAFile": {
|
|
1539
|
+
"syntax": "/wbTranslate <target_ui_component>",
|
|
1540
|
+
"example": [
|
|
1541
|
+
{
|
|
1542
|
+
"command": "/wbTranslate packages/wb-core/src/components/Banner.vue",
|
|
1543
|
+
"description": "Extract strings from Banner.vue + write fr.json + ar.json."
|
|
1544
|
+
}
|
|
1545
|
+
],
|
|
1546
|
+
"input": {
|
|
1547
|
+
"path": "<target_ui_component>",
|
|
1548
|
+
"type": "file",
|
|
1549
|
+
"content": "Vue component"
|
|
1550
|
+
},
|
|
1551
|
+
"outputs": [
|
|
1552
|
+
{
|
|
1553
|
+
"path": "<component_folder>/i18n/en.json",
|
|
1554
|
+
"type": "json"
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
"path": "<component_folder>/i18n/fr.json",
|
|
1558
|
+
"type": "json"
|
|
1559
|
+
},
|
|
1560
|
+
{
|
|
1561
|
+
"path": "<component_folder>/i18n/ar.json",
|
|
1562
|
+
"type": "json"
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
"path": "stdout",
|
|
1566
|
+
"type": "string",
|
|
1567
|
+
"content": "Summary of extracted keys."
|
|
1568
|
+
}
|
|
1569
|
+
]
|
|
1570
|
+
}
|
|
1571
|
+
},
|
|
1572
|
+
"chains_with": {
|
|
1573
|
+
"feeds_into": [
|
|
1574
|
+
"wbTest (verify nothing visually broken)"
|
|
1575
|
+
],
|
|
1576
|
+
"fed_by": []
|
|
1577
|
+
},
|
|
1578
|
+
"prerequisites": [
|
|
1579
|
+
"i18n framework already wired in the target (vue-i18n)"
|
|
1580
|
+
],
|
|
1581
|
+
"refuses_when": [
|
|
1582
|
+
"target component has no hardcoded strings"
|
|
1583
|
+
],
|
|
1584
|
+
"notSuitableFor": [
|
|
1585
|
+
"Re-running on already-translated component (almost always a mistake)",
|
|
1586
|
+
"Backend strings (different surface)"
|
|
1587
|
+
],
|
|
1588
|
+
"references": {
|
|
1589
|
+
"template": "wbTranslate/wbTranslate_template.md"
|
|
1590
|
+
},
|
|
1591
|
+
"flags": [
|
|
1592
|
+
{
|
|
1593
|
+
"long": "--new-only",
|
|
1594
|
+
"short": "-n"
|
|
1595
|
+
}
|
|
1596
|
+
]
|
|
1597
|
+
},
|
|
1598
|
+
"wbToWBC": {
|
|
1599
|
+
"description": "Rewrites legacy bulky HTML/Vuetify into proprietary WBC-UI2 JSON components.",
|
|
1600
|
+
"role": "The Modernizer — legacy → wbc-ui2 migration.",
|
|
1601
|
+
"phase": "Cross-cutting (one-shot per legacy file)",
|
|
1602
|
+
"belt": "Black",
|
|
1603
|
+
"recommendedModel": "qwen3_coder",
|
|
1604
|
+
"args": {
|
|
1605
|
+
"withAFile": {
|
|
1606
|
+
"syntax": "/wbToWBC <legacy_component>",
|
|
1607
|
+
"example": [
|
|
1608
|
+
{
|
|
1609
|
+
"command": "/wbToWBC legacy-table.vue",
|
|
1610
|
+
"description": "Convert legacy table to wb-dataviewer JSON prop."
|
|
1611
|
+
}
|
|
1612
|
+
],
|
|
1613
|
+
"input": {
|
|
1614
|
+
"path": "<legacy_component>",
|
|
1615
|
+
"type": "file",
|
|
1616
|
+
"content": "Legacy Vue/HTML code"
|
|
1617
|
+
},
|
|
1618
|
+
"outputs": [
|
|
1619
|
+
{
|
|
1620
|
+
"path": "<target_folder>/migration_report.md",
|
|
1621
|
+
"type": "markdown",
|
|
1622
|
+
"content": "Rewritten component code, before/after line counts."
|
|
1623
|
+
}
|
|
1624
|
+
]
|
|
1625
|
+
}
|
|
1626
|
+
},
|
|
1627
|
+
"chains_with": {
|
|
1628
|
+
"feeds_into": [
|
|
1629
|
+
"wbTest (verify visual parity)",
|
|
1630
|
+
"wbAudit (audit the migration)"
|
|
1631
|
+
],
|
|
1632
|
+
"fed_by": []
|
|
1633
|
+
},
|
|
1634
|
+
"prerequisites": [
|
|
1635
|
+
"wbc-ui2 already a peer dep of the package"
|
|
1636
|
+
],
|
|
1637
|
+
"refuses_when": [
|
|
1638
|
+
"target file is already wbc-ui2 idiomatic"
|
|
1639
|
+
],
|
|
1640
|
+
"notSuitableFor": [
|
|
1641
|
+
"Re-running on already-migrated file (regression risk)",
|
|
1642
|
+
"Non-table/grid components (use direct rewrite)"
|
|
1643
|
+
],
|
|
1644
|
+
"references": {
|
|
1645
|
+
"template": "wbToWBC/wbToWBC_template.md"
|
|
1646
|
+
}
|
|
1647
|
+
},
|
|
1648
|
+
"wbMonetize": {
|
|
1649
|
+
"description": "Bootstraps or maintains the Free/Pro/Dev tier splitting plumbing.",
|
|
1650
|
+
"role": "The Tier Architect — installs the freemium scaffolding.",
|
|
1651
|
+
"phase": "One-time per package",
|
|
1652
|
+
"belt": "Black",
|
|
1653
|
+
"recommendedModel": "opus_4",
|
|
1654
|
+
"args": {
|
|
1655
|
+
"withAFolder": {
|
|
1656
|
+
"syntax": "/wbMonetize <package_path> [\"<split spec>\"]",
|
|
1657
|
+
"example": [
|
|
1658
|
+
{
|
|
1659
|
+
"command": "/wbMonetize packages/wb-dataviewer",
|
|
1660
|
+
"description": "Bootstrap monetization (auto-proposes split for confirmation)."
|
|
1661
|
+
},
|
|
1662
|
+
{
|
|
1663
|
+
"command": "/wbMonetize packages/wb-dataviewer \"export Pro; live-edit Dev\"",
|
|
1664
|
+
"description": "Bootstrap with explicit split spec, no prompt."
|
|
1665
|
+
}
|
|
1666
|
+
],
|
|
1667
|
+
"input": {
|
|
1668
|
+
"path": "<package_path>",
|
|
1669
|
+
"type": "directory",
|
|
1670
|
+
"content": "package.json (.wbMonetize field), source code"
|
|
1671
|
+
},
|
|
1672
|
+
"outputs": [
|
|
1673
|
+
{
|
|
1674
|
+
"path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/monetize/monetize_<pkg>_<YYYYMMDD>.md",
|
|
1675
|
+
"type": "markdown",
|
|
1676
|
+
"content": "Mode (bootstrap/maintenance/abort), split proposal, plumbing checklist, marker update."
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
"path": "<package_path>/package.json",
|
|
1680
|
+
"type": "json",
|
|
1681
|
+
"content": "wbMonetize marker injected"
|
|
1682
|
+
}
|
|
1683
|
+
]
|
|
1684
|
+
}
|
|
1685
|
+
},
|
|
1686
|
+
"chains_with": {
|
|
1687
|
+
"feeds_into": [
|
|
1688
|
+
"wbLicense (per-component gates after bootstrap)"
|
|
1689
|
+
],
|
|
1690
|
+
"fed_by": [
|
|
1691
|
+
"wbVision (vision informs which features are Pro)"
|
|
1692
|
+
]
|
|
1693
|
+
},
|
|
1694
|
+
"prerequisites": [
|
|
1695
|
+
"package has source code",
|
|
1696
|
+
"git working tree clean (recommended for bootstrap)"
|
|
1697
|
+
],
|
|
1698
|
+
"refuses_when": [
|
|
1699
|
+
"package has heuristic gating but no marker (ambiguous; abort with explanation)"
|
|
1700
|
+
],
|
|
1701
|
+
"notSuitableFor": [
|
|
1702
|
+
"Per-component gate (use /wbLicense)",
|
|
1703
|
+
"Re-running bootstrap (revert + delete marker first)"
|
|
1704
|
+
],
|
|
1705
|
+
"references": {
|
|
1706
|
+
"template": "wbMonetize/wbMonetize_template.md"
|
|
1707
|
+
}
|
|
1708
|
+
},
|
|
1709
|
+
"wbActOn": {
|
|
1710
|
+
"description": "Turns any diagnostic markdown (audit, plan, review, standup) into a ranked execution order with per-action recommended model.",
|
|
1711
|
+
"role": "The Triage Officer — converts diagnosis → prescription.",
|
|
1712
|
+
"phase": "After any /wb* report (or any third-party doc)",
|
|
1713
|
+
"belt": "Brown",
|
|
1714
|
+
"recommendedModel": "opus_4",
|
|
1715
|
+
"args": {
|
|
1716
|
+
"withAFile": {
|
|
1717
|
+
"syntax": "/wbActOn <file_path>",
|
|
1718
|
+
"example": [
|
|
1719
|
+
{
|
|
1720
|
+
"command": "/wbActOn packages/wb-core/.wb/workflows/reports/20260429/audits/audit_wb-core_20260429.md",
|
|
1721
|
+
"description": "Process the audit; output a ranked execution thread."
|
|
1722
|
+
}
|
|
1723
|
+
],
|
|
1724
|
+
"input": {
|
|
1725
|
+
"path": "<file_path>",
|
|
1726
|
+
"type": "file",
|
|
1727
|
+
"content": "Markdown diagnostic document"
|
|
1728
|
+
},
|
|
1729
|
+
"outputs": [
|
|
1730
|
+
{
|
|
1731
|
+
"path": "<target>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/actions/action_<short_name>_<YYYYMMDD>.md",
|
|
1732
|
+
"type": "markdown",
|
|
1733
|
+
"content": "Annotated source with [Model action] callouts, §0 Ranked Execution Order, action tally."
|
|
1734
|
+
}
|
|
1735
|
+
]
|
|
1736
|
+
},
|
|
1737
|
+
"withAFolder": {
|
|
1738
|
+
"syntax": "/wbActOn <folder_path>",
|
|
1739
|
+
"example": [
|
|
1740
|
+
{
|
|
1741
|
+
"command": "/wbActOn packages/wb-core",
|
|
1742
|
+
"description": "Find latest report under reports/ and act on it (asks if multiple)."
|
|
1743
|
+
}
|
|
1744
|
+
],
|
|
1745
|
+
"input": {
|
|
1746
|
+
"path": "<folder_path>",
|
|
1747
|
+
"type": "directory",
|
|
1748
|
+
"content": "Directory containing reports/"
|
|
1749
|
+
},
|
|
1750
|
+
"outputs": [
|
|
1751
|
+
{
|
|
1752
|
+
"path": "<target>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/actions/.../action_*.md",
|
|
1753
|
+
"type": "markdown"
|
|
1754
|
+
}
|
|
1755
|
+
]
|
|
1756
|
+
}
|
|
1757
|
+
},
|
|
1758
|
+
"flags": [
|
|
1759
|
+
{
|
|
1760
|
+
"long": "--act",
|
|
1761
|
+
"short": "-a"
|
|
1762
|
+
},
|
|
1763
|
+
{
|
|
1764
|
+
"long": "--wbPlan",
|
|
1765
|
+
"short": "-P"
|
|
1766
|
+
}
|
|
1767
|
+
],
|
|
1768
|
+
"chains_with": {
|
|
1769
|
+
"feeds_into": [
|
|
1770
|
+
"wbPlan (when --wbPlan generates the plan)",
|
|
1771
|
+
"wbDebug (when 🔴 actions surface)"
|
|
1772
|
+
],
|
|
1773
|
+
"fed_by": [
|
|
1774
|
+
"wbAudit (--act and/or --wbPlan)",
|
|
1775
|
+
"wbReview (--act and/or --wbPlan)",
|
|
1776
|
+
"wbStandup (--act and/or --wbPlan)",
|
|
1777
|
+
"wbPlan (--act for re-rank)"
|
|
1778
|
+
]
|
|
1779
|
+
},
|
|
1780
|
+
"prerequisites": [
|
|
1781
|
+
"the source file must have at least some structure (sections, tables, lists)"
|
|
1782
|
+
],
|
|
1783
|
+
"refuses_when": [
|
|
1784
|
+
"source has zero structure (free-form notes)"
|
|
1785
|
+
],
|
|
1786
|
+
"notSuitableFor": [
|
|
1787
|
+
"Generating new audits/reviews (use upstream commands)",
|
|
1788
|
+
"Executing the actions (run the prompts /wbActOn produced)"
|
|
1789
|
+
],
|
|
1790
|
+
"references": {
|
|
1791
|
+
"template": "wbActOn/wbActOn_template.md",
|
|
1792
|
+
"central_flag_reference": "../1_concepts/wbPlan_flag_claude.md"
|
|
1793
|
+
},
|
|
1794
|
+
"$design_notes": [
|
|
1795
|
+
"Outputs ALWAYS go to <target>/.wb/workflows/reports/, NEVER to docs/ai_reference/ (canon-only).",
|
|
1796
|
+
"v2 Universal Daily File: action_<name>_<YYYYMMDD>.md and plan_<name>_<YYYYMMDD>.md — no model subfolder.",
|
|
1797
|
+
"Multi-model: same source can be processed by N different models — each appends a new Entry #N to the same file, tagged *(ModelName — HH:MM)*. Diff entries to compare opinions.",
|
|
1798
|
+
"Per-action model recommendation is mandatory: every callout includes a 'Recommended model: <name>' line."
|
|
1799
|
+
]
|
|
1800
|
+
},
|
|
1801
|
+
"$flow_diagrams": {
|
|
1802
|
+
"morning_routine": {
|
|
1803
|
+
"description": "Default daily startup: orient → load → triage",
|
|
1804
|
+
"sequence": [
|
|
1805
|
+
{
|
|
1806
|
+
"step": 1,
|
|
1807
|
+
"command": "/wbStandup core2/",
|
|
1808
|
+
"purpose": "What's in flight monorepo-wide?",
|
|
1809
|
+
"feeds_into": "step 2 (recommends a package)"
|
|
1810
|
+
},
|
|
1811
|
+
{
|
|
1812
|
+
"step": 2,
|
|
1813
|
+
"command": "/wbContext packages/<chosen-pkg>",
|
|
1814
|
+
"purpose": "Sync AI on the chosen package",
|
|
1815
|
+
"feeds_into": "step 3"
|
|
1816
|
+
},
|
|
1817
|
+
{
|
|
1818
|
+
"step": 3,
|
|
1819
|
+
"command": "describe task in natural language OR /wbPlan",
|
|
1820
|
+
"purpose": "Path A (small) vs Path B (big)",
|
|
1821
|
+
"feeds_into": "implementation"
|
|
1822
|
+
}
|
|
1823
|
+
]
|
|
1824
|
+
},
|
|
1825
|
+
"afternoon_polish": {
|
|
1826
|
+
"description": "Code is done; polish before shipping.",
|
|
1827
|
+
"sequence_classic": [
|
|
1828
|
+
{
|
|
1829
|
+
"step": 1,
|
|
1830
|
+
"command": "/wbClean packages/<pkg>/",
|
|
1831
|
+
"purpose": "Find dead code"
|
|
1832
|
+
},
|
|
1833
|
+
{
|
|
1834
|
+
"step": 2,
|
|
1835
|
+
"command": "/wbAudit packages/<pkg>/",
|
|
1836
|
+
"purpose": "Brutal review",
|
|
1837
|
+
"warning": "Always audit BEFORE refactoring"
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
"step": 3,
|
|
1841
|
+
"command": "/wbRefactor <file>",
|
|
1842
|
+
"purpose": "Only if audit flagged messy file"
|
|
1843
|
+
}
|
|
1844
|
+
],
|
|
1845
|
+
"sequence_chained": [
|
|
1846
|
+
{
|
|
1847
|
+
"step": 1,
|
|
1848
|
+
"command": "/wbAudit packages/<pkg>/ --act --wbPlan",
|
|
1849
|
+
"purpose": "Audit + ranked actions + plan in one run",
|
|
1850
|
+
"produces": [
|
|
1851
|
+
"audit_*.md",
|
|
1852
|
+
"action_audit_*.md",
|
|
1853
|
+
"plan_audit_*.md"
|
|
1854
|
+
]
|
|
1855
|
+
}
|
|
1856
|
+
]
|
|
1857
|
+
},
|
|
1858
|
+
"evening_shipping_npm": {
|
|
1859
|
+
"description": "Ship a package to npm",
|
|
1860
|
+
"sequence": [
|
|
1861
|
+
{
|
|
1862
|
+
"step": 1,
|
|
1863
|
+
"command": "/wbDoc packages/<pkg>/"
|
|
1864
|
+
},
|
|
1865
|
+
{
|
|
1866
|
+
"step": 2,
|
|
1867
|
+
"command": "/wbTest packages/<pkg>/",
|
|
1868
|
+
"gate": "must PASS"
|
|
1869
|
+
},
|
|
1870
|
+
{
|
|
1871
|
+
"step": 3,
|
|
1872
|
+
"command": "/wbSecure packages/<pkg>/",
|
|
1873
|
+
"gate": "no CRITICAL"
|
|
1874
|
+
},
|
|
1875
|
+
{
|
|
1876
|
+
"step": 4,
|
|
1877
|
+
"command": "/wbRelease core2/",
|
|
1878
|
+
"scope": "monorepo-wide due to workspace:*"
|
|
1879
|
+
},
|
|
1880
|
+
{
|
|
1881
|
+
"step": 5,
|
|
1882
|
+
"command": "/wbPublish packages/<pkg>/",
|
|
1883
|
+
"gate": "requires step 4 in same cycle"
|
|
1884
|
+
},
|
|
1885
|
+
{
|
|
1886
|
+
"step": 6,
|
|
1887
|
+
"command": "/wbRelease core2/ --restore",
|
|
1888
|
+
"purpose": "Put workspace:* protocols back"
|
|
1889
|
+
},
|
|
1890
|
+
{
|
|
1891
|
+
"step": 7,
|
|
1892
|
+
"command": "/wbGit",
|
|
1893
|
+
"purpose": "Commit version bumps + tag"
|
|
1894
|
+
},
|
|
1895
|
+
{
|
|
1896
|
+
"step": 8,
|
|
1897
|
+
"command": "/wbBroadcast packages/<pkg>/",
|
|
1898
|
+
"condition": "only if user-visible change"
|
|
1899
|
+
}
|
|
1900
|
+
]
|
|
1901
|
+
},
|
|
1902
|
+
"evening_shipping_app": {
|
|
1903
|
+
"description": "Ship an app to the live web",
|
|
1904
|
+
"sequence": [
|
|
1905
|
+
{
|
|
1906
|
+
"step": 1,
|
|
1907
|
+
"command": "/wbDoc apps/<app>/",
|
|
1908
|
+
"optional": true
|
|
1909
|
+
},
|
|
1910
|
+
{
|
|
1911
|
+
"step": 2,
|
|
1912
|
+
"command": "/wbTest apps/<app>/",
|
|
1913
|
+
"gate": "must PASS"
|
|
1914
|
+
},
|
|
1915
|
+
{
|
|
1916
|
+
"step": 3,
|
|
1917
|
+
"command": "/wbSecure apps/<app>/",
|
|
1918
|
+
"gate": "no CRITICAL (esp. user input handlers)"
|
|
1919
|
+
},
|
|
1920
|
+
{
|
|
1921
|
+
"step": 4,
|
|
1922
|
+
"command": "/wbDeploy apps/<app>/ --target=local",
|
|
1923
|
+
"purpose": "Sanity check prod build locally"
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
"step": 5,
|
|
1927
|
+
"command": "/wbDeploy apps/<app>/",
|
|
1928
|
+
"purpose": "Push to live host"
|
|
1929
|
+
},
|
|
1930
|
+
{
|
|
1931
|
+
"step": 6,
|
|
1932
|
+
"command": "/wbGit"
|
|
1933
|
+
}
|
|
1934
|
+
]
|
|
1935
|
+
},
|
|
1936
|
+
"audit_to_plan_chain": {
|
|
1937
|
+
"description": "The /wbActOn-engine flag chain (the new shortcut)",
|
|
1938
|
+
"old_two_step": [
|
|
1939
|
+
{
|
|
1940
|
+
"step": 1,
|
|
1941
|
+
"command": "/wbAudit packages/<pkg>/"
|
|
1942
|
+
},
|
|
1943
|
+
{
|
|
1944
|
+
"step": 2,
|
|
1945
|
+
"manual": "Read findings, decide what to plan"
|
|
1946
|
+
},
|
|
1947
|
+
{
|
|
1948
|
+
"step": 3,
|
|
1949
|
+
"command": "/wbPlan packages/<pkg>/"
|
|
1950
|
+
}
|
|
1951
|
+
],
|
|
1952
|
+
"new_one_step": [
|
|
1953
|
+
{
|
|
1954
|
+
"step": 1,
|
|
1955
|
+
"command": "/wbAudit packages/<pkg>/ --act --wbPlan",
|
|
1956
|
+
"produces": [
|
|
1957
|
+
"audit_*.md",
|
|
1958
|
+
"action_audit_*.md (ranked execution thread)",
|
|
1959
|
+
"plan_audit_*.md (worker/validator tasks for 🔵 findings)"
|
|
1960
|
+
]
|
|
1961
|
+
}
|
|
1962
|
+
],
|
|
1963
|
+
"value_proposition": "The chain forces the 5-color triage discipline BEFORE planning. Hand-run audit→plan often skips ranking. The chain produces a richer paper trail.",
|
|
1964
|
+
"fallback": "Manual two-step remains valid when you want explicit control over what gets planned. Flags are convenience, not mandate."
|
|
1965
|
+
}
|
|
1966
|
+
},
|
|
1967
|
+
"$dependency_graph_text_view": {
|
|
1968
|
+
"$description": "ASCII view of which commands feed into which, for chains and gates.",
|
|
1969
|
+
"$graph": [
|
|
1970
|
+
"wbSetup ─────────────► wbContext ────► wbVision",
|
|
1971
|
+
" │",
|
|
1972
|
+
" ▼",
|
|
1973
|
+
"wbStandup ───────────► (chooses pkg) ────► wbContext",
|
|
1974
|
+
" │ │",
|
|
1975
|
+
" ├──[--act]────────► wbActOn ────────► (action file)",
|
|
1976
|
+
" └──[--wbPlan]─────► wbActOn ────────► (plan file)",
|
|
1977
|
+
" │",
|
|
1978
|
+
" ▼",
|
|
1979
|
+
"wbContext ────────► wbPlan ────► (plan execution)",
|
|
1980
|
+
" │ ▼",
|
|
1981
|
+
" ├──[--act]──► wbActOn (re-rank)",
|
|
1982
|
+
" │ ▼",
|
|
1983
|
+
" │ [✗ --wbPlan errors here]",
|
|
1984
|
+
" │",
|
|
1985
|
+
" └────► wbReview (against plan) ────[--act/--wbPlan]──► wbActOn",
|
|
1986
|
+
"",
|
|
1987
|
+
"wbContext ────► wbAudit ────────► wbActOn (via --act)",
|
|
1988
|
+
" │ │",
|
|
1989
|
+
" ├──[--act]──────► (action file)",
|
|
1990
|
+
" ├──[--wbPlan]───► (plan file, skips action)",
|
|
1991
|
+
" ├──[--act --wbPlan]► (action + plan, the obvious chain)",
|
|
1992
|
+
" │",
|
|
1993
|
+
" └────► wbRefactor (file) ────► wbTest (verify)",
|
|
1994
|
+
" └────► wbDebug (errors) ────► wbRefactor (if structural)",
|
|
1995
|
+
" └────► wbClean (sweep) ────► wbRefactor (afterwards)",
|
|
1996
|
+
"",
|
|
1997
|
+
"wbDoc ───┐",
|
|
1998
|
+
"wbTest ──┤",
|
|
1999
|
+
"wbSecure ┼──► (gate: must PASS / no CRITICAL) ──► wbRelease ──► wbPublish ──► wbBroadcast",
|
|
2000
|
+
" │ │",
|
|
2001
|
+
" │ └──► wbRelease --restore",
|
|
2002
|
+
" │",
|
|
2003
|
+
" └──► (alt path for apps) ──► wbDeploy --target=local ──► wbDeploy ──► wbGit",
|
|
2004
|
+
"",
|
|
2005
|
+
"wbGit ───────────────────────► (informs wbBroadcast release notes)",
|
|
2006
|
+
"",
|
|
2007
|
+
"wbMonetize (one-time bootstrap) ────► wbLicense (per-component gates)",
|
|
2008
|
+
"wbTranslate / wbToWBC: cross-cutting one-shots (no chain dependencies)"
|
|
2009
|
+
]
|
|
2010
|
+
},
|
|
2011
|
+
"$gates_and_refusals_summary": {
|
|
2012
|
+
"$description": "Cross-command gates that prevent shipping mistakes. The harness should refuse these; if it doesn't, dev.md is missing the rule.",
|
|
2013
|
+
"gates": [
|
|
2014
|
+
{
|
|
2015
|
+
"command": "wbDeploy",
|
|
2016
|
+
"refuses_if": "recent /wbTest report shows failures"
|
|
2017
|
+
},
|
|
2018
|
+
{
|
|
2019
|
+
"command": "wbPublish",
|
|
2020
|
+
"refuses_if": "no recent /wbRelease in the same cycle"
|
|
2021
|
+
},
|
|
2022
|
+
{
|
|
2023
|
+
"command": "wbPublish",
|
|
2024
|
+
"refuses_if": "/wbSecure has CRITICAL findings"
|
|
2025
|
+
},
|
|
2026
|
+
{
|
|
2027
|
+
"command": "wbDeploy",
|
|
2028
|
+
"refuses_if": "/wbSecure has CRITICAL findings"
|
|
2029
|
+
},
|
|
2030
|
+
{
|
|
2031
|
+
"command": "wbPublish",
|
|
2032
|
+
"refuses_if": "dist/ vs dist-dev/ mismatch in package.json"
|
|
2033
|
+
},
|
|
2034
|
+
{
|
|
2035
|
+
"command": "wbBroadcast",
|
|
2036
|
+
"refuses_if": "no successful /wbRelease or /wbPublish in the same cycle"
|
|
2037
|
+
},
|
|
2038
|
+
{
|
|
2039
|
+
"command": "wbRefactor",
|
|
2040
|
+
"refuses_if": "/wbAudit not run on this file recently OR test runner is broken"
|
|
2041
|
+
},
|
|
2042
|
+
{
|
|
2043
|
+
"command": "wbMonetize",
|
|
2044
|
+
"refuses_if": "heuristic gating found without marker (ambiguous; needs --force-bootstrap)"
|
|
2045
|
+
},
|
|
2046
|
+
{
|
|
2047
|
+
"command": "wbLicense",
|
|
2048
|
+
"refuses_if": "package has no /wbMonetize marker"
|
|
2049
|
+
},
|
|
2050
|
+
{
|
|
2051
|
+
"command": "wbPlan",
|
|
2052
|
+
"refuses_if": "called with --wbPlan flag (no-op recursion)"
|
|
2053
|
+
}
|
|
2054
|
+
]
|
|
2055
|
+
},
|
|
2056
|
+
"$belt_progression": {
|
|
2057
|
+
"$description": "Suggested learning order. See 2_daily_use/the_daily_playbook_claude.md for the canonical version.",
|
|
2058
|
+
"white_belt_week_1": [
|
|
2059
|
+
"wbContext",
|
|
2060
|
+
"wbPlan",
|
|
2061
|
+
"wbAudit",
|
|
2062
|
+
"wbGit"
|
|
2063
|
+
],
|
|
2064
|
+
"blue_belt_week_2": [
|
|
2065
|
+
"wbDebug",
|
|
2066
|
+
"wbRefactor",
|
|
2067
|
+
"wbClean"
|
|
2068
|
+
],
|
|
2069
|
+
"brown_belt_week_3": [
|
|
2070
|
+
"wbDoc",
|
|
2071
|
+
"wbTest",
|
|
2072
|
+
"wbSecure",
|
|
2073
|
+
"wbRelease",
|
|
2074
|
+
"wbPublish",
|
|
2075
|
+
"wbDeploy",
|
|
2076
|
+
"wbActOn"
|
|
2077
|
+
],
|
|
2078
|
+
"black_belt_week_4_plus": [
|
|
2079
|
+
"wbStandup",
|
|
2080
|
+
"wbVision",
|
|
2081
|
+
"wbSetup",
|
|
2082
|
+
"wbLicense",
|
|
2083
|
+
"wbMonetize",
|
|
2084
|
+
"wbReview",
|
|
2085
|
+
"wbBroadcast",
|
|
2086
|
+
"wbTranslate",
|
|
2087
|
+
"wbToWBC"
|
|
2088
|
+
],
|
|
2089
|
+
"rule_that_beats_the_belt_system": "If you only ever use /wbContext at session start, /wbAudit before shipping, and /wbGit to commit — you're already 80% of the way there."
|
|
2090
|
+
},
|
|
2091
|
+
"wbCheck": {
|
|
2092
|
+
"description": "Pre-Flight Context Quiz to verify worker model understanding.",
|
|
2093
|
+
"role": "The Quizmaster — verifies the AI actually understands the codebase before acting.",
|
|
2094
|
+
"phase": "Pre-flight (before any heavy /wb*)"
|
|
2095
|
+
},
|
|
2096
|
+
"wbNext": {
|
|
2097
|
+
"description": "Determine the immediate next optimal command to run based on codebase state.",
|
|
2098
|
+
"role": "The Navigator — picks the next step when you're stuck.",
|
|
2099
|
+
"phase": "Anytime (decision point)",
|
|
2100
|
+
"belt": "White — first command when the path is unclear",
|
|
2101
|
+
"recommendedModel": "sonnet_4",
|
|
2102
|
+
"references": {
|
|
2103
|
+
"template": "wbNext/wbNext_template.md"
|
|
2104
|
+
},
|
|
2105
|
+
"flags": [
|
|
2106
|
+
{
|
|
2107
|
+
"long": "--scope",
|
|
2108
|
+
"short": "-s"
|
|
2109
|
+
},
|
|
2110
|
+
{
|
|
2111
|
+
"long": "--since",
|
|
2112
|
+
"short": "-S"
|
|
2113
|
+
}
|
|
2114
|
+
]
|
|
2115
|
+
},
|
|
2116
|
+
"wbTrack": {
|
|
2117
|
+
"description": "Universal session logging — every subsequent /wb* invocation is appended to a walkthrough file with strategic commentary.",
|
|
2118
|
+
"role": "The Stenographer — records the session.",
|
|
2119
|
+
"phase": "Session start (toggles ON)",
|
|
2120
|
+
"belt": "Black — meta-command, used in long sessions",
|
|
2121
|
+
"recommendedModel": "flash_3",
|
|
2122
|
+
"references": {
|
|
2123
|
+
"template": "wbTrack/wbTrack_template.md"
|
|
2124
|
+
},
|
|
2125
|
+
"flags": [
|
|
2126
|
+
{
|
|
2127
|
+
"long": "--finalize",
|
|
2128
|
+
"short": "-f"
|
|
2129
|
+
},
|
|
2130
|
+
{
|
|
2131
|
+
"long": "--scope",
|
|
2132
|
+
"short": "-s"
|
|
2133
|
+
}
|
|
2134
|
+
]
|
|
2135
|
+
},
|
|
2136
|
+
"wbStopTrack": {
|
|
2137
|
+
"description": "Stop session tracking, write final §END section, extract derivative files.",
|
|
2138
|
+
"role": "The Stenographer (closer) — closes the recording.",
|
|
2139
|
+
"phase": "Session end",
|
|
2140
|
+
"belt": "Black — companion to /wbTrack",
|
|
2141
|
+
"recommendedModel": "flash_3",
|
|
2142
|
+
"references": {
|
|
2143
|
+
"template": "wbTrack/wbTrack_template.md"
|
|
2144
|
+
},
|
|
2145
|
+
"alias_of": "wbTrack"
|
|
2146
|
+
},
|
|
2147
|
+
"wbHelp": {
|
|
2148
|
+
"description": "Print the role-grouped command catalog (no args) or one command's manual (`/wbHelp <wbX>` ≡ `/<wbX> -h`).",
|
|
2149
|
+
"role": "The Librarian — print-and-stop catalog/help.",
|
|
2150
|
+
"phase": "Anytime (meta-command)",
|
|
2151
|
+
"belt": "White — always available",
|
|
2152
|
+
"recommendedModel": "haiku_4_5",
|
|
2153
|
+
"references": {
|
|
2154
|
+
"template": "wbHelp/wbHelp_template.md"
|
|
2155
|
+
}
|
|
2156
|
+
},
|
|
2157
|
+
"wbWork": {
|
|
2158
|
+
"description": "Executes tasks defined in an active plan file.",
|
|
2159
|
+
"role": "The Worker — writes code and produces execution reports.",
|
|
2160
|
+
"phase": "Midday (execution phase)",
|
|
2161
|
+
"belt": "White — core loop",
|
|
2162
|
+
"recommendedModel": "sonnet_35",
|
|
2163
|
+
"args": {
|
|
2164
|
+
"withAFolder": {
|
|
2165
|
+
"syntax": "/wbWork <path_to_plan.md> [--id=<task_ids>]",
|
|
2166
|
+
"example": [
|
|
2167
|
+
{
|
|
2168
|
+
"command": "/wbWork plan_core2_20260503.md --id=2",
|
|
2169
|
+
"description": "Executes task 2 from the plan."
|
|
2170
|
+
},
|
|
2171
|
+
{
|
|
2172
|
+
"command": "/wbWork plan_core2_20260503.md *",
|
|
2173
|
+
"description": "Executes all pending tasks."
|
|
2174
|
+
}
|
|
2175
|
+
],
|
|
2176
|
+
"input": {
|
|
2177
|
+
"path": "<path_to_plan.md>",
|
|
2178
|
+
"type": "directory",
|
|
2179
|
+
"content": "Active plan file."
|
|
2180
|
+
},
|
|
2181
|
+
"outputs": [
|
|
2182
|
+
{
|
|
2183
|
+
"path": "<target_folder_path>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/plans/tasks_reports/task_<ID>_<TARGET>.md",
|
|
2184
|
+
"type": "markdown",
|
|
2185
|
+
"content": "Task execution report."
|
|
2186
|
+
}
|
|
2187
|
+
]
|
|
2188
|
+
}
|
|
2189
|
+
},
|
|
2190
|
+
"flags": [
|
|
2191
|
+
{
|
|
2192
|
+
"flag": "--id",
|
|
2193
|
+
"shortcut": "-i",
|
|
2194
|
+
"description": "Specifies task indices to execute (supports =, *, >, <, !=)."
|
|
2195
|
+
}
|
|
2196
|
+
],
|
|
2197
|
+
"notSuitableFor": [
|
|
2198
|
+
"Planning new tasks (use /wbPlan)",
|
|
2199
|
+
"Validating work (use /wbValid)"
|
|
2200
|
+
],
|
|
2201
|
+
"references": {
|
|
2202
|
+
"template": "wbWork/wbWork_template.md"
|
|
2203
|
+
}
|
|
2204
|
+
},
|
|
2205
|
+
"wbValid": {
|
|
2206
|
+
"description": "Validates executed tasks against their original plan requirements.",
|
|
2207
|
+
"role": "The Validator / QA — checks the Worker's code.",
|
|
2208
|
+
"phase": "Afternoon (QA phase)",
|
|
2209
|
+
"belt": "White — core loop",
|
|
2210
|
+
"recommendedModel": "opus_4",
|
|
2211
|
+
"args": {
|
|
2212
|
+
"withAFolder": {
|
|
2213
|
+
"syntax": "/wbValid <path_to_plan.md> [--id=<task_ids>]",
|
|
2214
|
+
"example": [
|
|
2215
|
+
{
|
|
2216
|
+
"command": "/wbValid plan_core2_20260503.md --id=2",
|
|
2217
|
+
"description": "Validates task 2."
|
|
2218
|
+
}
|
|
2219
|
+
],
|
|
2220
|
+
"input": {
|
|
2221
|
+
"path": "<path_to_plan.md>",
|
|
2222
|
+
"type": "directory",
|
|
2223
|
+
"content": "Active plan file and worker's task reports."
|
|
2224
|
+
},
|
|
2225
|
+
"outputs": [
|
|
2226
|
+
{
|
|
2227
|
+
"path": "<target_folder_path>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/plans/tasks_reports/task_<ID>_<TARGET>.md",
|
|
2228
|
+
"type": "markdown",
|
|
2229
|
+
"content": "Appends PASS/FAIL findings to the worker's report."
|
|
2230
|
+
}
|
|
2231
|
+
]
|
|
2232
|
+
}
|
|
2233
|
+
},
|
|
2234
|
+
"flags": [
|
|
2235
|
+
{
|
|
2236
|
+
"flag": "--id",
|
|
2237
|
+
"shortcut": "-i",
|
|
2238
|
+
"description": "Specifies task indices to validate (supports =, *)."
|
|
2239
|
+
}
|
|
2240
|
+
],
|
|
2241
|
+
"notSuitableFor": [
|
|
2242
|
+
"Executing code (use /wbWork)",
|
|
2243
|
+
"General code auditing (use /wbAudit)"
|
|
2244
|
+
],
|
|
2245
|
+
"references": {
|
|
2246
|
+
"template": "wbValid/wbValid_template.md"
|
|
2247
|
+
}
|
|
2248
|
+
},
|
|
2249
|
+
"wbExplain": {
|
|
2250
|
+
"description": "Generate persistent, formatted explanations for a specific task ID, a codebase architecture, or a general technical question, without executing code changes.",
|
|
2251
|
+
"role": "The Teacher / The Architect",
|
|
2252
|
+
"args": {
|
|
2253
|
+
"withTask": {
|
|
2254
|
+
"syntax": "/wbExplain <plan_file> --id=<task_id>",
|
|
2255
|
+
"example": {
|
|
2256
|
+
"example1": {
|
|
2257
|
+
"command": "/wbExplain plan_wb-core_20260503.md --id=1 --as=eli5",
|
|
2258
|
+
"description": "Explains task #1 from the plan using ELI5 style."
|
|
2259
|
+
}
|
|
2260
|
+
},
|
|
2261
|
+
"input": {
|
|
2262
|
+
"path": "<plan_file>",
|
|
2263
|
+
"type": "file",
|
|
2264
|
+
"content": "The plan markdown file containing the task"
|
|
2265
|
+
},
|
|
2266
|
+
"output": {
|
|
2267
|
+
"path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/explanations/explain_<slug>_<YYYYMMDD>.md",
|
|
2268
|
+
"type": "markdown",
|
|
2269
|
+
"content": "High-level summary, deep dive, and recommended approach."
|
|
2270
|
+
}
|
|
2271
|
+
},
|
|
2272
|
+
"withQuery": {
|
|
2273
|
+
"syntax": "/wbExplain <target_folder> \"<query>\"",
|
|
2274
|
+
"example": {
|
|
2275
|
+
"example1": {
|
|
2276
|
+
"command": "/wbExplain packages/wb-core/ \"How does the Tier parser work?\" --as=expert",
|
|
2277
|
+
"description": "Deep dives into the architecture question for the wb-core package."
|
|
2278
|
+
}
|
|
2279
|
+
},
|
|
2280
|
+
"input": {
|
|
2281
|
+
"path": "<target_folder>",
|
|
2282
|
+
"type": "directory",
|
|
2283
|
+
"content": "Source files relevant to the query"
|
|
2284
|
+
},
|
|
2285
|
+
"output": {
|
|
2286
|
+
"path": "<target_folder>/.wb/workflows/reports/<YYYY>/<MM>/<DD>/explanations/explain_<slug>_<YYYYMMDD>.md",
|
|
2287
|
+
"type": "markdown",
|
|
2288
|
+
"content": "High-level summary, deep dive, and recommended approach."
|
|
2289
|
+
}
|
|
2290
|
+
}
|
|
2291
|
+
},
|
|
2292
|
+
"flags": {
|
|
2293
|
+
"--as": {
|
|
2294
|
+
"flag": "--as=<style>",
|
|
2295
|
+
"role": "Adopts an exact tone or formatting style from shortcuts.md (e.g. eli5, expert, fr).",
|
|
2296
|
+
"example": {
|
|
2297
|
+
"example1": {
|
|
2298
|
+
"command": "/wbExplain plan.md --id=1 --as=eli5,fr",
|
|
2299
|
+
"description": "Explains the task in French, using an ELI5 analogy."
|
|
2300
|
+
}
|
|
2301
|
+
}
|
|
2302
|
+
}
|
|
2303
|
+
}
|
|
2304
|
+
}
|
|
2305
|
+
}
|