kiro-agent-team 1.0.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 (155) hide show
  1. package/.kiro/README.md +228 -0
  2. package/.kiro/agents/backend-engineer.json +6 -0
  3. package/.kiro/agents/backend-engineer.md +643 -0
  4. package/.kiro/agents/database-specialist.json +6 -0
  5. package/.kiro/agents/database-specialist.md +390 -0
  6. package/.kiro/agents/development-logger.json +6 -0
  7. package/.kiro/agents/development-logger.md +265 -0
  8. package/.kiro/agents/devops-engineer.json +6 -0
  9. package/.kiro/agents/devops-engineer.md +287 -0
  10. package/.kiro/agents/frontend-architect.json +6 -0
  11. package/.kiro/agents/frontend-architect.md +1032 -0
  12. package/.kiro/agents/hooks/backend-engineer-hooks.yaml +540 -0
  13. package/.kiro/agents/hooks/database-specialist-hooks.yaml +488 -0
  14. package/.kiro/agents/hooks/development-logger-hooks.yaml +361 -0
  15. package/.kiro/agents/hooks/devops-engineer-hooks.yaml +345 -0
  16. package/.kiro/agents/hooks/frontend-architect-hooks.yaml +521 -0
  17. package/.kiro/agents/hooks/project-manager-hooks.yaml +513 -0
  18. package/.kiro/agents/hooks/security-specialist-hooks.yaml +358 -0
  19. package/.kiro/agents/hooks/test-orchestrator-hooks.yaml +380 -0
  20. package/.kiro/agents/hooks/ui-ux-designer-hooks.yaml +353 -0
  21. package/.kiro/agents/project-manager.json +6 -0
  22. package/.kiro/agents/project-manager.md +344 -0
  23. package/.kiro/agents/prompts/backend-engineer-system.md +815 -0
  24. package/.kiro/agents/prompts/database-specialist-system.md +332 -0
  25. package/.kiro/agents/prompts/development-logger-system.md +232 -0
  26. package/.kiro/agents/prompts/devops-engineer-system.md +260 -0
  27. package/.kiro/agents/prompts/frontend-architect-system.md +305 -0
  28. package/.kiro/agents/prompts/project-manager-system.md +285 -0
  29. package/.kiro/agents/prompts/security-specialist-system.md +231 -0
  30. package/.kiro/agents/prompts/test-orchestrator-system.md +214 -0
  31. package/.kiro/agents/prompts/ui-ux-designer-system.md +270 -0
  32. package/.kiro/agents/security-specialist.json +6 -0
  33. package/.kiro/agents/security-specialist.md +277 -0
  34. package/.kiro/agents/test-orchestrator.json +6 -0
  35. package/.kiro/agents/test-orchestrator.md +266 -0
  36. package/.kiro/agents/ui-ux-designer.json +6 -0
  37. package/.kiro/agents/ui-ux-designer.md +284 -0
  38. package/.kiro/devlog/00-START-HERE.md +444 -0
  39. package/.kiro/devlog/COMPLETE-WORKFLOW.md +553 -0
  40. package/.kiro/devlog/DEVLOG-INTEGRATION.md +413 -0
  41. package/.kiro/devlog/DEVLOG-PROCESS-FLOWS.md +484 -0
  42. package/.kiro/devlog/DEVLOG-QUICK-REF.md +299 -0
  43. package/.kiro/devlog/DEVLOG.md +22 -0
  44. package/.kiro/devlog/IMPLEMENTATION-COMPLETE.txt +434 -0
  45. package/.kiro/devlog/IMPLEMENTATION-SUMMARY.md +358 -0
  46. package/.kiro/devlog/README.md +363 -0
  47. package/.kiro/devlog/devlog-update.bat +136 -0
  48. package/.kiro/devlog/devlog-update.sh +275 -0
  49. package/.kiro/devlog/feature-completion-hook.bat +78 -0
  50. package/.kiro/devlog/feature-completion-hook.sh +84 -0
  51. package/.kiro/documentation/cli.md +31 -0
  52. package/.kiro/documentation/docs_cli.md +41 -0
  53. package/.kiro/documentation/docs_cli_authentication.md +43 -0
  54. package/.kiro/documentation/docs_cli_autocomplete.md +132 -0
  55. package/.kiro/documentation/docs_cli_billing.md +31 -0
  56. package/.kiro/documentation/docs_cli_billing_contact-support.md +43 -0
  57. package/.kiro/documentation/docs_cli_billing_managing-taxes.md +67 -0
  58. package/.kiro/documentation/docs_cli_billing_related-questions.md +49 -0
  59. package/.kiro/documentation/docs_cli_billing_subscription-portal.md +31 -0
  60. package/.kiro/documentation/docs_cli_chat.md +84 -0
  61. package/.kiro/documentation/docs_cli_chat_configuration.md +40 -0
  62. package/.kiro/documentation/docs_cli_chat_context.md +258 -0
  63. package/.kiro/documentation/docs_cli_chat_git-aware-selection.md +41 -0
  64. package/.kiro/documentation/docs_cli_chat_images.md +53 -0
  65. package/.kiro/documentation/docs_cli_chat_manage-prompts.md +216 -0
  66. package/.kiro/documentation/docs_cli_chat_model-selection.md +153 -0
  67. package/.kiro/documentation/docs_cli_chat_permissions.md +68 -0
  68. package/.kiro/documentation/docs_cli_chat_planning-agent.md +230 -0
  69. package/.kiro/documentation/docs_cli_chat_responding.md +123 -0
  70. package/.kiro/documentation/docs_cli_chat_security.md +87 -0
  71. package/.kiro/documentation/docs_cli_chat_subagents.md +77 -0
  72. package/.kiro/documentation/docs_cli_code-intelligence.md +251 -0
  73. package/.kiro/documentation/docs_cli_custom-agents.md +37 -0
  74. package/.kiro/documentation/docs_cli_custom-agents_configuration-reference.md +941 -0
  75. package/.kiro/documentation/docs_cli_custom-agents_creating.md +93 -0
  76. package/.kiro/documentation/docs_cli_custom-agents_examples.md +360 -0
  77. package/.kiro/documentation/docs_cli_custom-agents_troubleshooting.md +180 -0
  78. package/.kiro/documentation/docs_cli_enterprise_billing.md +33 -0
  79. package/.kiro/documentation/docs_cli_enterprise_concepts.md +34 -0
  80. package/.kiro/documentation/docs_cli_enterprise_getting-started.md +19 -0
  81. package/.kiro/documentation/docs_cli_enterprise_iam.md +251 -0
  82. package/.kiro/documentation/docs_cli_enterprise_monitor-and-track.md +15 -0
  83. package/.kiro/documentation/docs_cli_enterprise_monitor-and-track_dashboard.md +62 -0
  84. package/.kiro/documentation/docs_cli_enterprise_monitor-and-track_prompt-logging.md +165 -0
  85. package/.kiro/documentation/docs_cli_enterprise_monitor-and-track_user-activity.md +123 -0
  86. package/.kiro/documentation/docs_cli_enterprise_settings.md +15 -0
  87. package/.kiro/documentation/docs_cli_enterprise_subscribe.md +36 -0
  88. package/.kiro/documentation/docs_cli_enterprise_subscription-management.md +55 -0
  89. package/.kiro/documentation/docs_cli_enterprise_supported-regions.md +39 -0
  90. package/.kiro/documentation/docs_cli_experimental.md +282 -0
  91. package/.kiro/documentation/docs_cli_experimental_checkpointing.md +439 -0
  92. package/.kiro/documentation/docs_cli_experimental_delegate.md +422 -0
  93. package/.kiro/documentation/docs_cli_experimental_knowledge-management.md +449 -0
  94. package/.kiro/documentation/docs_cli_experimental_tangent-mode.md +357 -0
  95. package/.kiro/documentation/docs_cli_experimental_thinking.md +331 -0
  96. package/.kiro/documentation/docs_cli_experimental_todo-lists.md +385 -0
  97. package/.kiro/documentation/docs_cli_hooks.md +207 -0
  98. package/.kiro/documentation/docs_cli_installation.md +235 -0
  99. package/.kiro/documentation/docs_cli_mcp.md +106 -0
  100. package/.kiro/documentation/docs_cli_mcp_configuration.md +294 -0
  101. package/.kiro/documentation/docs_cli_mcp_examples.md +273 -0
  102. package/.kiro/documentation/docs_cli_mcp_governance.md +436 -0
  103. package/.kiro/documentation/docs_cli_mcp_security.md +77 -0
  104. package/.kiro/documentation/docs_cli_migrating-from-q.md +129 -0
  105. package/.kiro/documentation/docs_cli_privacy-and-security.md +83 -0
  106. package/.kiro/documentation/docs_cli_privacy-and-security_compliance-validation.md +17 -0
  107. package/.kiro/documentation/docs_cli_privacy-and-security_data-protection.md +104 -0
  108. package/.kiro/documentation/docs_cli_privacy-and-security_firewalls.md +26 -0
  109. package/.kiro/documentation/docs_cli_privacy-and-security_infrastructure-security.md +10 -0
  110. package/.kiro/documentation/docs_cli_privacy-and-security_vpc-endpoints.md +41 -0
  111. package/.kiro/documentation/docs_cli_reference_built-in-tools.md +624 -0
  112. package/.kiro/documentation/docs_cli_reference_cli-commands.md +689 -0
  113. package/.kiro/documentation/docs_cli_reference_settings.md +294 -0
  114. package/.kiro/documentation/docs_cli_reference_slash-commands.md +559 -0
  115. package/.kiro/documentation/docs_cli_steering.md +84 -0
  116. package/.kiro/guides/AGENT_WORKFLOW_GUIDE.md +294 -0
  117. package/.kiro/guides/DEVLOG.md +882 -0
  118. package/.kiro/guides/IMPLEMENTATION_EXAMPLES.md +611 -0
  119. package/.kiro/guides/PIV Loop.md +122 -0
  120. package/.kiro/guides/PIV Loop.png +0 -0
  121. package/.kiro/guides/PIVLoop.png +0 -0
  122. package/.kiro/guides/QUICK_REFERENCE.md +202 -0
  123. package/.kiro/guides/README.md +149 -0
  124. package/.kiro/guides/advanced-patterns.md +514 -0
  125. package/.kiro/guides/agent-coordination.md +434 -0
  126. package/.kiro/guides/core-workflows.md +409 -0
  127. package/.kiro/guides/emergency-procedures.md +414 -0
  128. package/.kiro/guides/project-evaluation.md +534 -0
  129. package/.kiro/guides/quality-assurance.md +431 -0
  130. package/.kiro/guides/quick-start.md +235 -0
  131. package/.kiro/guides/troubleshooting.md +575 -0
  132. package/.kiro/guides/walkthroughs.md +711 -0
  133. package/.kiro/prompts/add-to-devlog.md +263 -0
  134. package/.kiro/prompts/code-review-fix.md +18 -0
  135. package/.kiro/prompts/code-review-hackathon.md +167 -0
  136. package/.kiro/prompts/code-review-security.md +454 -0
  137. package/.kiro/prompts/code-review.md +113 -0
  138. package/.kiro/prompts/create-prd.md +151 -0
  139. package/.kiro/prompts/execute-backend.md +257 -0
  140. package/.kiro/prompts/execute-frontend.md +438 -0
  141. package/.kiro/prompts/execute-logging.md +491 -0
  142. package/.kiro/prompts/execute-security.md +482 -0
  143. package/.kiro/prompts/execute-testing.md +528 -0
  144. package/.kiro/prompts/execute.md +101 -0
  145. package/.kiro/prompts/execution-report.md +72 -0
  146. package/.kiro/prompts/implement-fix.md +228 -0
  147. package/.kiro/prompts/plan-feature.md +433 -0
  148. package/.kiro/prompts/prime.md +73 -0
  149. package/.kiro/prompts/quality-metrics.md +622 -0
  150. package/.kiro/prompts/quickstart.md +318 -0
  151. package/.kiro/prompts/rca.md +220 -0
  152. package/.kiro/prompts/system-review.md +189 -0
  153. package/README.md +32 -0
  154. package/bin/cli.js +97 -0
  155. package/package.json +33 -0
@@ -0,0 +1,357 @@
1
+ # Tangent mode
2
+ Tangent mode creates conversation checkpoints, allowing you to explore side topics without disrupting your main conversation flow. Enter tangent mode, ask questions or explore ideas, then return to your original conversation exactly where you left off.
3
+ ## Enabling tangent mode[](https://kiro.dev/docs/cli/experimental/tangent-mode/#enabling-tangent-mode)
4
+ Tangent mode is experimental and must be enabled:
5
+ **Via Experiment Command:**
6
+ bash
7
+ ```
8
+
9
+ /experiment
10
+ # Select tangent mode from the list
11
+
12
+
13
+ ```
14
+
15
+ **Via Settings:**
16
+ bash
17
+ ```
18
+
19
+ kiro-cli settings chat.enableTangentMode true
20
+
21
+
22
+ ```
23
+
24
+ ## Basic usage[](https://kiro.dev/docs/cli/experimental/tangent-mode/#basic-usage)
25
+ ### Enter tangent mode[](https://kiro.dev/docs/cli/experimental/tangent-mode/#enter-tangent-mode)
26
+ Use `/tangent` or **Ctrl+T** :
27
+ ```
28
+
29
+ > /tangent
30
+ Created a conversation checkpoint (↯). Use ctrl + t or /tangent to restore the conversation later.
31
+
32
+
33
+ ```
34
+
35
+ ### In tangent mode[](https://kiro.dev/docs/cli/experimental/tangent-mode/#in-tangent-mode)
36
+ You'll see a yellow `↯` symbol in your prompt:
37
+ ```
38
+
39
+ ↯ > What is the difference between async and sync functions?
40
+
41
+
42
+ ```
43
+
44
+ ### Exit tangent mode[](https://kiro.dev/docs/cli/experimental/tangent-mode/#exit-tangent-mode)
45
+ Use `/tangent` or **Ctrl+T** again:
46
+ ```
47
+
48
+ ↯ > /tangent
49
+ Restored conversation from checkpoint (↯). - Returned to main conversation.
50
+
51
+
52
+ ```
53
+
54
+ ### Exit with tail[](https://kiro.dev/docs/cli/experimental/tangent-mode/#exit-with-tail)
55
+ Use `/tangent tail` to preserve the last conversation entry (question + answer):
56
+ ```
57
+
58
+ ↯ > /tangent tail
59
+ Restored conversation from checkpoint (↯) with last conversation entry preserved.
60
+
61
+
62
+ ```
63
+
64
+ ## Usage examples[](https://kiro.dev/docs/cli/experimental/tangent-mode/#usage-examples)
65
+ ### Example 1: Exploring alternatives[](https://kiro.dev/docs/cli/experimental/tangent-mode/#example-1-exploring-alternatives)
66
+ ```
67
+
68
+ > I need to process a large CSV file in Python. What's the best approach?
69
+
70
+ I recommend using pandas for CSV processing...
71
+
72
+ > /tangent
73
+ Created a conversation checkpoint (↯).
74
+
75
+ ↯ > What about using the csv module instead of pandas?
76
+
77
+ The csv module is lighter weight...
78
+
79
+ ↯ > /tangent
80
+ Restored conversation from checkpoint (↯).
81
+
82
+ > Thanks! I'll go with pandas. Can you show me error handling?
83
+
84
+
85
+ ```
86
+
87
+ ### Example 2: Getting Kiro CLI help[](https://kiro.dev/docs/cli/experimental/tangent-mode/#example-2-getting-kiro-cli-help)
88
+ ```
89
+
90
+ > Help me write a deployment script
91
+
92
+ I can help you create a deployment script...
93
+
94
+ > /tangent
95
+ Created a conversation checkpoint (↯).
96
+
97
+ ↯ > What Kiro CLI commands are available for file operations?
98
+
99
+ Kiro CLI provides read, write, shell...
100
+
101
+ ↯ > /tangent
102
+ Restored conversation from checkpoint (↯).
103
+
104
+ > It's a Node.js application for AWS
105
+
106
+
107
+ ```
108
+
109
+ ### Example 3: Clarifying requirements[](https://kiro.dev/docs/cli/experimental/tangent-mode/#example-3-clarifying-requirements)
110
+ ```
111
+
112
+ > I need to optimize this SQL query
113
+
114
+ Could you share the query you'd like to optimize?
115
+
116
+ > /tangent
117
+ Created a conversation checkpoint (↯).
118
+
119
+ ↯ > What information do you need to help optimize a query?
120
+
121
+ To optimize SQL queries effectively, I need:
122
+ 1. The current query
123
+ 2. Table schemas and indexes...
124
+
125
+ ↯ > /tangent
126
+ Restored conversation from checkpoint (↯).
127
+
128
+ > Here's my query: SELECT * FROM orders...
129
+
130
+
131
+ ```
132
+
133
+ ### Example 4: Keeping useful information[](https://kiro.dev/docs/cli/experimental/tangent-mode/#example-4-keeping-useful-information)
134
+ ```
135
+
136
+ > Help me debug this Python error
137
+
138
+ I can help you debug that. Could you share the error message?
139
+
140
+ > /tangent
141
+ Created a conversation checkpoint (↯).
142
+
143
+ ↯ > What are the most common Python debugging techniques?
144
+
145
+ Here are the most effective Python debugging techniques:
146
+ 1. Use print statements strategically
147
+ 2. Leverage the Python debugger (pdb)...
148
+
149
+ ↯ > /tangent tail
150
+ Restored conversation from checkpoint (↯) with last conversation entry preserved.
151
+
152
+ > Here's my error: TypeError: unsupported operand type(s)...
153
+
154
+ # The preserved entry about debugging techniques is now part of main conversation
155
+
156
+
157
+ ```
158
+
159
+ ## Configuration[](https://kiro.dev/docs/cli/experimental/tangent-mode/#configuration)
160
+ ### Keyboard shortcut[](https://kiro.dev/docs/cli/experimental/tangent-mode/#keyboard-shortcut)
161
+ Change the shortcut key (default: t):
162
+ bash
163
+ ```
164
+
165
+ kiro-cli settings chat.tangentModeKey y
166
+
167
+
168
+ ```
169
+
170
+ ### Auto-tangent for introspect[](https://kiro.dev/docs/cli/experimental/tangent-mode/#auto-tangent-for-introspect)
171
+ Automatically enter tangent mode for Kiro CLI help questions:
172
+ bash
173
+ ```
174
+
175
+ kiro-cli settings introspect.tangentMode true
176
+
177
+
178
+ ```
179
+
180
+ ## Visual indicators[](https://kiro.dev/docs/cli/experimental/tangent-mode/#visual-indicators)
181
+ * **Normal mode** : `> ` (magenta)
182
+ * **Tangent mode** : `↯ > ` (yellow ↯ + magenta)
183
+ * **With agent** : `[dev] ↯ > ` (cyan + yellow ↯ + magenta)
184
+
185
+
186
+ ## When to use tangent mode[](https://kiro.dev/docs/cli/experimental/tangent-mode/#when-to-use-tangent-mode)
187
+ ### Good use cases[](https://kiro.dev/docs/cli/experimental/tangent-mode/#good-use-cases)
188
+ * **Asking clarifying questions** about the current topic
189
+ * **Exploring alternative approaches** before deciding
190
+ * **Getting help** with Kiro CLI commands or features
191
+ * **Testing understanding** of concepts
192
+ * **Quick side questions** that don't need to be in main context
193
+
194
+
195
+ ### When not to use[](https://kiro.dev/docs/cli/experimental/tangent-mode/#when-not-to-use)
196
+ * **Completely unrelated topics** - Start a new conversation instead
197
+ * **Long, complex discussions** - Use regular conversation flow
198
+ * **When you want the side discussion in main context** - Don't use tangent mode
199
+
200
+
201
+ ## Tips[](https://kiro.dev/docs/cli/experimental/tangent-mode/#tips)
202
+ 1. **Keep tangents focused** : Brief explorations, not extended discussions
203
+ 2. **Return promptly** : Don't forget you're in tangent mode
204
+ 3. **Use for clarification** : Perfect for "wait, what does X mean?" questions
205
+ 4. **Experiment safely** : Test ideas without affecting main conversation
206
+ 5. **Use`/tangent tail`** : When both the tangent question and answer are useful for main conversation
207
+
208
+
209
+ ## How it works[](https://kiro.dev/docs/cli/experimental/tangent-mode/#how-it-works)
210
+ ### Checkpoint creation[](https://kiro.dev/docs/cli/experimental/tangent-mode/#checkpoint-creation)
211
+ When you enter tangent mode:
212
+ 1. Current conversation state is saved as a checkpoint
213
+ 2. You can continue the conversation in tangent mode
214
+ 3. All tangent conversation is separate from main thread
215
+
216
+
217
+ ### Restoration[](https://kiro.dev/docs/cli/experimental/tangent-mode/#restoration)
218
+ When you exit tangent mode:
219
+ 1. Conversation returns to the checkpoint state
220
+ 2. Tangent conversation is discarded (unless using `tail`)
221
+ 3. Main conversation continues as if tangent never happened
222
+
223
+
224
+ ### Tail mode[](https://kiro.dev/docs/cli/experimental/tangent-mode/#tail-mode)
225
+ Using `/tangent tail`:
226
+ 1. Returns to checkpoint like normal exit
227
+ 2. Preserves the last Q&A pair from tangent
228
+ 3. Adds that Q&A to main conversation context
229
+ 4. Useful when tangent provided valuable information
230
+
231
+
232
+ ## Limitations[](https://kiro.dev/docs/cli/experimental/tangent-mode/#limitations)
233
+ * **Tangent conversations are discarded** when you exit (unless using tail)
234
+ * **Only one level of tangent** supported (no nested tangents)
235
+ * **Experimental feature** that may change or be removed
236
+ * **Must be explicitly enabled** before use
237
+
238
+
239
+ ## Troubleshooting[](https://kiro.dev/docs/cli/experimental/tangent-mode/#troubleshooting)
240
+ ### Tangent mode not working[](https://kiro.dev/docs/cli/experimental/tangent-mode/#tangent-mode-not-working)
241
+ Enable via experiment:
242
+ bash
243
+ ```
244
+
245
+ /experiment
246
+ # Select tangent mode from the list
247
+
248
+
249
+ ```
250
+
251
+ Or enable via settings:
252
+ bash
253
+ ```
254
+
255
+ kiro-cli settings chat.enableTangentMode true
256
+
257
+
258
+ ```
259
+
260
+ ### Keyboard shortcut not working[](https://kiro.dev/docs/cli/experimental/tangent-mode/#keyboard-shortcut-not-working)
261
+ Check or reset the shortcut key:
262
+ bash
263
+ ```
264
+
265
+ kiro-cli settings chat.tangentModeKey t
266
+
267
+
268
+ ```
269
+
270
+ Ensure you're using Ctrl+T (not just T).
271
+ ### Lost in tangent mode[](https://kiro.dev/docs/cli/experimental/tangent-mode/#lost-in-tangent-mode)
272
+ Look for the `↯` symbol in your prompt. Use `/tangent` to exit and return to main conversation.
273
+ ### Accidentally discarded important information[](https://kiro.dev/docs/cli/experimental/tangent-mode/#accidentally-discarded-important-information)
274
+ If you exit tangent mode without using `tail` and lose important information:
275
+ 1. Unfortunately, tangent conversations are not recoverable
276
+ 2. You'll need to ask the question again in the main conversation
277
+ 3. Consider using `/tangent tail` in the future to preserve important Q&A pairs
278
+
279
+
280
+ ## Related features[](https://kiro.dev/docs/cli/experimental/tangent-mode/#related-features)
281
+ * **Introspect** : Kiro CLI help (auto-enters tangent if configured)
282
+ * **Experiments** : Manage experimental features with `/experiment`
283
+ * **Checkpointing** : Similar concept but for file changes
284
+
285
+
286
+ ## Best practices[](https://kiro.dev/docs/cli/experimental/tangent-mode/#best-practices)
287
+ ### Workflow integration[](https://kiro.dev/docs/cli/experimental/tangent-mode/#workflow-integration)
288
+ 1. **Start main task** : Begin your primary conversation
289
+ 2. **Hit tangent** : When a side question arises, use `/tangent`
290
+ 3. **Explore freely** : Ask clarifying questions without worry
291
+ 4. **Decide on tail** : If the tangent was useful, use `/tangent tail`
292
+ 5. **Continue main** : Return to your primary task
293
+
294
+
295
+ ### Example workflow[](https://kiro.dev/docs/cli/experimental/tangent-mode/#example-workflow)
296
+ ```
297
+
298
+ > Help me refactor this React component
299
+
300
+ # Main conversation starts...
301
+
302
+ > /tangent
303
+ ↯ > What's the difference between useMemo and useCallback?
304
+
305
+ # Get clarification...
306
+
307
+ ↯ > /tangent tail # This was useful, keep it
308
+
309
+ > Now I understand. Let's use useMemo for the expensive calculation...
310
+
311
+
312
+ ```
313
+
314
+ ## Next steps[](https://kiro.dev/docs/cli/experimental/tangent-mode/#next-steps)
315
+ * [Experimental Features Overview](https://kiro.dev/docs/cli/experimental)
316
+ * [Checkpointing](https://kiro.dev/docs/cli/experimental/checkpointing)
317
+ * [Settings Configuration](https://kiro.dev/docs/cli/settings)
318
+
319
+
320
+ Page updated: November 18, 2025
321
+ [Knowledge management](https://kiro.dev/docs/cli/experimental/knowledge-management/)
322
+ [TODO lists](https://kiro.dev/docs/cli/experimental/todo-lists/)
323
+ On this page
324
+ * [Enabling tangent mode](https://kiro.dev/docs/cli/experimental/tangent-mode/#enabling-tangent-mode)
325
+ * [Basic usage](https://kiro.dev/docs/cli/experimental/tangent-mode/#basic-usage)
326
+ * [Enter tangent mode](https://kiro.dev/docs/cli/experimental/tangent-mode/#enter-tangent-mode)
327
+ * [In tangent mode](https://kiro.dev/docs/cli/experimental/tangent-mode/#in-tangent-mode)
328
+ * [Exit tangent mode](https://kiro.dev/docs/cli/experimental/tangent-mode/#exit-tangent-mode)
329
+ * [Exit with tail](https://kiro.dev/docs/cli/experimental/tangent-mode/#exit-with-tail)
330
+ * [Usage examples](https://kiro.dev/docs/cli/experimental/tangent-mode/#usage-examples)
331
+ * [Example 1: Exploring alternatives](https://kiro.dev/docs/cli/experimental/tangent-mode/#example-1-exploring-alternatives)
332
+ * [Example 2: Getting Kiro CLI help](https://kiro.dev/docs/cli/experimental/tangent-mode/#example-2-getting-kiro-cli-help)
333
+ * [Example 3: Clarifying requirements](https://kiro.dev/docs/cli/experimental/tangent-mode/#example-3-clarifying-requirements)
334
+ * [Example 4: Keeping useful information](https://kiro.dev/docs/cli/experimental/tangent-mode/#example-4-keeping-useful-information)
335
+ * [Configuration](https://kiro.dev/docs/cli/experimental/tangent-mode/#configuration)
336
+ * [Keyboard shortcut](https://kiro.dev/docs/cli/experimental/tangent-mode/#keyboard-shortcut)
337
+ * [Auto-tangent for introspect](https://kiro.dev/docs/cli/experimental/tangent-mode/#auto-tangent-for-introspect)
338
+ * [Visual indicators](https://kiro.dev/docs/cli/experimental/tangent-mode/#visual-indicators)
339
+ * [When to use tangent mode](https://kiro.dev/docs/cli/experimental/tangent-mode/#when-to-use-tangent-mode)
340
+ * [Good use cases](https://kiro.dev/docs/cli/experimental/tangent-mode/#good-use-cases)
341
+ * [When not to use](https://kiro.dev/docs/cli/experimental/tangent-mode/#when-not-to-use)
342
+ * [Tips](https://kiro.dev/docs/cli/experimental/tangent-mode/#tips)
343
+ * [How it works](https://kiro.dev/docs/cli/experimental/tangent-mode/#how-it-works)
344
+ * [Checkpoint creation](https://kiro.dev/docs/cli/experimental/tangent-mode/#checkpoint-creation)
345
+ * [Restoration](https://kiro.dev/docs/cli/experimental/tangent-mode/#restoration)
346
+ * [Tail mode](https://kiro.dev/docs/cli/experimental/tangent-mode/#tail-mode)
347
+ * [Limitations](https://kiro.dev/docs/cli/experimental/tangent-mode/#limitations)
348
+ * [Troubleshooting](https://kiro.dev/docs/cli/experimental/tangent-mode/#troubleshooting)
349
+ * [Tangent mode not working](https://kiro.dev/docs/cli/experimental/tangent-mode/#tangent-mode-not-working)
350
+ * [Keyboard shortcut not working](https://kiro.dev/docs/cli/experimental/tangent-mode/#keyboard-shortcut-not-working)
351
+ * [Lost in tangent mode](https://kiro.dev/docs/cli/experimental/tangent-mode/#lost-in-tangent-mode)
352
+ * [Accidentally discarded important information](https://kiro.dev/docs/cli/experimental/tangent-mode/#accidentally-discarded-important-information)
353
+ * [Related features](https://kiro.dev/docs/cli/experimental/tangent-mode/#related-features)
354
+ * [Best practices](https://kiro.dev/docs/cli/experimental/tangent-mode/#best-practices)
355
+ * [Workflow integration](https://kiro.dev/docs/cli/experimental/tangent-mode/#workflow-integration)
356
+ * [Example workflow](https://kiro.dev/docs/cli/experimental/tangent-mode/#example-workflow)
357
+ * [Next steps](https://kiro.dev/docs/cli/experimental/tangent-mode/#next-steps)
@@ -0,0 +1,331 @@
1
+ # Thinking tool
2
+ The thinking tool enables Kiro to show its reasoning process when working through complex problems, providing transparency into how conclusions are reached.
3
+ ## Overview[](https://kiro.dev/docs/cli/experimental/thinking/#overview)
4
+ When enabled, the thinking tool allows Kiro to break down complex reasoning into visible steps, helping you understand the decision-making process and learn from the AI's approach to problem-solving.
5
+ ## Enabling thinking tool[](https://kiro.dev/docs/cli/experimental/thinking/#enabling-thinking-tool)
6
+ bash
7
+ ```
8
+
9
+ kiro-cli settings chat.enableThinking true
10
+
11
+
12
+ ```
13
+
14
+ Or use the experiment command:
15
+ bash
16
+ ```
17
+
18
+ /experiment
19
+ # Select "Thinking" from the list
20
+
21
+
22
+ ```
23
+
24
+ ## How it works[](https://kiro.dev/docs/cli/experimental/thinking/#how-it-works)
25
+ When Kiro encounters a complex problem that requires multi-step reasoning, it will:
26
+ 1. **Show its thought process** as it works through the problem
27
+ 2. **Break down the reasoning** into logical steps
28
+ 3. **Explain intermediate conclusions** before reaching the final answer
29
+ 4. **Make the decision-making transparent** so you can follow along
30
+
31
+
32
+ ## When thinking appears[](https://kiro.dev/docs/cli/experimental/thinking/#when-thinking-appears)
33
+ The thinking tool is automatically invoked by Kiro when:
34
+ * **Complex problem-solving** requires multiple logical steps
35
+ * **Analyzing trade-offs** between different approaches
36
+ * **Planning multi-step implementations** with dependencies
37
+ * **Debugging complex issues** that need systematic analysis
38
+ * **Making architectural decisions** with multiple considerations
39
+
40
+
41
+ ## Example usage[](https://kiro.dev/docs/cli/experimental/thinking/#example-usage)
42
+ ### Without thinking tool[](https://kiro.dev/docs/cli/experimental/thinking/#without-thinking-tool)
43
+ ```
44
+
45
+ > What's the best way to implement caching for our API?
46
+
47
+ I recommend using Redis for caching your API responses...
48
+
49
+
50
+ ```
51
+
52
+ ### With thinking tool[](https://kiro.dev/docs/cli/experimental/thinking/#with-thinking-tool)
53
+ ```
54
+
55
+ > What's the best way to implement caching for our API?
56
+
57
+ 🧠 Thinking...
58
+
59
+ Let me think through the caching requirements:
60
+
61
+ 1. First, I need to consider the type of data being cached
62
+ - API responses suggest read-heavy workload
63
+ - Need to handle cache invalidation
64
+
65
+ 2. Evaluating caching solutions:
66
+ - In-memory (fast but limited by RAM)
67
+ - Redis (distributed, persistent, feature-rich)
68
+ - Memcached (simple, fast, but less features)
69
+
70
+ 3. Considering your use case:
71
+ - API responses benefit from distributed cache
72
+ - Need TTL support for automatic expiration
73
+ - May need cache invalidation on updates
74
+
75
+ 4. Redis appears best because:
76
+ - Supports complex data structures
77
+ - Built-in TTL and eviction policies
78
+ - Can be distributed across nodes
79
+ - Persistent if needed
80
+
81
+ Based on this analysis, I recommend using Redis for caching your API responses...
82
+
83
+
84
+ ```
85
+
86
+ ## Benefits[](https://kiro.dev/docs/cli/experimental/thinking/#benefits)
87
+ ### For learning[](https://kiro.dev/docs/cli/experimental/thinking/#for-learning)
88
+ * **Understand reasoning patterns** : See how complex problems are broken down
89
+ * **Learn problem-solving approaches** : Observe systematic analysis
90
+ * **Identify gaps in logic** : Spot where reasoning might be flawed
91
+
92
+
93
+ ### For debugging[](https://kiro.dev/docs/cli/experimental/thinking/#for-debugging)
94
+ * **Trace decision paths** : Understand why certain recommendations were made
95
+ * **Verify assumptions** : Check if the AI's assumptions match your context
96
+ * **Catch errors early** : Spot logical errors before implementation
97
+
98
+
99
+ ### For complex tasks[](https://kiro.dev/docs/cli/experimental/thinking/#for-complex-tasks)
100
+ * **Follow multi-step plans** : See how complex tasks are decomposed
101
+ * **Understand dependencies** : Identify relationships between steps
102
+ * **Validate approach** : Confirm the reasoning aligns with your goals
103
+
104
+
105
+ ## Use cases[](https://kiro.dev/docs/cli/experimental/thinking/#use-cases)
106
+ ### Architectural decisions[](https://kiro.dev/docs/cli/experimental/thinking/#architectural-decisions)
107
+ ```
108
+
109
+ > Should we use microservices or a monolith for our new project?
110
+
111
+ 🧠 Thinking...
112
+
113
+ Let me analyze this architectural decision:
114
+
115
+ 1. Project characteristics to consider:
116
+ - Team size and structure
117
+ - Expected scale and growth
118
+ - Deployment requirements
119
+ - Development velocity needs
120
+
121
+ 2. Microservices advantages:
122
+ - Independent scaling
123
+ - Technology flexibility
124
+ - Isolated failures
125
+ - But: increased complexity, operational overhead
126
+
127
+ 3. Monolith advantages:
128
+ - Simpler deployment
129
+ - Easier debugging
130
+ - Lower operational cost
131
+ - But: scaling limitations, tight coupling
132
+
133
+ 4. Decision factors:
134
+ - Small team → Monolith likely better
135
+ - Unclear requirements → Start with monolith
136
+ - Need rapid iteration → Monolith faster initially
137
+ - Can refactor to microservices later if needed
138
+
139
+ Based on this analysis...
140
+
141
+
142
+ ```
143
+
144
+ ### Algorithm selection[](https://kiro.dev/docs/cli/experimental/thinking/#algorithm-selection)
145
+ ```
146
+
147
+ > What sorting algorithm should I use for this data?
148
+
149
+ 🧠 Thinking...
150
+
151
+ Let me think through the sorting requirements:
152
+
153
+ 1. Data characteristics:
154
+ - Size of dataset
155
+ - Is data partially sorted?
156
+ - Memory constraints
157
+ - Stability requirements
158
+
159
+ 2. Algorithm options:
160
+ - Quick Sort: O(n log n) average, O(n²) worst
161
+ - Merge Sort: O(n log n) guaranteed, stable
162
+ - Heap Sort: O(n log n), in-place
163
+ - Tim Sort: Optimized for real-world data
164
+
165
+ 3. Trade-offs:
166
+ - If data is partially sorted → Tim Sort excels
167
+ - If memory is limited → Heap Sort (in-place)
168
+ - If stability matters → Merge Sort or Tim Sort
169
+ - For general case → Quick Sort often fastest
170
+
171
+ 4. Recommendation depends on...
172
+
173
+
174
+ ```
175
+
176
+ ### Debugging complex issues[](https://kiro.dev/docs/cli/experimental/thinking/#debugging-complex-issues)
177
+ ```
178
+
179
+ > My application is slow but I don't know why
180
+
181
+ 🧠 Thinking...
182
+
183
+ Let me systematically analyze potential performance issues:
184
+
185
+ 1. Common performance bottlenecks:
186
+ - Database queries (N+1 problem, missing indexes)
187
+ - Network latency (API calls, external services)
188
+ - Memory issues (leaks, excessive allocation)
189
+ - CPU-bound operations (complex calculations)
190
+
191
+ 2. Diagnostic approach:
192
+ - First, profile to identify hotspots
193
+ - Check database query patterns
194
+ - Monitor network requests
195
+ - Analyze memory usage patterns
196
+
197
+ 3. Most likely culprits based on typical patterns:
198
+ - Database queries often account for 60-80% of slowness
199
+ - Should start there before optimizing code
200
+
201
+ 4. Recommended investigation order...
202
+
203
+
204
+ ```
205
+
206
+ ## Configuration[](https://kiro.dev/docs/cli/experimental/thinking/#configuration)
207
+ ### Enable/disable[](https://kiro.dev/docs/cli/experimental/thinking/#enabledisable)
208
+ bash
209
+ ```
210
+
211
+ # Enable
212
+ kiro-cli settings chat.enableThinking true
213
+
214
+ # Disable
215
+ kiro-cli settings chat.enableThinking false
216
+
217
+ # Check status
218
+ kiro-cli settings chat.enableThinking
219
+
220
+
221
+ ```
222
+
223
+ ## Limitations[](https://kiro.dev/docs/cli/experimental/thinking/#limitations)
224
+ ### Performance impact[](https://kiro.dev/docs/cli/experimental/thinking/#performance-impact)
225
+ * **Slower responses** : Thinking adds time to generate responses
226
+ * **More tokens used** : Thinking process consumes additional tokens
227
+ * **Longer output** : Responses are more verbose
228
+
229
+
230
+ ### When not to use[](https://kiro.dev/docs/cli/experimental/thinking/#when-not-to-use)
231
+ * **Simple questions** : Thinking overhead not needed for straightforward queries
232
+ * **Quick iterations** : May slow down rapid back-and-forth
233
+ * **Well-defined tasks** : When you just need the answer, not the reasoning
234
+
235
+
236
+ ## Best practices[](https://kiro.dev/docs/cli/experimental/thinking/#best-practices)
237
+ ### When to enable[](https://kiro.dev/docs/cli/experimental/thinking/#when-to-enable)
238
+ * **Learning new concepts** : Understand the reasoning behind recommendations
239
+ * **Complex decisions** : Need to validate the decision-making process
240
+ * **Debugging** : Want to see systematic problem analysis
241
+ * **Code reviews** : Understand why certain approaches are suggested
242
+
243
+
244
+ ### When to disable[](https://kiro.dev/docs/cli/experimental/thinking/#when-to-disable)
245
+ * **Simple tasks** : Straightforward questions don't need reasoning
246
+ * **Speed priority** : Need quick responses without explanation
247
+ * **Familiar territory** : Already understand the reasoning patterns
248
+
249
+
250
+ ### Workflow integration[](https://kiro.dev/docs/cli/experimental/thinking/#workflow-integration)
251
+ 1. **Enable for complex tasks** : Turn on when starting difficult problems
252
+ 2. **Learn from reasoning** : Observe how problems are broken down
253
+ 3. **Disable for execution** : Turn off when implementing known solutions
254
+ 4. **Re-enable for review** : Turn back on when validating approaches
255
+
256
+
257
+ ## Troubleshooting[](https://kiro.dev/docs/cli/experimental/thinking/#troubleshooting)
258
+ ### Thinking not appearing[](https://kiro.dev/docs/cli/experimental/thinking/#thinking-not-appearing)
259
+ 1. **Verify it's enabled** :
260
+ bash
261
+ ```
262
+
263
+ kiro-cli settings chat.enableThinking
264
+
265
+
266
+ ```
267
+
268
+ 2. **Try a complex question** : Simple questions may not trigger thinking
269
+ 3. **Restart chat session** : Changes may require new session
270
+
271
+
272
+ ### Too much thinking[](https://kiro.dev/docs/cli/experimental/thinking/#too-much-thinking)
273
+ If thinking output is overwhelming:
274
+ 1. **Disable for simpler tasks** :
275
+ bash
276
+ ```
277
+
278
+ kiro-cli settings chat.enableThinking false
279
+
280
+
281
+ ```
282
+
283
+ 2. **Ask for concise answers** : Request brief responses explicitly
284
+ 3. **Use for specific questions** : Enable only when needed
285
+
286
+
287
+ ## Related features[](https://kiro.dev/docs/cli/experimental/thinking/#related-features)
288
+ * [Experimental Features](https://kiro.dev/docs/cli/experimental)
289
+ * [Tangent Mode](https://kiro.dev/docs/cli/experimental/tangent-mode) - Explore reasoning without affecting main conversation
290
+ * [TODO Lists](https://kiro.dev/docs/cli/experimental/todo-lists) - Break down complex tasks
291
+
292
+
293
+ ## Next steps[](https://kiro.dev/docs/cli/experimental/thinking/#next-steps)
294
+ * [Enable other experimental features](https://kiro.dev/docs/cli/experimental)
295
+ * [Configure settings](https://kiro.dev/docs/cli/settings)
296
+ * [Learn about custom agents](https://kiro.dev/docs/cli/custom-agents)
297
+
298
+
299
+ Page updated: November 16, 2025
300
+ [TODO lists](https://kiro.dev/docs/cli/experimental/todo-lists/)
301
+ [Checkpointing](https://kiro.dev/docs/cli/experimental/checkpointing/)
302
+ On this page
303
+ * [Overview](https://kiro.dev/docs/cli/experimental/thinking/#overview)
304
+ * [Enabling thinking tool](https://kiro.dev/docs/cli/experimental/thinking/#enabling-thinking-tool)
305
+ * [How it works](https://kiro.dev/docs/cli/experimental/thinking/#how-it-works)
306
+ * [When thinking appears](https://kiro.dev/docs/cli/experimental/thinking/#when-thinking-appears)
307
+ * [Example usage](https://kiro.dev/docs/cli/experimental/thinking/#example-usage)
308
+ * [Without thinking tool](https://kiro.dev/docs/cli/experimental/thinking/#without-thinking-tool)
309
+ * [With thinking tool](https://kiro.dev/docs/cli/experimental/thinking/#with-thinking-tool)
310
+ * [Benefits](https://kiro.dev/docs/cli/experimental/thinking/#benefits)
311
+ * [For learning](https://kiro.dev/docs/cli/experimental/thinking/#for-learning)
312
+ * [For debugging](https://kiro.dev/docs/cli/experimental/thinking/#for-debugging)
313
+ * [For complex tasks](https://kiro.dev/docs/cli/experimental/thinking/#for-complex-tasks)
314
+ * [Use cases](https://kiro.dev/docs/cli/experimental/thinking/#use-cases)
315
+ * [Architectural decisions](https://kiro.dev/docs/cli/experimental/thinking/#architectural-decisions)
316
+ * [Algorithm selection](https://kiro.dev/docs/cli/experimental/thinking/#algorithm-selection)
317
+ * [Debugging complex issues](https://kiro.dev/docs/cli/experimental/thinking/#debugging-complex-issues)
318
+ * [Configuration](https://kiro.dev/docs/cli/experimental/thinking/#configuration)
319
+ * [Enable/disable](https://kiro.dev/docs/cli/experimental/thinking/#enabledisable)
320
+ * [Limitations](https://kiro.dev/docs/cli/experimental/thinking/#limitations)
321
+ * [Performance impact](https://kiro.dev/docs/cli/experimental/thinking/#performance-impact)
322
+ * [When not to use](https://kiro.dev/docs/cli/experimental/thinking/#when-not-to-use)
323
+ * [Best practices](https://kiro.dev/docs/cli/experimental/thinking/#best-practices)
324
+ * [When to enable](https://kiro.dev/docs/cli/experimental/thinking/#when-to-enable)
325
+ * [When to disable](https://kiro.dev/docs/cli/experimental/thinking/#when-to-disable)
326
+ * [Workflow integration](https://kiro.dev/docs/cli/experimental/thinking/#workflow-integration)
327
+ * [Troubleshooting](https://kiro.dev/docs/cli/experimental/thinking/#troubleshooting)
328
+ * [Thinking not appearing](https://kiro.dev/docs/cli/experimental/thinking/#thinking-not-appearing)
329
+ * [Too much thinking](https://kiro.dev/docs/cli/experimental/thinking/#too-much-thinking)
330
+ * [Related features](https://kiro.dev/docs/cli/experimental/thinking/#related-features)
331
+ * [Next steps](https://kiro.dev/docs/cli/experimental/thinking/#next-steps)