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,666 @@
1
+ # Sequential Thinking - Usage Patterns
2
+
3
+ Comprehensive guide to reasoning patterns with Sequential Thinking.
4
+
5
+ ## Core Patterns
6
+
7
+ ### Pattern 1: Linear Sequence
8
+
9
+ **Use for:** Straightforward problems with clear progression
10
+
11
+ **Structure:**
12
+ ```
13
+ Thought 1 → Thought 2 → Thought 3 → ... → Conclusion
14
+ ```
15
+
16
+ **Example:**
17
+ ```bash
18
+ /sequential-thinking "Problem: Slow API performance" 1 5 true
19
+ /sequential-thinking "Measure: P95 latency is 800ms" 2 5 true
20
+ /sequential-thinking "Analyze: Database queries are bottleneck" 3 5 true
21
+ /sequential-thinking "Solution: Add database indexes" 4 5 true
22
+ /sequential-thinking "Validation: Latency reduced to 120ms" 5 5 false
23
+ ```
24
+
25
+ **When to use:**
26
+ - Clear problem statement
27
+ - Predictable analysis steps
28
+ - Sequential dependencies
29
+
30
+ ---
31
+
32
+ ### Pattern 2: Revision Chain
33
+
34
+ **Use for:** Problems where initial assumptions may be wrong
35
+
36
+ **Structure:**
37
+ ```
38
+ Thought 1 → Thought 2 → [Revision of 1] → Thought 3 (corrected path)
39
+ ```
40
+
41
+ **Example:**
42
+ ```bash
43
+ /sequential-thinking "Hypothesis: Caching will solve it" 1 5 true
44
+ /sequential-thinking "Implementing Redis cache..." 2 5 true
45
+ /sequential-thinking "Testing shows no improvement - cache wasn't the issue" 3 5 true isRevision=true revisesThought=1
46
+ /sequential-thinking "Real cause: N+1 query problem" 4 5 true
47
+ /sequential-thinking "Solution: Eager loading relationships" 5 5 false
48
+ ```
49
+
50
+ **When to use:**
51
+ - Hypothesis-driven analysis
52
+ - Uncertain root cause
53
+ - Trial-and-error exploration
54
+
55
+ ---
56
+
57
+ ### Pattern 3: Branching Exploration
58
+
59
+ **Use for:** Comparing multiple approaches
60
+
61
+ **Structure:**
62
+ ```
63
+ ├→ Branch A (approach 1)
64
+ Thought 1 → Thought 2 ├→ Branch B (approach 2) → Synthesis
65
+ └→ Branch C (approach 3)
66
+ ```
67
+
68
+ **Example:**
69
+ ```bash
70
+ /sequential-thinking "Need to choose state management" 1 8 true
71
+ /sequential-thinking "Options: Redux, MobX, Context API" 2 8 true
72
+
73
+ # Branch A: Redux
74
+ /sequential-thinking "Redux: Predictable, great DevTools" 3 8 true branchFromThought=2 branchId="redux"
75
+ /sequential-thinking "Redux: More boilerplate needed" 4 8 true branchFromThought=2 branchId="redux"
76
+
77
+ # Branch B: MobX
78
+ /sequential-thinking "MobX: Simple, reactive" 5 8 true branchFromThought=2 branchId="mobx"
79
+ /sequential-thinking "MobX: Magic can be confusing" 6 8 true branchFromThought=2 branchId="mobx"
80
+
81
+ # Branch C: Context
82
+ /sequential-thinking "Context: Built-in, no deps" 7 8 true branchFromThought=2 branchId="context"
83
+
84
+ # Synthesis
85
+ /sequential-thinking "Decision: Redux for large apps, Context for small" 8 8 false
86
+ ```
87
+
88
+ **When to use:**
89
+ - Multiple valid approaches
90
+ - Need to compare pros/cons
91
+ - Uncertain best path
92
+
93
+ ---
94
+
95
+ ### Pattern 4: Adaptive Depth
96
+
97
+ **Use for:** Problems where scope isn't initially clear
98
+
99
+ **Structure:**
100
+ ```
101
+ Initial estimate → Discovery → Adjustment → Extended analysis
102
+ (totalThoughts=3) (needsMore) (totalThoughts=6)
103
+ ```
104
+
105
+ **Example:**
106
+ ```bash
107
+ /sequential-thinking "Analyzing microservices migration" 1 3 true
108
+ /sequential-thinking "Identifying services..." 2 3 true
109
+ /sequential-thinking "This is more complex than expected - many dependencies" 3 3 true needsMoreThoughts=true
110
+ # Auto-adjusts: totalThoughts=6
111
+ /sequential-thinking "Mapping service boundaries" 4 6 true
112
+ /sequential-thinking "Planning data migration strategy" 5 6 true
113
+ /sequential-thinking "Conclusion with migration plan" 6 6 false
114
+ ```
115
+
116
+ **When to use:**
117
+ - Uncertain problem complexity
118
+ - Exploratory analysis
119
+ - Open-ended questions
120
+
121
+ ---
122
+
123
+ ### Pattern 5: Hybrid (Revision + Branching)
124
+
125
+ **Use for:** Complex problems requiring both correction and exploration
126
+
127
+ **Structure:**
128
+ ```
129
+ Thought 1 → Thought 2 (revise 1) → Thought 3 (branch point)
130
+ ├→ Branch A
131
+ └→ Branch B → Synthesis
132
+ ```
133
+
134
+ **Example:**
135
+ ```bash
136
+ /sequential-thinking "Approach: Optimize with caching" 1 8 true
137
+ /sequential-thinking "Actually, profiling shows DB is fast" 2 8 true isRevision=true revisesThought=1
138
+ /sequential-thinking "Real bottleneck: API serialization" 3 8 true
139
+
140
+ # Explore solutions
141
+ /sequential-thinking "Option: Use MessagePack" 4 8 true branchFromThought=3 branchId="messagepack"
142
+ /sequential-thinking "Option: Stream responses" 5 8 true branchFromThought=3 branchId="streaming"
143
+ /sequential-thinking "Option: Optimize JSON" 6 8 true branchFromThought=3 branchId="json-opt"
144
+
145
+ # Decide
146
+ /sequential-thinking "Comparison: Streaming has best ROI" 7 8 true
147
+ /sequential-thinking "Implementation plan: Use HTTP streaming" 8 8 false
148
+ ```
149
+
150
+ **When to use:**
151
+ - Complex problems
152
+ - Multiple uncertainties
153
+ - Need both correction and comparison
154
+
155
+ ---
156
+
157
+ ## Advanced Patterns
158
+
159
+ ### Pattern 6: Depth-First Branch Exploration
160
+
161
+ **Structure:**
162
+ ```
163
+ Main → Branch A → Branch A.1 → Branch A.2
164
+ └→ Branch A.1.x
165
+ ```
166
+
167
+ **Example:**
168
+ ```bash
169
+ /sequential-thinking "Root problem" 1 10 true
170
+ /sequential-thinking "Exploring authentication" 2 10 true branchFromThought=1 branchId="auth"
171
+ /sequential-thinking "JWT sub-option" 3 10 true branchFromThought=2 branchId="auth.jwt"
172
+ /sequential-thinking "OAuth sub-option" 4 10 true branchFromThought=2 branchId="auth.oauth"
173
+ /sequential-thinking "Back to main: Decision made" 5 10 false
174
+ ```
175
+
176
+ **When to use:**
177
+ - Hierarchical problem breakdown
178
+ - Nested decision trees
179
+ - Deep exploration of one path
180
+
181
+ ---
182
+
183
+ ### Pattern 7: Breadth-First Branch Exploration
184
+
185
+ **Structure:**
186
+ ```
187
+ Main → Branch A (shallow)
188
+ → Branch B (shallow)
189
+ → Branch C (shallow)
190
+ → Synthesis
191
+ ```
192
+
193
+ **Example:**
194
+ ```bash
195
+ /sequential-thinking "Identify options" 1 7 true
196
+ /sequential-thinking "Quick check: Option A" 2 7 true branchFromThought=1 branchId="a"
197
+ /sequential-thinking "Quick check: Option B" 3 7 true branchFromThought=1 branchId="b"
198
+ /sequential-thinking "Quick check: Option C" 4 7 true branchFromThought=1 branchId="c"
199
+ /sequential-thinking "All explored, comparing..." 5 7 true
200
+ /sequential-thinking "Option B best fits requirements" 6 7 true
201
+ /sequential-thinking "Recommendation: Proceed with B" 7 7 false
202
+ ```
203
+
204
+ **When to use:**
205
+ - Survey multiple options
206
+ - Rapid comparison
207
+ - Time-constrained analysis
208
+
209
+ ---
210
+
211
+ ### Pattern 8: Iterative Refinement
212
+
213
+ **Structure:**
214
+ ```
215
+ Hypothesis → Test → Revise → Test → Revise → Validate
216
+ ```
217
+
218
+ **Example:**
219
+ ```bash
220
+ /sequential-thinking "Hypothesis: Algorithm is O(n²)" 1 8 true
221
+ /sequential-thinking "Test: Small input works fine" 2 8 true
222
+ /sequential-thinking "Test: Large input times out" 3 8 true
223
+ /sequential-thinking "Revision: Actually O(n³) nested loops" 4 8 true isRevision=true revisesThought=1
224
+ /sequential-thinking "Fix: Remove inner loop" 5 8 true
225
+ /sequential-thinking "Test: Performance improved 10x" 6 8 true
226
+ /sequential-thinking "Validation: Complexity now O(n)" 7 8 true
227
+ /sequential-thinking "Confirmed: Problem solved" 8 8 false
228
+ ```
229
+
230
+ **When to use:**
231
+ - Hypothesis testing
232
+ - Performance optimization
233
+ - Iterative debugging
234
+
235
+ ---
236
+
237
+ ## Integration Patterns
238
+
239
+ ### Pattern 9: Sequential → ClearThought → Sequential
240
+
241
+ **Hybrid workflow for comprehensive analysis:**
242
+
243
+ ```bash
244
+ # Phase 1: Explore with Sequential Thinking
245
+ /sequential-thinking "Problem: Choose database" 1 3 true
246
+ /sequential-thinking "Options: PostgreSQL vs MongoDB" 2 3 true
247
+ /sequential-thinking "Need structured decision framework" 3 3 false
248
+
249
+ # Phase 2: Analyze with ClearThought
250
+ /clearthought decision_framework framework=decision_matrix PostgreSQL vs MongoDB
251
+
252
+ # Phase 3: Synthesize with Sequential Thinking
253
+ /sequential-thinking "Based on decision analysis: PostgreSQL wins" 4 5 true
254
+ /sequential-thinking "Implementation plan: Setup PostgreSQL cluster" 5 5 false
255
+ ```
256
+
257
+ **When to use:**
258
+ - Complex decisions
259
+ - Need both exploration and structured analysis
260
+ - Combining qualitative and quantitative reasoning
261
+
262
+ ---
263
+
264
+ ### Pattern 10: ClearThought → Sequential → ClearThought
265
+
266
+ **Specialized → Exploration → Specialized:**
267
+
268
+ ```bash
269
+ # Phase 1: Initial analysis with ClearThought
270
+ /clearthought statistical_reasoning mode=descriptive Analyze API response times: [120, 145, 203, ...]
271
+
272
+ # Phase 2: Deep dive with Sequential Thinking
273
+ /sequential-thinking "Stats show high variance - investigating..." 1 5 true
274
+ /sequential-thinking "Hypothesis: Database connection pool issues" 2 5 true
275
+ /sequential-thinking "Verified: Pool size is 5, need 20" 3 5 false
276
+
277
+ # Phase 3: Optimization with ClearThought
278
+ /clearthought optimization type=gradient_descent Optimize pool size vs latency
279
+ ```
280
+
281
+ **When to use:**
282
+ - Data-driven problems
283
+ - Need exploration after initial analysis
284
+ - Optimization scenarios
285
+
286
+ ---
287
+
288
+ ## Anti-Patterns (Don't Do This)
289
+
290
+ ### ❌ Anti-Pattern 1: Skipping Thought Numbers
291
+
292
+ ```bash
293
+ /sequential-thinking "Thought 1" 1 5
294
+ /sequential-thinking "Thought 5" 5 5 # Skip 2,3,4
295
+ ```
296
+
297
+ **Why bad:** Breaks sequence integrity, confuses history tracking
298
+
299
+ **Fix:** Use sequential numbers (1, 2, 3, 4, 5)
300
+
301
+ ---
302
+
303
+ ### ❌ Anti-Pattern 2: Premature Conclusion
304
+
305
+ ```bash
306
+ /sequential-thinking "Problem identified" 1 10 true
307
+ /sequential-thinking "Conclusion: Fix it" 2 10 false # Too early!
308
+ ```
309
+
310
+ **Why bad:** Incomplete analysis, missing insights
311
+
312
+ **Fix:** Use realistic `totalThoughts`, explore thoroughly
313
+
314
+ ---
315
+
316
+ ### ❌ Anti-Pattern 3: Orphan Branches
317
+
318
+ ```bash
319
+ /sequential-thinking "Main thought" 1 5
320
+ /sequential-thinking "Branch A" branchFromThought=1 branchId="a"
321
+ /sequential-thinking "Branch B" branchFromThought=1 branchId="b"
322
+ /sequential-thinking "Conclusion" 4 5 nextThoughtNeeded=false
323
+ # Never synthesized branches!
324
+ ```
325
+
326
+ **Why bad:** Wasted exploration, no synthesis
327
+
328
+ **Fix:** Always synthesize/compare branches before concluding
329
+
330
+ ---
331
+
332
+ ### ❌ Anti-Pattern 4: Meaningless Revisions
333
+
334
+ ```bash
335
+ /sequential-thinking "Thought 1" 1 5
336
+ /sequential-thinking "Revising for no reason" 2 5 isRevision=true revisesThought=1
337
+ ```
338
+
339
+ **Why bad:** Revision without new insight
340
+
341
+ **Fix:** Only revise when new information contradicts previous thought
342
+
343
+ ---
344
+
345
+ ## Best Practices
346
+
347
+ ### ✅ Do:
348
+ 1. Start with realistic estimate (3-5 thoughts)
349
+ 2. Revise when new insights contradict assumptions
350
+ 3. Branch when multiple approaches merit exploration
351
+ 4. Extend dynamically when complexity emerges
352
+ 5. Synthesize branches before concluding
353
+ 6. Set `nextThoughtNeeded=false` only when truly done
354
+
355
+ ### ❌ Don't:
356
+ 1. Skip thought numbers
357
+ 2. Set unrealistic high totals initially
358
+ 3. Create orphan branches (explore but don't synthesize)
359
+ 4. Revise without clear reason
360
+ 5. End prematurely
361
+ 6. Exceed 100 thoughts (summarize instead)
362
+
363
+ ---
364
+
365
+ ## Pattern Selection Guide
366
+
367
+ ```
368
+ Start here: What's your problem?
369
+
370
+ ├─ Clear steps known? → Pattern 1: Linear Sequence
371
+
372
+ ├─ Assumptions might be wrong? → Pattern 2: Revision Chain
373
+
374
+ ├─ Multiple approaches to compare? → Pattern 3: Branching
375
+
376
+ ├─ Scope unclear? → Pattern 4: Adaptive Depth
377
+
378
+ └─ Complex with unknowns? → Pattern 5: Hybrid
379
+ ```
380
+
381
+ ---
382
+
383
+ ## Real-World Examples
384
+
385
+ ### Example 1: System Architecture Decision
386
+
387
+ **Problem:** "Should we use microservices or monolith?"
388
+
389
+ **Pattern:** Branching Exploration (Pattern 3)
390
+
391
+ **Flow:**
392
+ 1. Problem statement
393
+ 2. List criteria (scalability, complexity, team size)
394
+ 3. Branch A: Analyze microservices
395
+ 4. Branch B: Analyze monolith
396
+ 5. Branch C: Analyze modular monolith
397
+ 6. Compare branches
398
+ 7. Decide based on criteria
399
+ 8. Conclusion with recommendation
400
+
401
+ ---
402
+
403
+ ### Example 2: Bug Investigation
404
+
405
+ **Problem:** "API randomly returns 500 errors"
406
+
407
+ **Pattern:** Revision Chain (Pattern 2)
408
+
409
+ **Flow:**
410
+ 1. Hypothesis: Load balancer issue
411
+ 2. Test: Check load balancer logs
412
+ 3. Revision: Not load balancer - database connection timeouts
413
+ 4. Hypothesis 2: Connection pool too small
414
+ 5. Test: Increase pool size
415
+ 6. Validation: Errors eliminated
416
+ 7. Conclusion: Pool size was 5, needed 20
417
+
418
+ ---
419
+
420
+ ### Example 3: Feature Planning
421
+
422
+ **Problem:** "Plan authentication feature implementation"
423
+
424
+ **Pattern:** Linear Sequence (Pattern 1)
425
+
426
+ **Flow:**
427
+ 1. Requirements gathering
428
+ 2. Technology selection (JWT vs OAuth)
429
+ 3. Database schema design
430
+ 4. API endpoint design
431
+ 5. Security considerations
432
+ 6. Testing strategy
433
+ 7. Rollout plan
434
+ 8. Documentation needs
435
+
436
+ ---
437
+
438
+ ### Example 4: Research Paper Analysis
439
+
440
+ **Problem:** "Understand and critique research paper"
441
+
442
+ **Pattern:** Adaptive Depth (Pattern 4)
443
+
444
+ **Flow:**
445
+ 1. Read abstract (estimate 5 thoughts)
446
+ 2. Read methodology
447
+ 3. Realize complexity → needsMoreThoughts (now 8)
448
+ 4. Analyze results section
449
+ 5. Statistical validation deep dive
450
+ 6. Related work comparison
451
+ 7. Critical evaluation
452
+ 8. Summary and implications
453
+
454
+ ---
455
+
456
+ ## Workflow Integration
457
+
458
+ ### With ClearThought Operations
459
+
460
+ **Exploration → Analysis → Decision:**
461
+
462
+ ```bash
463
+ # 1. Sequential Thinking: Break down problem
464
+ /sequential-thinking "What factors matter for database choice?" 1 3
465
+
466
+ # 2. ClearThought: Structured decision
467
+ /clearthought decision_framework framework=decision_matrix Options: PostgreSQL, MongoDB, DynamoDB
468
+
469
+ # 3. Sequential Thinking: Synthesize
470
+ /sequential-thinking "Based on analysis, PostgreSQL best for ACID requirements" 4 5 false
471
+ ```
472
+
473
+ ---
474
+
475
+ ### With Multiple Tools
476
+
477
+ **Complex workflow:**
478
+
479
+ ```bash
480
+ # 1. Sequential: Initial exploration
481
+ /sequential-thinking "Performance issue analysis" 1 5
482
+
483
+ # 2. ClearThought: Statistical analysis
484
+ /clearthought statistical_reasoning mode=descriptive data=[response_times]
485
+
486
+ # 3. Sequential: Interpret statistics
487
+ /sequential-thinking "Stats show bimodal distribution..." 6 10
488
+
489
+ # 4. ClearThought: Debug approach
490
+ /clearthought debugging_approach binary_search Isolate slow requests
491
+
492
+ # 5. Sequential: Conclusion
493
+ /sequential-thinking "Root cause identified: Uncached queries" 10 10 false
494
+ ```
495
+
496
+ ---
497
+
498
+ ## Pattern Templates
499
+
500
+ ### Template 1: Problem Breakdown
501
+
502
+ ```
503
+ 1. Problem statement (what, why, who affected)
504
+ 2. Context and constraints
505
+ 3. Requirements gathering
506
+ 4. Options identification
507
+ 5. Analysis of each option
508
+ 6. Comparison and ranking
509
+ 7. Decision with rationale
510
+ 8. Implementation plan
511
+ ```
512
+
513
+ ---
514
+
515
+ ### Template 2: Root Cause Analysis
516
+
517
+ ```
518
+ 1. Symptom description
519
+ 2. Data gathering
520
+ 3. Hypothesis generation
521
+ 4. Test hypothesis
522
+ 5. [Revision if wrong] New hypothesis
523
+ 6. [Repeat 4-5 until found]
524
+ 7. Root cause identified
525
+ 8. Solution proposed and validated
526
+ ```
527
+
528
+ ---
529
+
530
+ ### Template 3: Design Exploration
531
+
532
+ ```
533
+ 1. Design goals and constraints
534
+ 2. Brainstorm approaches
535
+ 3. Branch A: First approach detailed
536
+ 4. Branch B: Second approach detailed
537
+ 5. Branch C: Third approach detailed
538
+ 6. Evaluation criteria
539
+ 7. Comparison across branches
540
+ 8. Recommended design with justification
541
+ ```
542
+
543
+ ---
544
+
545
+ ### Template 4: Research Synthesis
546
+
547
+ ```
548
+ 1. Topic and research question
549
+ 2. Key papers/sources identified
550
+ 3. Summary of source 1
551
+ 4. Summary of source 2
552
+ 5. Summary of source 3
553
+ 6. Common themes across sources
554
+ 7. Contradictions and debates
555
+ 8. Synthesis and conclusions
556
+ ```
557
+
558
+ ---
559
+
560
+ ## Thought Progression Strategies
561
+
562
+ ### Strategy A: Start Small, Grow Organically
563
+
564
+ ```
565
+ Initial: totalThoughts=3
566
+ Reality: Grows to 5, then 8, then 12 as complexity emerges
567
+ ```
568
+
569
+ **Benefits:** Flexible, responsive to problem complexity
570
+
571
+ ---
572
+
573
+ ### Strategy B: Conservative Estimate
574
+
575
+ ```
576
+ Initial: totalThoughts=10
577
+ Reality: Finish at thought 7, extrathoughts unused
578
+ ```
579
+
580
+ **Benefits:** Room for exploration, no premature conclusions
581
+
582
+ ---
583
+
584
+ ### Strategy C: Fixed Depth
585
+
586
+ ```
587
+ Initial: totalThoughts=8 (fixed)
588
+ Reality: Exactly 8 thoughts, no more, no less
589
+ ```
590
+
591
+ **Benefits:** Structured, time-boxed, disciplined
592
+
593
+ ---
594
+
595
+ ## Debugging Patterns
596
+
597
+ ### Pattern: Binary Search with Revisions
598
+
599
+ ```bash
600
+ /sequential-thinking "Bug: API fails on large requests" 1 10 true
601
+ /sequential-thinking "Hypothesis: Request size limit" 2 10 true
602
+ /sequential-thinking "Test: Small request (100 items) works" 3 10 true
603
+ /sequential-thinking "Test: Large request (10k items) fails" 4 10 true
604
+ /sequential-thinking "Test: Medium (1k items) fails" 5 10 true
605
+ /sequential-thinking "Revision: Not size, but timeout" 6 10 true isRevision=true revisesThought=2
606
+ /sequential-thinking "Test: Increase timeout" 7 10 true
607
+ /sequential-thinking "Validation: Works with 60s timeout" 8 10 true
608
+ /sequential-thinking "Root cause: Default 30s too short" 9 10 true
609
+ /sequential-thinking "Solution: Set timeout to 60s" 10 10 false
610
+ ```
611
+
612
+ ---
613
+
614
+ ## Optimization Patterns
615
+
616
+ ### Pattern: Explore → Measure → Optimize
617
+
618
+ ```bash
619
+ /sequential-thinking "Performance bottleneck identification" 1 8 true
620
+ /sequential-thinking "Profiling shows database queries take 80% time" 2 8 true
621
+
622
+ # Branch: Different optimization approaches
623
+ /sequential-thinking "Approach: Add indexes" 3 8 true branchFromThought=2 branchId="indexes"
624
+ /sequential-thinking "Approach: Query optimization" 4 8 true branchFromThought=2 branchId="queries"
625
+ /sequential-thinking "Approach: Caching layer" 5 8 true branchFromThought=2 branchId="cache"
626
+
627
+ /sequential-thinking "Measuring each: Indexes give 10x improvement" 6 8 true
628
+ /sequential-thinking "Decision: Indexes first, cache later" 7 8 true
629
+ /sequential-thinking "Implementation plan for indexes" 8 8 false
630
+ ```
631
+
632
+ ---
633
+
634
+ ## When to Stop
635
+
636
+ ### Stop When:
637
+ ✅ Problem fully analyzed
638
+ ✅ All branches explored and synthesized
639
+ ✅ Solution identified and validated
640
+ ✅ No more insights to gain
641
+ ✅ Diminishing returns on additional thoughts
642
+
643
+ ### Don't Stop When:
644
+ ❌ Approaching thought estimate (keep going if needed)
645
+ ❌ Branches not synthesized
646
+ ❌ Solution untested
647
+ ❌ Uncertainty remains
648
+ ❌ Stakeholder concerns unaddressed
649
+
650
+ ---
651
+
652
+ ## Pattern Metrics
653
+
654
+ | Pattern | Avg Thoughts | Time Estimate | Complexity |
655
+ |---------|-------------|---------------|------------|
656
+ | Linear Sequence | 5-8 | 5-10 min | Low |
657
+ | Revision Chain | 8-12 | 10-15 min | Medium |
658
+ | Branching | 10-15 | 15-25 min | High |
659
+ | Adaptive Depth | 5-20 | Variable | Medium |
660
+ | Hybrid | 12-20 | 20-30 min | High |
661
+
662
+ ---
663
+
664
+ **For complete examples, see:** [../examples/](../examples/)
665
+ **For parameters, see:** [parameters.md](parameters.md)
666
+ **For output format, see:** [output-schema.md](output-schema.md)
@@ -0,0 +1,11 @@
1
+ # autoresearch-coding
2
+
3
+ Use the `autoresearch-coding` skill.
4
+
5
+ Before editing:
6
+
7
+ - Read `backbone.yml`; if it is uninitialized, run the first-time init approval flow first.
8
+ - Resolve and print goal, metric command, direction, editable paths, protected paths, budget, and timeout.
9
+ - Run and log a baseline before the first experiment.
10
+ - Keep only metric improvements or equal-metric simplifications.
11
+ - Run the AgentShield probe before the final report when kept changes touch agent surfaces.
@@ -0,0 +1,3 @@
1
+ # council
2
+
3
+ Coordinate relevant agents: research-coordinator, security-reviewer, code-reviewer, and results-analyst. Return one merged plan and one validation summary.
@@ -0,0 +1,3 @@
1
+ # daily-enhance
2
+
3
+ Use the `daily-workflow-curator` skill. Generate a report and proposed diff. Do not write until the user approves.
@@ -0,0 +1,3 @@
1
+ # init-vibe
2
+
3
+ Use the `vibekit-init` skill. Print requirements first, infer project conventions, propose a diff for `backbone.yml` plus rules, and wait for approval before writing.
@@ -0,0 +1,3 @@
1
+ # security-scan
2
+
3
+ Use the `agentshield-security-review` skill. Run read-only probe first, then AgentShield scan if available. Do not run hooks or MCP servers.
@@ -0,0 +1,3 @@
1
+ # vibe-finalize
2
+
3
+ Graduate this project once init and the first prompt are complete. Run `node .vbkit-scripts/vibekit-finalize.mjs . --propose` to preview, then `--write --yes` to move one-time bootstrap files (FIRST_TIME_INIT.md, FIRST_PROMPT.md, PUSH_TO_GITHUB.md, CLAUDE-template.md) into `_vibekit-cleanup/` for deletion. It refuses to run on the kit source repo and is reversible with `--restore --write`.
@@ -0,0 +1,11 @@
1
+ # Autoresearch ledger for this enhancement
2
+
3
+ This file summarizes the improvement loop used to build and maintain the enhanced kit artifact. Runtime experiment logs should normally stay in `.autoresearch/` and `results.tsv`; this committed summary is documentation only.
4
+
5
+ | Experiment | Metric | Result | Kept reason |
6
+ |---|---:|---|---|
7
+ | Baseline review | `node .vbkit-scripts/validate-kit.mjs .` -> `171/0f/0w` | keep | established current kit health before new edits |
8
+ | Package manifest coverage | `node .vbkit-scripts/validate-kit.mjs .` -> `215/0f/0w` | keep | validates npm bin targets and shipped `files` entries |
9
+ | Codex and CI coverage | `node .vbkit-scripts/validate-kit.mjs .` -> `221/0f/0w` | keep | validates Codex support files and core CI workflow commands |
10
+
11
+ Final validation results for each run are recorded in `.autoresearch/logs/` and summarized in `results.tsv`.