minimal-vibe-coding-kit 0.4.1 → 0.4.2

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 (84) hide show
  1. package/.agents/skills/agentshield-security-review/scripts/agentshield_repo_probe.py +28 -3
  2. package/.agents/skills/prompt-sharpener/SKILL.md +54 -0
  3. package/.agents/skills/vibekit-init/SKILL.md +2 -2
  4. package/.claude/settings.json +10 -3
  5. package/.claude/skills/agentshield-security-review/scripts/agentshield_repo_probe.py +28 -3
  6. package/.claude/skills/prompt-sharpener/SKILL.md +54 -0
  7. package/.claude/skills/vibekit-init/SKILL.md +2 -2
  8. package/.codex/rules/vibekit.rules +77 -0
  9. package/.codex-plugin/plugin.json +1 -1
  10. package/.cursor/cli.json +18 -0
  11. package/.cursor/settings.json +15 -8
  12. package/.cursor/skills/prompt-sharpener/SKILL.md +54 -0
  13. package/.grok/README.md +13 -0
  14. package/.grok/config.example.toml +13 -0
  15. package/.grok/config.toml +29 -0
  16. package/.grok/rules/safe-delete.md +11 -0
  17. package/.grok/rules/security.md +5 -0
  18. package/.grok/rules/vibe-core.md +8 -0
  19. package/.grok/skills/agentshield-security-review/SKILL.md +75 -0
  20. package/.grok/skills/agentshield-security-review/agents/openai.yaml +5 -0
  21. package/.grok/skills/agentshield-security-review/references/native-install.md +97 -0
  22. package/.grok/skills/agentshield-security-review/references/report-template.md +54 -0
  23. package/.grok/skills/agentshield-security-review/references/review-checklist.md +45 -0
  24. package/.grok/skills/agentshield-security-review/scripts/agentshield_repo_probe.py +135 -0
  25. package/.grok/skills/autoresearch-coding/README.md +15 -0
  26. package/.grok/skills/autoresearch-coding/SKILL.md +101 -0
  27. package/.grok/skills/autoresearch-coding/references/experiment-contract.md +13 -0
  28. package/.grok/skills/autoresearch-coding/references/metric-extraction.md +8 -0
  29. package/.grok/skills/autoresearch-coding/references/result-ledger.md +15 -0
  30. package/.grok/skills/autoresearch-coding/scripts/log_result.py +24 -0
  31. package/.grok/skills/autoresearch-coding/scripts/run_logged.py +30 -0
  32. package/.grok/skills/clearthought/SKILL.md +100 -0
  33. package/.grok/skills/clearthought/examples/decision-framework.md +441 -0
  34. package/.grok/skills/clearthought/examples/metagame-examples.md +536 -0
  35. package/.grok/skills/clearthought/examples/sequential-thinking.md +380 -0
  36. package/.grok/skills/clearthought/references/output-schemas.md +494 -0
  37. package/.grok/skills/clearthought/references/parameter-reference.md +482 -0
  38. package/.grok/skills/coding-level/SKILL.md +34 -0
  39. package/.grok/skills/coding-level/references/level-0.md +131 -0
  40. package/.grok/skills/coding-level/references/level-1.md +118 -0
  41. package/.grok/skills/coding-level/references/level-2.md +140 -0
  42. package/.grok/skills/coding-level/references/level-3.md +142 -0
  43. package/.grok/skills/coding-level/references/level-4.md +152 -0
  44. package/.grok/skills/coding-level/references/level-5.md +84 -0
  45. package/.grok/skills/daily-workflow-curator/SKILL.md +52 -0
  46. package/.grok/skills/memento/SKILL.md +36 -0
  47. package/.grok/skills/parallel-analysis/SKILL.md +160 -0
  48. package/.grok/skills/path-sensitive-shell-safety/SKILL.md +69 -0
  49. package/.grok/skills/path-sensitive-shell-safety/references/workflow.md +127 -0
  50. package/.grok/skills/prompt-sharpener/SKILL.md +54 -0
  51. package/.grok/skills/reviewing-4p-priorities/SKILL.md +72 -0
  52. package/.grok/skills/reviewing-4p-priorities/examples.md +298 -0
  53. package/.grok/skills/sequential-thinking/SKILL.md +106 -0
  54. package/.grok/skills/sequential-thinking/examples/adaptive-depth.md +542 -0
  55. package/.grok/skills/sequential-thinking/examples/branching-exploration.md +474 -0
  56. package/.grok/skills/sequential-thinking/examples/linear-reasoning.md +210 -0
  57. package/.grok/skills/sequential-thinking/examples/revision-pattern.md +304 -0
  58. package/.grok/skills/sequential-thinking/references/output-schema.md +483 -0
  59. package/.grok/skills/sequential-thinking/references/parameters.md +463 -0
  60. package/.grok/skills/sequential-thinking/references/patterns.md +666 -0
  61. package/.grok/skills/vibekit-init/SKILL.md +52 -0
  62. package/.grok/skills/visual-design-loop/SKILL.md +103 -0
  63. package/.grok/skills/visual-design-loop/agents/openai.yaml +4 -0
  64. package/.vibekit/docs/BACKBONE_REFERENCE.md +1 -1
  65. package/.vibekit/docs/INSTALL.md +9 -7
  66. package/.vibekit/docs/SECURITY_MODEL.md +1 -1
  67. package/.vibekit/docs/TOOLING_GUIDE.md +5 -0
  68. package/.vibekit/docs/templates/CONTEXT_TEMPLATE.md +1 -1
  69. package/.vibekit/init/CLAUDE-template.md +1 -0
  70. package/.vibekit/init/FIRST_PROMPT.md +1 -1
  71. package/.vibekit/init/FIRST_TIME_INIT.md +2 -2
  72. package/.vibekit/scripts/doctor.mjs +11 -4
  73. package/.vibekit/scripts/mvck.mjs +24 -9
  74. package/.vibekit/scripts/test-install.mjs +8 -0
  75. package/.vibekit/scripts/validate-kit.mjs +104 -39
  76. package/.vibekit/skills/agentshield-security-review/scripts/agentshield_repo_probe.py +28 -3
  77. package/.vibekit/skills/prompt-sharpener/SKILL.md +54 -0
  78. package/.vibekit/skills/vibekit-init/SKILL.md +2 -2
  79. package/AGENTS.md +2 -2
  80. package/CHANGELOG.md +10 -0
  81. package/README.md +17 -12
  82. package/backbone.yml +2 -1
  83. package/docs/README.vi.md +56 -51
  84. package/package.json +7 -2
@@ -0,0 +1,483 @@
1
+ # Sequential Thinking - Output Schema Reference
2
+
3
+ Complete JSON response structure documentation.
4
+
5
+ ## Base Response Structure
6
+
7
+ ```typescript
8
+ {
9
+ thoughtNumber: number; // Current position (1-100)
10
+ totalThoughts: number; // Estimated total (auto-adjusts)
11
+ nextThoughtNeeded: boolean; // Continue flag
12
+ branches: string[]; // Active branch IDs
13
+ thoughtHistoryLength: number; // Total processed
14
+ sessionContext: { // Session metadata
15
+ sessionId: string;
16
+ remainingThoughts: number;
17
+ [key: string]: any;
18
+ }
19
+ }
20
+ ```
21
+
22
+ ---
23
+
24
+ ## Field Descriptions
25
+
26
+ ### `thoughtNumber` (number)
27
+ **Current position in thought sequence**
28
+
29
+ **Range:** 1-100
30
+ **Behavior:** Increments by 1 for each thought
31
+ **Auto-adjustment:** If exceeds `totalThoughts`, adjusts it upward
32
+
33
+ **Examples:**
34
+ ```json
35
+ {"thoughtNumber": 1} // First thought
36
+ {"thoughtNumber": 15} // Fifteenth thought
37
+ {"thoughtNumber": 100} // Maximum (limit reached)
38
+ ```
39
+
40
+ ---
41
+
42
+ ### `totalThoughts` (number)
43
+ **Estimated total thoughts needed for complete analysis**
44
+
45
+ **Range:** 1-100 (matches `thoughtNumber`)
46
+ **Behavior:** Can increase dynamically, never decreases
47
+ **Auto-adjustment:** Matches `thoughtNumber` if exceeded
48
+
49
+ **Examples:**
50
+ ```json
51
+ // Initial estimate
52
+ {"totalThoughts": 5}
53
+
54
+ // After auto-adjustment
55
+ {"thoughtNumber": 7, "totalThoughts": 7}
56
+
57
+ // After needsMoreThoughts
58
+ {"totalThoughts": 8} // Was 5, added 3
59
+ ```
60
+
61
+ ---
62
+
63
+ ### `nextThoughtNeeded` (boolean)
64
+ **Whether another thought step is needed**
65
+
66
+ **Values:** `true` (continue) or `false` (complete)
67
+ **Purpose:** Flow control for reasoning loop
68
+ **Decision:** Set by LLM based on problem completeness
69
+
70
+ **Examples:**
71
+ ```json
72
+ // Continuing analysis
73
+ {"nextThoughtNeeded": true}
74
+
75
+ // Analysis complete
76
+ {"nextThoughtNeeded": false}
77
+ ```
78
+
79
+ ---
80
+
81
+ ### `branches` (string[])
82
+ **Array of active branch IDs**
83
+
84
+ **Type:** Array of strings
85
+ **Content:** Unique branch identifiers created during exploration
86
+ **Deduplication:** Automatic (no duplicates)
87
+
88
+ **Examples:**
89
+ ```json
90
+ // No branches
91
+ {"branches": []}
92
+
93
+ // Single branch
94
+ {"branches": ["alternative-approach"]}
95
+
96
+ // Multiple branches
97
+ {"branches": ["approach-a", "approach-b", "fallback"]}
98
+ ```
99
+
100
+ ---
101
+
102
+ ### `thoughtHistoryLength` (number)
103
+ **Total number of thoughts processed in session**
104
+
105
+ **Type:** Integer ≥ 1
106
+ **Behavior:** Increments by 1 with each thought
107
+ **Includes:** Regular thoughts + revisions + branch thoughts
108
+
109
+ **Examples:**
110
+ ```json
111
+ // First thought
112
+ {"thoughtHistoryLength": 1}
113
+
114
+ // After 8 thoughts
115
+ {"thoughtHistoryLength": 8}
116
+
117
+ // With branches and revisions
118
+ {"thoughtHistoryLength": 15} // Main:8, Branches:5, Revisions:2
119
+ ```
120
+
121
+ ---
122
+
123
+ ### `sessionContext` (object)
124
+ **Session metadata and statistics**
125
+
126
+ **Required fields:**
127
+ - `sessionId`: Session identifier (default: "conversation")
128
+ - `remainingThoughts`: 100 - totalThoughts
129
+
130
+ **Optional fields:**
131
+ - `recentThoughts`: Preview of last 3 thoughts
132
+ - `revisionsMade`: Count of revisions
133
+ - `revisedThoughts`: Array of thought numbers revised
134
+ - `branchDepth`: Deepest branch depth
135
+ - Any custom metadata
136
+
137
+ **Example:**
138
+ ```json
139
+ {
140
+ "sessionContext": {
141
+ "sessionId": "conversation",
142
+ "remainingThoughts": 92,
143
+ "recentThoughts": [
144
+ {"number": 8, "preview": "Synthesizing findings..."},
145
+ {"number": 7, "preview": "Branch B shows promise..."},
146
+ {"number": 6, "preview": "Analyzing Branch A..."}
147
+ ],
148
+ "revisionsMade": 1,
149
+ "revisedThoughts": [2]
150
+ }
151
+ }
152
+ ```
153
+
154
+ ---
155
+
156
+ ## Response Examples
157
+
158
+ ### Example 1: First Thought
159
+ ```json
160
+ {
161
+ "thoughtNumber": 1,
162
+ "totalThoughts": 3,
163
+ "nextThoughtNeeded": true,
164
+ "branches": [],
165
+ "thoughtHistoryLength": 1,
166
+ "sessionContext": {
167
+ "sessionId": "conversation",
168
+ "remainingThoughts": 99
169
+ }
170
+ }
171
+ ```
172
+
173
+ ---
174
+
175
+ ### Example 2: Mid-Sequence
176
+ ```json
177
+ {
178
+ "thoughtNumber": 5,
179
+ "totalThoughts": 8,
180
+ "nextThoughtNeeded": true,
181
+ "branches": [],
182
+ "thoughtHistoryLength": 5,
183
+ "sessionContext": {
184
+ "sessionId": "conversation",
185
+ "remainingThoughts": 95,
186
+ "recentThoughts": [
187
+ {"number": 5, "preview": "Current thought..."},
188
+ {"number": 4, "preview": "Previous thought..."},
189
+ {"number": 3, "preview": "Earlier thought..."}
190
+ ]
191
+ }
192
+ }
193
+ ```
194
+
195
+ ---
196
+
197
+ ### Example 3: With Revision
198
+ ```json
199
+ {
200
+ "thoughtNumber": 6,
201
+ "totalThoughts": 8,
202
+ "nextThoughtNeeded": true,
203
+ "branches": [],
204
+ "thoughtHistoryLength": 6,
205
+ "revisionOf": 3,
206
+ "sessionContext": {
207
+ "sessionId": "conversation",
208
+ "remainingThoughts": 94,
209
+ "revisionsMade": 1,
210
+ "revisedThoughts": [3]
211
+ }
212
+ }
213
+ ```
214
+
215
+ ---
216
+
217
+ ### Example 4: With Branches
218
+ ```json
219
+ {
220
+ "thoughtNumber": 7,
221
+ "totalThoughts": 10,
222
+ "nextThoughtNeeded": true,
223
+ "branches": ["caching", "optimization", "scaling"],
224
+ "thoughtHistoryLength": 12,
225
+ "branchInfo": {
226
+ "currentBranch": "optimization",
227
+ "fromThought": 4,
228
+ "branchDepth": 2
229
+ },
230
+ "sessionContext": {
231
+ "sessionId": "conversation",
232
+ "remainingThoughts": 90
233
+ }
234
+ }
235
+ ```
236
+
237
+ ---
238
+
239
+ ### Example 5: Auto-Adjusted
240
+ ```json
241
+ {
242
+ "thoughtNumber": 8,
243
+ "totalThoughts": 8,
244
+ "nextThoughtNeeded": true,
245
+ "branches": [],
246
+ "thoughtHistoryLength": 8,
247
+ "totalThoughtsAdjusted": true,
248
+ "originalEstimate": 5,
249
+ "sessionContext": {
250
+ "sessionId": "conversation",
251
+ "remainingThoughts": 92
252
+ }
253
+ }
254
+ ```
255
+
256
+ ---
257
+
258
+ ### Example 6: Final Thought
259
+ ```json
260
+ {
261
+ "thoughtNumber": 10,
262
+ "totalThoughts": 10,
263
+ "nextThoughtNeeded": false,
264
+ "branches": ["explored-a", "explored-b"],
265
+ "thoughtHistoryLength": 15,
266
+ "status": "complete",
267
+ "sessionContext": {
268
+ "sessionId": "conversation",
269
+ "remainingThoughts": 90,
270
+ "branchesExplored": 2,
271
+ "revisionsM ade": 2
272
+ }
273
+ }
274
+ ```
275
+
276
+ ---
277
+
278
+ ## Error Response Structure
279
+
280
+ ```json
281
+ {
282
+ "error": "Thought number must be between 1 and 100",
283
+ "thoughtNumber": 101,
284
+ "success": false,
285
+ "errorType": "validation",
286
+ "suggestions": [
287
+ "Use thought number between 1-100",
288
+ "Consider summarizing earlier thoughts"
289
+ ],
290
+ "sessionContext": {
291
+ "sessionId": "conversation"
292
+ }
293
+ }
294
+ ```
295
+
296
+ ### Error Fields
297
+
298
+ | Field | Type | Description |
299
+ |-------|------|-------------|
300
+ | `error` | string | Error message |
301
+ | `success` | boolean | Always false for errors |
302
+ | `errorType` | string | Category: validation, runtime, configuration |
303
+ | `suggestions` | string[] | Recovery suggestions |
304
+ | `sessionContext` | object | Session info (even on error) |
305
+
306
+ ---
307
+
308
+ ## Enhanced Response Features (Skill-Specific)
309
+
310
+ ### Include Thought Content
311
+
312
+ Unlike MCP (metadata-only), skill responses include full thought:
313
+
314
+ ```json
315
+ {
316
+ "thoughtNumber": 5,
317
+ "thoughtContent": "Analyzing the authentication flow reveals three key components...",
318
+ "totalThoughts": 8,
319
+ "nextThoughtNeeded": true,
320
+ "branches": [],
321
+ "thoughtHistoryLength": 5,
322
+ "sessionContext": {
323
+ "sessionId": "conversation",
324
+ "remainingThoughts": 95
325
+ }
326
+ }
327
+ ```
328
+
329
+ ---
330
+
331
+ ### Recent Thoughts Preview
332
+
333
+ ```json
334
+ {
335
+ "sessionContext": {
336
+ "recentThoughts": [
337
+ {
338
+ "number": 5,
339
+ "content": "Full content of thought 5...",
340
+ "type": "regular",
341
+ "timestamp": "2026-04-05T10:30:00Z"
342
+ },
343
+ {
344
+ "number": 4,
345
+ "content": "Full content of thought 4...",
346
+ "type": "branch",
347
+ "branchId": "alt-a"
348
+ },
349
+ {
350
+ "number": 3,
351
+ "content": "Full content of thought 3...",
352
+ "type": "revision",
353
+ "revisedThought": 1
354
+ }
355
+ ]
356
+ }
357
+ }
358
+ ```
359
+
360
+ ---
361
+
362
+ ### Branch Summary
363
+
364
+ ```json
365
+ {
366
+ "branches": ["approach-a", "approach-b"],
367
+ "branchSummary": {
368
+ "approach-a": {
369
+ "fromThought": 3,
370
+ "thoughtCount": 4,
371
+ "lastThought": 7
372
+ },
373
+ "approach-b": {
374
+ "fromThought": 3,
375
+ "thoughtCount": 2,
376
+ "lastThought": 5
377
+ }
378
+ }
379
+ }
380
+ ```
381
+
382
+ ---
383
+
384
+ ## Status Fields
385
+
386
+ ### `status` (string, optional)
387
+
388
+ Added when thought sequence reaches specific states:
389
+
390
+ ```json
391
+ // Approaching limit
392
+ {"status": "approaching_limit"} // thoughtNumber > 90
393
+
394
+ // Limit reached
395
+ {"status": "limit_reached"} // thoughtNumber = 100
396
+
397
+ // Analysis complete
398
+ {"status": "complete"} // nextThoughtNeeded = false
399
+
400
+ // Error state
401
+ {"status": "failed"} // Error occurred
402
+ ```
403
+
404
+ ---
405
+
406
+ ## Metadata Tracking
407
+
408
+ ### Adjustment Tracking
409
+ ```json
410
+ {
411
+ "totalThoughtsAdjusted": true,
412
+ "originalEstimate": 5,
413
+ "currentEstimate": 8,
414
+ "adjustmentsMade": 1
415
+ }
416
+ ```
417
+
418
+ ### Revision Tracking
419
+ ```json
420
+ {
421
+ "revisionOf": 3,
422
+ "sessionContext": {
423
+ "revisionsMade": 2,
424
+ "revisedThoughts": [2, 3]
425
+ }
426
+ }
427
+ ```
428
+
429
+ ### Branch Tracking
430
+ ```json
431
+ {
432
+ "branches": ["a", "b"],
433
+ "sessionContext": {
434
+ "totalBranches": 2,
435
+ "activeBranches": 2,
436
+ "branchDepth": 3
437
+ }
438
+ }
439
+ ```
440
+
441
+ ---
442
+
443
+ ## Comparison: MCP vs Skill Output
444
+
445
+ ### MCP Server Output (Metadata Only)
446
+ ```json
447
+ {
448
+ "thoughtNumber": 5,
449
+ "totalThoughts": 8,
450
+ "nextThoughtNeeded": true,
451
+ "branches": ["alt-a"],
452
+ "thoughtHistoryLength": 12
453
+ }
454
+ ```
455
+
456
+ ### Skill Output (Enhanced)
457
+ ```json
458
+ {
459
+ "thoughtNumber": 5,
460
+ "thoughtContent": "Full thought text here...",
461
+ "totalThoughts": 8,
462
+ "nextThoughtNeeded": true,
463
+ "branches": ["alt-a"],
464
+ "thoughtHistoryLength": 12,
465
+ "branchInfo": {
466
+ "currentBranch": "alt-a",
467
+ "fromThought": 3
468
+ },
469
+ "sessionContext": {
470
+ "sessionId": "conversation",
471
+ "remainingThoughts": 95,
472
+ "recentThoughts": [...]
473
+ }
474
+ }
475
+ ```
476
+
477
+ **Enhancement:** Skill includes full context for transparency.
478
+
479
+ ---
480
+
481
+ **For usage patterns, see:** [patterns.md](patterns.md)
482
+ **For examples, see:** [../examples/](../examples/)
483
+ **For parameters, see:** [parameters.md](parameters.md)