minimal-vibe-coding-kit 0.3.0

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 (223) hide show
  1. package/.agents/skills/agentshield-security-review/SKILL.md +75 -0
  2. package/.agents/skills/agentshield-security-review/agents/openai.yaml +5 -0
  3. package/.agents/skills/agentshield-security-review/references/native-install.md +97 -0
  4. package/.agents/skills/agentshield-security-review/references/report-template.md +54 -0
  5. package/.agents/skills/agentshield-security-review/references/review-checklist.md +45 -0
  6. package/.agents/skills/agentshield-security-review/scripts/agentshield_repo_probe.py +110 -0
  7. package/.agents/skills/autoresearch-coding/README.md +15 -0
  8. package/.agents/skills/autoresearch-coding/SKILL.md +101 -0
  9. package/.agents/skills/autoresearch-coding/references/experiment-contract.md +13 -0
  10. package/.agents/skills/autoresearch-coding/references/metric-extraction.md +8 -0
  11. package/.agents/skills/autoresearch-coding/references/result-ledger.md +15 -0
  12. package/.agents/skills/autoresearch-coding/scripts/log_result.py +24 -0
  13. package/.agents/skills/autoresearch-coding/scripts/run_logged.py +30 -0
  14. package/.agents/skills/clearthought/SKILL.md +100 -0
  15. package/.agents/skills/clearthought/examples/decision-framework.md +441 -0
  16. package/.agents/skills/clearthought/examples/metagame-examples.md +536 -0
  17. package/.agents/skills/clearthought/examples/sequential-thinking.md +380 -0
  18. package/.agents/skills/clearthought/references/output-schemas.md +494 -0
  19. package/.agents/skills/clearthought/references/parameter-reference.md +482 -0
  20. package/.agents/skills/coding-level/SKILL.md +27 -0
  21. package/.agents/skills/coding-level/references/level-0.md +131 -0
  22. package/.agents/skills/coding-level/references/level-1.md +118 -0
  23. package/.agents/skills/coding-level/references/level-2.md +140 -0
  24. package/.agents/skills/coding-level/references/level-3.md +142 -0
  25. package/.agents/skills/coding-level/references/level-4.md +152 -0
  26. package/.agents/skills/coding-level/references/level-5.md +84 -0
  27. package/.agents/skills/daily-workflow-curator/SKILL.md +52 -0
  28. package/.agents/skills/memento/SKILL.md +36 -0
  29. package/.agents/skills/reviewing-4p-priorities/SKILL.md +72 -0
  30. package/.agents/skills/reviewing-4p-priorities/examples.md +298 -0
  31. package/.agents/skills/sequential-thinking/SKILL.md +106 -0
  32. package/.agents/skills/sequential-thinking/examples/adaptive-depth.md +542 -0
  33. package/.agents/skills/sequential-thinking/examples/branching-exploration.md +474 -0
  34. package/.agents/skills/sequential-thinking/examples/linear-reasoning.md +210 -0
  35. package/.agents/skills/sequential-thinking/examples/revision-pattern.md +304 -0
  36. package/.agents/skills/sequential-thinking/references/output-schema.md +483 -0
  37. package/.agents/skills/sequential-thinking/references/parameters.md +463 -0
  38. package/.agents/skills/sequential-thinking/references/patterns.md +666 -0
  39. package/.agents/skills/vibekit-init/SKILL.md +52 -0
  40. package/.agents/skills/visual-design-loop/SKILL.md +103 -0
  41. package/.agents/skills/visual-design-loop/agents/openai.yaml +4 -0
  42. package/.claude/agents/code-reviewer.md +11 -0
  43. package/.claude/agents/context-architect.md +11 -0
  44. package/.claude/agents/debug-fixer.md +11 -0
  45. package/.claude/agents/hypothesis-planner.md +11 -0
  46. package/.claude/agents/implementation-hacker.md +11 -0
  47. package/.claude/agents/research-coordinator.md +11 -0
  48. package/.claude/agents/results-analyst.md +11 -0
  49. package/.claude/agents/security-reviewer.md +11 -0
  50. package/.claude/agents/test-runner.md +11 -0
  51. package/.claude/agents/workflow-curator.md +11 -0
  52. package/.claude/commands/autoresearch-coding.md +15 -0
  53. package/.claude/commands/council.md +7 -0
  54. package/.claude/commands/daily-enhance.md +7 -0
  55. package/.claude/commands/init-vibe.md +7 -0
  56. package/.claude/commands/security-scan.md +7 -0
  57. package/.claude/commands/vibe-finalize.md +7 -0
  58. package/.claude/rules/autoresearch.md +3 -0
  59. package/.claude/rules/security.md +3 -0
  60. package/.claude/rules/tooling.md +6 -0
  61. package/.claude/rules/vibe-core.md +8 -0
  62. package/.claude/settings.json +22 -0
  63. package/.claude/skills/agentshield-security-review/SKILL.md +75 -0
  64. package/.claude/skills/agentshield-security-review/agents/openai.yaml +5 -0
  65. package/.claude/skills/agentshield-security-review/references/native-install.md +97 -0
  66. package/.claude/skills/agentshield-security-review/references/report-template.md +54 -0
  67. package/.claude/skills/agentshield-security-review/references/review-checklist.md +45 -0
  68. package/.claude/skills/agentshield-security-review/scripts/agentshield_repo_probe.py +110 -0
  69. package/.claude/skills/autoresearch-coding/README.md +15 -0
  70. package/.claude/skills/autoresearch-coding/SKILL.md +101 -0
  71. package/.claude/skills/autoresearch-coding/references/experiment-contract.md +13 -0
  72. package/.claude/skills/autoresearch-coding/references/metric-extraction.md +8 -0
  73. package/.claude/skills/autoresearch-coding/references/result-ledger.md +15 -0
  74. package/.claude/skills/autoresearch-coding/scripts/log_result.py +24 -0
  75. package/.claude/skills/autoresearch-coding/scripts/run_logged.py +30 -0
  76. package/.claude/skills/clearthought/SKILL.md +100 -0
  77. package/.claude/skills/clearthought/examples/decision-framework.md +441 -0
  78. package/.claude/skills/clearthought/examples/metagame-examples.md +536 -0
  79. package/.claude/skills/clearthought/examples/sequential-thinking.md +380 -0
  80. package/.claude/skills/clearthought/references/output-schemas.md +494 -0
  81. package/.claude/skills/clearthought/references/parameter-reference.md +482 -0
  82. package/.claude/skills/coding-level/SKILL.md +27 -0
  83. package/.claude/skills/coding-level/references/level-0.md +131 -0
  84. package/.claude/skills/coding-level/references/level-1.md +118 -0
  85. package/.claude/skills/coding-level/references/level-2.md +140 -0
  86. package/.claude/skills/coding-level/references/level-3.md +142 -0
  87. package/.claude/skills/coding-level/references/level-4.md +152 -0
  88. package/.claude/skills/coding-level/references/level-5.md +84 -0
  89. package/.claude/skills/daily-workflow-curator/SKILL.md +52 -0
  90. package/.claude/skills/memento/SKILL.md +36 -0
  91. package/.claude/skills/reviewing-4p-priorities/SKILL.md +72 -0
  92. package/.claude/skills/reviewing-4p-priorities/examples.md +298 -0
  93. package/.claude/skills/sequential-thinking/SKILL.md +106 -0
  94. package/.claude/skills/sequential-thinking/examples/adaptive-depth.md +542 -0
  95. package/.claude/skills/sequential-thinking/examples/branching-exploration.md +474 -0
  96. package/.claude/skills/sequential-thinking/examples/linear-reasoning.md +210 -0
  97. package/.claude/skills/sequential-thinking/examples/revision-pattern.md +304 -0
  98. package/.claude/skills/sequential-thinking/references/output-schema.md +483 -0
  99. package/.claude/skills/sequential-thinking/references/parameters.md +463 -0
  100. package/.claude/skills/sequential-thinking/references/patterns.md +666 -0
  101. package/.claude/skills/vibekit-init/SKILL.md +52 -0
  102. package/.claude/skills/visual-design-loop/SKILL.md +103 -0
  103. package/.claude/skills/visual-design-loop/agents/openai.yaml +4 -0
  104. package/.codex/README.md +11 -0
  105. package/.codex/config.example.toml +8 -0
  106. package/.codex-plugin/plugin.json +10 -0
  107. package/.cursor/commands/autoresearch-coding.md +11 -0
  108. package/.cursor/commands/council.md +3 -0
  109. package/.cursor/commands/daily-enhance.md +3 -0
  110. package/.cursor/commands/init-vibe.md +3 -0
  111. package/.cursor/commands/security-scan.md +3 -0
  112. package/.cursor/commands/vibe-finalize.md +3 -0
  113. package/.cursor/rules/001-vibe-core.mdc +6 -0
  114. package/.cursor/rules/010-init.mdc +7 -0
  115. package/.cursor/rules/020-security-agentshield.mdc +7 -0
  116. package/.cursor/rules/030-autoresearch-loop.mdc +7 -0
  117. package/.cursor/settings.json +22 -0
  118. package/.cursor/skills/clearthought/SKILL.md +100 -0
  119. package/.cursor/skills/clearthought/examples/decision-framework.md +441 -0
  120. package/.cursor/skills/clearthought/examples/metagame-examples.md +536 -0
  121. package/.cursor/skills/clearthought/examples/sequential-thinking.md +380 -0
  122. package/.cursor/skills/clearthought/references/output-schemas.md +494 -0
  123. package/.cursor/skills/clearthought/references/parameter-reference.md +482 -0
  124. package/.cursor/skills/coding-level/SKILL.md +27 -0
  125. package/.cursor/skills/coding-level/references/level-0.md +131 -0
  126. package/.cursor/skills/coding-level/references/level-1.md +118 -0
  127. package/.cursor/skills/coding-level/references/level-2.md +140 -0
  128. package/.cursor/skills/coding-level/references/level-3.md +142 -0
  129. package/.cursor/skills/coding-level/references/level-4.md +152 -0
  130. package/.cursor/skills/coding-level/references/level-5.md +84 -0
  131. package/.cursor/skills/memento/SKILL.md +36 -0
  132. package/.cursor/skills/reviewing-4p-priorities/SKILL.md +72 -0
  133. package/.cursor/skills/reviewing-4p-priorities/examples.md +298 -0
  134. package/.cursor/skills/sequential-thinking/SKILL.md +106 -0
  135. package/.cursor/skills/sequential-thinking/examples/adaptive-depth.md +542 -0
  136. package/.cursor/skills/sequential-thinking/examples/branching-exploration.md +474 -0
  137. package/.cursor/skills/sequential-thinking/examples/linear-reasoning.md +210 -0
  138. package/.cursor/skills/sequential-thinking/examples/revision-pattern.md +304 -0
  139. package/.cursor/skills/sequential-thinking/references/output-schema.md +483 -0
  140. package/.cursor/skills/sequential-thinking/references/parameters.md +463 -0
  141. package/.cursor/skills/sequential-thinking/references/patterns.md +666 -0
  142. package/.vbkit-commands/autoresearch-coding.md +11 -0
  143. package/.vbkit-commands/council.md +3 -0
  144. package/.vbkit-commands/daily-enhance.md +3 -0
  145. package/.vbkit-commands/init-vibe.md +3 -0
  146. package/.vbkit-commands/security-scan.md +3 -0
  147. package/.vbkit-commands/vibe-finalize.md +3 -0
  148. package/.vbkit-docs/AUTORESEARCH_LEDGER.md +11 -0
  149. package/.vbkit-docs/BACKBONE_REFERENCE.md +59 -0
  150. package/.vbkit-docs/INSTALL.md +120 -0
  151. package/.vbkit-docs/RESEARCH_NOTES.md +22 -0
  152. package/.vbkit-docs/SECURITY_MODEL.md +40 -0
  153. package/.vbkit-docs/TOOLING_GUIDE.md +22 -0
  154. package/.vbkit-docs/backbone.schema.json +110 -0
  155. package/.vbkit-docs/templates/CONTEXT_TEMPLATE.md +47 -0
  156. package/.vbkit-docs/templates/PRD_TEMPLATE.md +48 -0
  157. package/.vbkit-scripts/agentshield-probe.mjs +22 -0
  158. package/.vbkit-scripts/daily-enhance.mjs +62 -0
  159. package/.vbkit-scripts/doctor.mjs +323 -0
  160. package/.vbkit-scripts/init-backbone.mjs +628 -0
  161. package/.vbkit-scripts/mvck.mjs +444 -0
  162. package/.vbkit-scripts/pack-dry-run.mjs +16 -0
  163. package/.vbkit-scripts/test-install.mjs +118 -0
  164. package/.vbkit-scripts/validate-kit.mjs +419 -0
  165. package/.vbkit-scripts/vibekit-finalize.mjs +185 -0
  166. package/AGENTS.md +60 -0
  167. package/CHANGELOG.md +34 -0
  168. package/CLAUDE-template.md +52 -0
  169. package/CODE_OF_CONDUCT.md +18 -0
  170. package/CONTRIBUTING.md +28 -0
  171. package/FIRST_PROMPT.md +54 -0
  172. package/FIRST_TIME_INIT.md +165 -0
  173. package/LICENSE +21 -0
  174. package/README.md +493 -0
  175. package/README.vi.md +431 -0
  176. package/SECURITY.md +28 -0
  177. package/backbone.yml +103 -0
  178. package/bin/mvck.js +2 -0
  179. package/bin/vibe-kit.js +2 -0
  180. package/install.ps1 +14 -0
  181. package/install.sh +8 -0
  182. package/package.json +92 -0
  183. package/skills/agentshield-security-review/SKILL.md +75 -0
  184. package/skills/agentshield-security-review/agents/openai.yaml +5 -0
  185. package/skills/agentshield-security-review/references/native-install.md +97 -0
  186. package/skills/agentshield-security-review/references/report-template.md +54 -0
  187. package/skills/agentshield-security-review/references/review-checklist.md +45 -0
  188. package/skills/agentshield-security-review/scripts/agentshield_repo_probe.py +110 -0
  189. package/skills/autoresearch-coding/README.md +15 -0
  190. package/skills/autoresearch-coding/SKILL.md +101 -0
  191. package/skills/autoresearch-coding/references/experiment-contract.md +13 -0
  192. package/skills/autoresearch-coding/references/metric-extraction.md +8 -0
  193. package/skills/autoresearch-coding/references/result-ledger.md +15 -0
  194. package/skills/autoresearch-coding/scripts/log_result.py +24 -0
  195. package/skills/autoresearch-coding/scripts/run_logged.py +30 -0
  196. package/skills/clearthought/SKILL.md +100 -0
  197. package/skills/clearthought/examples/decision-framework.md +441 -0
  198. package/skills/clearthought/examples/metagame-examples.md +536 -0
  199. package/skills/clearthought/examples/sequential-thinking.md +380 -0
  200. package/skills/clearthought/references/output-schemas.md +494 -0
  201. package/skills/clearthought/references/parameter-reference.md +482 -0
  202. package/skills/coding-level/SKILL.md +27 -0
  203. package/skills/coding-level/references/level-0.md +131 -0
  204. package/skills/coding-level/references/level-1.md +118 -0
  205. package/skills/coding-level/references/level-2.md +140 -0
  206. package/skills/coding-level/references/level-3.md +142 -0
  207. package/skills/coding-level/references/level-4.md +152 -0
  208. package/skills/coding-level/references/level-5.md +84 -0
  209. package/skills/daily-workflow-curator/SKILL.md +52 -0
  210. package/skills/memento/SKILL.md +36 -0
  211. package/skills/reviewing-4p-priorities/SKILL.md +72 -0
  212. package/skills/reviewing-4p-priorities/examples.md +298 -0
  213. package/skills/sequential-thinking/SKILL.md +106 -0
  214. package/skills/sequential-thinking/examples/adaptive-depth.md +542 -0
  215. package/skills/sequential-thinking/examples/branching-exploration.md +474 -0
  216. package/skills/sequential-thinking/examples/linear-reasoning.md +210 -0
  217. package/skills/sequential-thinking/examples/revision-pattern.md +304 -0
  218. package/skills/sequential-thinking/references/output-schema.md +483 -0
  219. package/skills/sequential-thinking/references/parameters.md +463 -0
  220. package/skills/sequential-thinking/references/patterns.md +666 -0
  221. package/skills/vibekit-init/SKILL.md +52 -0
  222. package/skills/visual-design-loop/SKILL.md +103 -0
  223. package/skills/visual-design-loop/agents/openai.yaml +4 -0
@@ -0,0 +1,463 @@
1
+ # Sequential Thinking - Parameter Reference
2
+
3
+ Complete documentation for all 9 parameters.
4
+
5
+ ## Required Parameters (4)
6
+
7
+ ### `thought` (string)
8
+ **Description:** Your current thinking step
9
+
10
+ **Format:** Natural language text describing your reasoning
11
+
12
+ **Usage:**
13
+ ```bash
14
+ /sequential-thinking "Step 1: Identify the core problem - slow API responses"
15
+ ```
16
+
17
+ **Guidelines:**
18
+ - Be specific and detailed
19
+ - Include reasoning, not just conclusions
20
+ - Can span multiple sentences
21
+ - No length limit (but keep under 1000 chars for readability)
22
+
23
+ ---
24
+
25
+ ### `thoughtNumber` (number)
26
+ **Description:** Current thought number in sequence (1-100)
27
+
28
+ **Type:** Integer, minimum 1, maximum 100
29
+
30
+ **Default:** 1 (first thought)
31
+
32
+ **Usage:**
33
+ ```bash
34
+ /sequential-thinking "Second thought..." thoughtNumber=2
35
+ ```
36
+
37
+ **Validation:**
38
+ - Must be positive integer
39
+ - Must be sequential (1, 2, 3, ...)
40
+ - Auto-adjusts `totalThoughts` if exceeded
41
+
42
+ **Common patterns:**
43
+ ```bash
44
+ # First thought
45
+ thoughtNumber=1
46
+
47
+ # Sequential continuation
48
+ thoughtNumber=2, thoughtNumber=3, ...
49
+
50
+ # Dynamic extension (beyond initial estimate)
51
+ thoughtNumber=6 totalThoughts=5 # Auto-adjusts to totalThoughts=6
52
+ ```
53
+
54
+ ---
55
+
56
+ ### `totalThoughts` (number)
57
+ **Description:** Estimated total thoughts needed
58
+
59
+ **Type:** Integer, minimum 1
60
+
61
+ **Default:** 3
62
+
63
+ **Usage:**
64
+ ```bash
65
+ /sequential-thinking "Starting..." thoughtNumber=1 totalThoughts=5
66
+ ```
67
+
68
+ **Behavior:**
69
+ - Initial estimate (can be adjusted)
70
+ - Auto-increases if `thoughtNumber` exceeds it
71
+ - Used to calculate `remainingThoughts = 100 - totalThoughts`
72
+
73
+ **Patterns:**
74
+ ```bash
75
+ # Short analysis (3-5 thoughts)
76
+ totalThoughts=3
77
+
78
+ # Medium analysis (5-10 thoughts)
79
+ totalThoughts=8
80
+
81
+ # Deep exploration (10-20 thoughts)
82
+ totalThoughts=15
83
+
84
+ # Let it grow dynamically
85
+ totalThoughts=3 → auto-adjusts to 6, 9, 12...
86
+ ```
87
+
88
+ ---
89
+
90
+ ### `nextThoughtNeeded` (boolean)
91
+ **Description:** Whether another thought step is needed
92
+
93
+ **Type:** Boolean (true/false)
94
+
95
+ **Default:** true (continue thinking)
96
+
97
+ **Usage:**
98
+ ```bash
99
+ # Continue thinking
100
+ /sequential-thinking "Analyzing..." nextThoughtNeeded=true
101
+
102
+ # Final thought
103
+ /sequential-thinking "Conclusion..." nextThoughtNeeded=false
104
+ ```
105
+
106
+ **Flow control:**
107
+ - `true` → LLM should generate another thought
108
+ - `false` → Analysis complete, no more thoughts
109
+
110
+ **When to set false:**
111
+ - Reached satisfactory conclusion
112
+ - All branches explored
113
+ - Problem fully analyzed
114
+ - Solution identified and validated
115
+
116
+ ---
117
+
118
+ ## Optional Parameters (5)
119
+
120
+ ### `isRevision` (boolean, optional)
121
+ **Description:** Whether this thought revises previous thinking
122
+
123
+ **Type:** Boolean
124
+
125
+ **Default:** false (regular thought)
126
+
127
+ **Usage:**
128
+ ```bash
129
+ /sequential-thinking "Correcting my earlier assumption..." isRevision=true revisesThought=2
130
+ ```
131
+
132
+ **When to use:**
133
+ - Realized earlier assumption was wrong
134
+ - New information contradicts previous thought
135
+ - Need to backtrack and correct course
136
+ - Found error in previous reasoning
137
+
138
+ **Visual indicator:**
139
+ - Regular: 💭 (blue)
140
+ - Revision: 🔄 (yellow)
141
+
142
+ ---
143
+
144
+ ### `revisesThought` (number, optional)
145
+ **Description:** Which thought number is being reconsidered
146
+
147
+ **Type:** Integer ≥ 1
148
+
149
+ **Required if:** `isRevision = true`
150
+
151
+ **Usage:**
152
+ ```bash
153
+ /sequential-thinking "My thought #2 was incorrect..." isRevision=true revisesThought=2 thoughtNumber=5
154
+ ```
155
+
156
+ **Validation:**
157
+ - Should reference existing thought
158
+ - Must be less than current `thoughtNumber`
159
+ - Can be chained (revising a revision)
160
+
161
+ **Example chain:**
162
+ ```
163
+ Thought 1: "Use approach A"
164
+ Thought 2: "Implementing A..."
165
+ Thought 3: "A won't work, revise thought 1" (isRevision=true, revisesThought=1)
166
+ Thought 4: "Implementing revised approach..."
167
+ ```
168
+
169
+ ---
170
+
171
+ ### `branchFromThought` (number, optional)
172
+ **Description:** Branching point thought number
173
+
174
+ **Type:** Integer ≥ 1
175
+
176
+ **Required if:** Using branching
177
+
178
+ **Usage:**
179
+ ```bash
180
+ /sequential-thinking "Alternative approach..." branchFromThought=3 branchId="alternative"
181
+ ```
182
+
183
+ **Branching patterns:**
184
+ ```bash
185
+ # Single branch point
186
+ Thought 1 → Thought 2 → Thought 3 (branch point)
187
+ ├→ Branch A
188
+ ├→ Branch B
189
+ └→ Branch C
190
+
191
+ # Multiple branch points
192
+ Thought 1 → Thought 2 (branch) → Thought 3
193
+ ├→ Branch X → Branch X.1 (sub-branch)
194
+ └→ Branch Y
195
+ ```
196
+
197
+ **Must be paired with:** `branchId`
198
+
199
+ ---
200
+
201
+ ### `branchId` (string, optional)
202
+ **Description:** Branch identifier
203
+
204
+ **Type:** String (any format, recommended: kebab-case)
205
+
206
+ **Required if:** Using branching
207
+
208
+ **Usage:**
209
+ ```bash
210
+ /sequential-thinking "Exploring async..." branchFromThought=2 branchId="async-approach"
211
+ ```
212
+
213
+ **Naming conventions:**
214
+ ```bash
215
+ # Descriptive approach names
216
+ branchId="caching-layer"
217
+ branchId="microservices"
218
+ branchId="optimization-path"
219
+
220
+ # Alternative labels
221
+ branchId="option-a"
222
+ branchId="hypothesis-2"
223
+ branchId="fallback-plan"
224
+
225
+ # Hierarchical (if nesting)
226
+ branchId="main.sub-branch"
227
+ branchId="approach-a.variant-1"
228
+ ```
229
+
230
+ **Tracking:**
231
+ - All branch IDs returned in `branches[]` array
232
+ - Deduplicated automatically
233
+ - Persists for session lifetime
234
+
235
+ ---
236
+
237
+ ### `needsMoreThoughts` (boolean, optional)
238
+ **Description:** If more thoughts are needed beyond current estimate
239
+
240
+ **Type:** Boolean
241
+
242
+ **Default:** false
243
+
244
+ **Usage:**
245
+ ```bash
246
+ /sequential-thinking "This is more complex than expected..." thoughtNumber=5 totalThoughts=5 needsMoreThoughts=true
247
+ ```
248
+
249
+ **Effect:**
250
+ - Signals that `totalThoughts` should increase
251
+ - Typically triggers +3 adjustment
252
+ - Used when hitting original estimate but not done
253
+
254
+ **Pattern:**
255
+ ```
256
+ Initial: totalThoughts=5
257
+ Thought 5: needsMoreThoughts=true
258
+ Result: totalThoughts → 8
259
+ ```
260
+
261
+ ---
262
+
263
+ ## Parameter Combinations
264
+
265
+ ### Pattern 1: Simple Linear Sequence
266
+ ```bash
267
+ /sequential-thinking "Thought 1" 1 3 true
268
+ /sequential-thinking "Thought 2" 2 3 true
269
+ /sequential-thinking "Thought 3" 3 3 false
270
+ ```
271
+
272
+ ---
273
+
274
+ ### Pattern 2: With Revision
275
+ ```bash
276
+ /sequential-thinking "Original idea" 1 3 true
277
+ /sequential-thinking "Building on idea..." 2 3 true
278
+ /sequential-thinking "Wait, revising original" 3 3 true isRevision=true revisesThought=1
279
+ /sequential-thinking "Corrected approach" 4 4 false
280
+ ```
281
+
282
+ ---
283
+
284
+ ### Pattern 3: With Branching
285
+ ```bash
286
+ /sequential-thinking "Main approach" 1 5 true
287
+ /sequential-thinking "Continuing main" 2 5 true
288
+ /sequential-thinking "Branch A: Alternative" 3 5 true branchFromThought=2 branchId="alt-a"
289
+ /sequential-thinking "Branch B: Another option" 4 5 true branchFromThought=2 branchId="alt-b"
290
+ /sequential-thinking "Synthesis of branches" 5 5 false
291
+ ```
292
+
293
+ ---
294
+
295
+ ### Pattern 4: Dynamic Extension
296
+ ```bash
297
+ /sequential-thinking "Starting..." 1 3 true
298
+ /sequential-thinking "Deeper than expected..." 3 3 true needsMoreThoughts=true
299
+ # System adjusts totalThoughts=6
300
+ /sequential-thinking "Continuing..." 4 6 true
301
+ ```
302
+
303
+ ---
304
+
305
+ ## Validation Rules
306
+
307
+ ### Type Validation (Zod Layer)
308
+ ```typescript
309
+ thought: z.string() // Any string
310
+ thoughtNumber: z.number().int().min(1) // Integer ≥ 1
311
+ totalThoughts: z.number().int().min(1) // Integer ≥ 1
312
+ nextThoughtNeeded: z.boolean() // true/false
313
+ isRevision: z.boolean().optional() // Optional boolean
314
+ revisesThought: z.number().int().min(1).optional()
315
+ branchFromThought: z.number().int().min(1).optional()
316
+ branchId: z.string().optional()
317
+ needsMoreThoughts: z.boolean().optional()
318
+ ```
319
+
320
+ ### Runtime Validation (Processing Layer)
321
+ ```typescript
322
+ // Auto-adjust if exceeded
323
+ if (thoughtNumber > totalThoughts) {
324
+ totalThoughts = thoughtNumber;
325
+ }
326
+
327
+ // Require both for branching
328
+ if (branchFromThought && !branchId) {
329
+ // Branch ignored (silently)
330
+ }
331
+
332
+ // Extension request
333
+ if (needsMoreThoughts) {
334
+ totalThoughts += 3;
335
+ }
336
+ ```
337
+
338
+ ---
339
+
340
+ ## Boolean String Coercion
341
+
342
+ **Why needed:** Standard `Boolean("false")` returns `true` (bug!)
343
+
344
+ **Custom handling:**
345
+ ```typescript
346
+ // Correctly handles:
347
+ "true" / "True" / "TRUE" → true
348
+ "false" / "False" / "FALSE" → false
349
+ true / false → passthrough
350
+
351
+ // Rejects (throws error):
352
+ "yes", "no", "1", "0", 1, 0, null, undefined
353
+ ```
354
+
355
+ ---
356
+
357
+ ## Default Values
358
+
359
+ | Parameter | Default | Used When |
360
+ |-----------|---------|-----------|
361
+ | `thoughtNumber` | 1 | First thought |
362
+ | `totalThoughts` | 3 | Initial estimate |
363
+ | `nextThoughtNeeded` | true | Continue by default |
364
+ | `isRevision` | false | Regular thought |
365
+ | `revisesThought` | undefined | Not a revision |
366
+ | `branchFromThought` | undefined | Not a branch |
367
+ | `branchId` | undefined | Not a branch |
368
+ | `needsMoreThoughts` | false | No extension |
369
+
370
+ ---
371
+
372
+ ## Common Mistakes
373
+
374
+ ### ❌ Mistake 1: Missing branchId
375
+ ```bash
376
+ # Won't track branch!
377
+ /sequential-thinking "Branch" branchFromThought=2
378
+ ```
379
+
380
+ **Fix:**
381
+ ```bash
382
+ /sequential-thinking "Branch" branchFromThought=2 branchId="my-branch"
383
+ ```
384
+
385
+ ---
386
+
387
+ ### ❌ Mistake 2: Revision without target
388
+ ```bash
389
+ # Which thought is being revised?
390
+ /sequential-thinking "Revising..." isRevision=true
391
+ ```
392
+
393
+ **Fix:**
394
+ ```bash
395
+ /sequential-thinking "Revising..." isRevision=true revisesThought=2
396
+ ```
397
+
398
+ ---
399
+
400
+ ### ❌ Mistake 3: Thought number gaps
401
+ ```bash
402
+ /sequential-thinking "Thought 1" 1 5
403
+ /sequential-thinking "Thought 5" 5 5 # Skip 2, 3, 4
404
+ ```
405
+
406
+ **Fix:**
407
+ ```bash
408
+ /sequential-thinking "Thought 1" 1 5
409
+ /sequential-thinking "Thought 2" 2 5
410
+ /sequential-thinking "Thought 3" 3 5
411
+ ```
412
+
413
+ ---
414
+
415
+ ### ❌ Mistake 4: Not adjusting after needsMoreThoughts
416
+ ```bash
417
+ /sequential-thinking "Need more..." 5 5 needsMoreThoughts=true
418
+ /sequential-thinking "Continuing..." 6 5 # Should be totalThoughts=8
419
+ ```
420
+
421
+ **Fix:**
422
+ ```bash
423
+ /sequential-thinking "Need more..." 5 5 needsMoreThoughts=true
424
+ # System auto-adjusts totalThoughts=8
425
+ /sequential-thinking "Continuing..." 6 8
426
+ ```
427
+
428
+ ---
429
+
430
+ ## Quick Reference
431
+
432
+ ### Minimal Invocation
433
+ ```bash
434
+ /sequential-thinking "Your thought here"
435
+ # Uses defaults: thoughtNumber=1, totalThoughts=3, nextThoughtNeeded=true
436
+ ```
437
+
438
+ ### Full Explicit Invocation
439
+ ```bash
440
+ /sequential-thinking thought="Full analysis" thoughtNumber=5 totalThoughts=10 nextThoughtNeeded=true isRevision=false
441
+ ```
442
+
443
+ ### Revision
444
+ ```bash
445
+ /sequential-thinking "Correcting earlier" isRevision=true revisesThought=2
446
+ ```
447
+
448
+ ### Branch
449
+ ```bash
450
+ /sequential-thinking "Alternative path" branchFromThought=3 branchId="alt-approach"
451
+ ```
452
+
453
+ ### Final Thought
454
+ ```bash
455
+ /sequential-thinking "Conclusion reached" nextThoughtNeeded=false
456
+ ```
457
+
458
+ ---
459
+
460
+ **For more details:**
461
+ - [output-schema.md](output-schema.md) - Response structure
462
+ - [patterns.md](patterns.md) - Usage patterns
463
+ - [../examples/](../examples/) - Real examples