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,559 @@
1
+ # Slash commands
2
+ ## Overview[](https://kiro.dev/docs/cli/reference/slash-commands/#overview)
3
+ Slash commands are special commands you can use within an interactive chat session to quickly perform actions without leaving the conversation. They start with a forward slash (`/`) and provide shortcuts for common tasks.
4
+ ## Using slash commands[](https://kiro.dev/docs/cli/reference/slash-commands/#using-slash-commands)
5
+ Slash commands are only available in interactive chat mode:
6
+ bash
7
+ ```
8
+
9
+ kiro chat
10
+ > /help
11
+
12
+
13
+ ```
14
+
15
+ ## Available commands[](https://kiro.dev/docs/cli/reference/slash-commands/#available-commands)
16
+ ### `/help`[](https://kiro.dev/docs/cli/reference/slash-commands/#help)
17
+ Display available slash commands and their usage.
18
+ bash
19
+ ```
20
+
21
+ > /help
22
+
23
+
24
+ ```
25
+
26
+ ### `/quit`[](https://kiro.dev/docs/cli/reference/slash-commands/#quit)
27
+ Exit the interactive chat session.
28
+ bash
29
+ ```
30
+
31
+ > /quit
32
+
33
+
34
+ ```
35
+
36
+ Aliases: /exit, /q
37
+ ### `/clear`[](https://kiro.dev/docs/cli/reference/slash-commands/#clear)
38
+ Clear the current conversation history.
39
+ bash
40
+ ```
41
+
42
+ > /clear
43
+
44
+
45
+ ```
46
+
47
+ Note: This only clears the display, not the saved conversation.
48
+ ### `/context`[](https://kiro.dev/docs/cli/reference/slash-commands/#context)
49
+ Manage context files and view context window usage. Context rules determine which files are included in your Kiro session and are derived from the current active agent.
50
+ bash
51
+ ```
52
+
53
+ # Display context rule configuration and matched files
54
+ > /context show
55
+
56
+ # Add context rules (filenames or glob patterns)
57
+ > /context add src/app.js
58
+ > /context add "*.py"
59
+ > /context add "src/**/*.js"
60
+
61
+ # Remove specified rules
62
+ > /context remove src/app.js
63
+
64
+ # Remove all rules
65
+ > /context clear
66
+
67
+
68
+ ```
69
+
70
+ **Available subcommands:**
71
+ * `show` - Display the context rule configuration and matched files
72
+ * `add` - Add context rules (filenames or glob patterns)
73
+ * `remove` - Remove specified rules
74
+
75
+
76
+ **Notes:**
77
+ * You can add specific files or use glob patterns (e.g., `*.py`, `src/**/*.js`)
78
+ * Agent rules apply only to the current agent
79
+ * Context changes are NOT preserved between chat sessions. To make changes permanent, edit the agent config file.
80
+ * The files matched by these rules provide Kiro with additional information about your project or environment
81
+
82
+
83
+ See [Context Management](https://kiro.dev/docs/cli/chat/context) for detailed documentation.
84
+ ### `/model`[](https://kiro.dev/docs/cli/reference/slash-commands/#model)
85
+ Switch to a different AI model or set your default model preference.
86
+ bash
87
+ ```
88
+
89
+ # Show current model
90
+ > /model
91
+
92
+ # Save current model as default for future sessions
93
+ > /model set-current-as-default
94
+
95
+
96
+ ```
97
+
98
+ **Available subcommands:**
99
+ * `set-current-as-default` - Persist your current model selection as the default for all future sessions
100
+
101
+
102
+ **Note:** The `set-current-as-default` command saves your current model preference to `~/.kiro/settings/cli.json`, so it will be used automatically in all future chat sessions.
103
+ ### `/agent`[](https://kiro.dev/docs/cli/reference/slash-commands/#agent)
104
+ Manage agents and switch between different agent configurations.
105
+ bash
106
+ ```
107
+
108
+ # List all available agents
109
+ > /agent list
110
+
111
+ # Create a new agent
112
+ > /agent create my-agent
113
+
114
+ # Edit an existing agent configuration
115
+ > /agent edit my-agent
116
+
117
+ # Generate an agent configuration using AI
118
+ > /agent generate
119
+
120
+ # Show agent config schema
121
+ > /agent schema
122
+
123
+ # Set default agent for new chat sessions
124
+ > /agent set-default my-agent
125
+
126
+ # Swap to a different agent at runtime
127
+ > /agent swap code-reviewer
128
+
129
+
130
+ ```
131
+
132
+ **Available subcommands:**
133
+ * `list` - List all available agents
134
+ * `create` - Create a new agent with the specified name
135
+ * `edit` - Edit an existing agent configuration
136
+ * `generate` - Generate an agent configuration using AI
137
+ * `schema` - Show agent config schema
138
+ * `set-default` - Define a default agent to use when kiro-cli chat launches
139
+ * `swap` - Swap to a new agent at runtime
140
+
141
+
142
+ **Notes:**
143
+ * Agents can be stored globally in `~/.kiro/agents/` or per-workspace in `.kiro/agents/`
144
+ * Launch kiro-cli chat with a specific agent using `kiro-cli chat --agent agent_name`
145
+ * Set default agent with `kiro-cli settings chat.defaultAgent agent_name`
146
+
147
+
148
+ See [Custom Agents](https://kiro.dev/docs/cli/custom-agents) for detailed documentation.
149
+ ### `/chat`[](https://kiro.dev/docs/cli/reference/slash-commands/#chat)
150
+ Manage chat sessions, including saving, loading, and switching between sessions. Kiro CLI automatically saves all chat sessions on every conversation turn.
151
+ bash
152
+ ```
153
+
154
+ # Open interactive session picker to resume a previous session
155
+ > /chat resume
156
+
157
+ # Save current session to a file
158
+ > /chat save /myproject/codereview.json
159
+
160
+ # Load a session from a file
161
+ > /chat load /myproject/codereview.json
162
+
163
+
164
+ ```
165
+
166
+ **Available subcommands:**
167
+ * `resume` - Open interactive session picker to choose a session to resume
168
+ * `save` - Save current session to a file
169
+ * `load` - Load a session from a file (`.json` extension is optional)
170
+ * `save-via-script` - Save session using a custom script (receives JSON via stdin)
171
+ * `load-via-script` - Load session using a custom script (outputs JSON to stdout)
172
+
173
+
174
+ **Notes:**
175
+ * Sessions are automatically saved on every conversation turn
176
+ * Sessions are stored per directory, so each project has its own set of sessions
177
+ * The session picker shows session name, last activity, and message preview
178
+ * Use keyboard shortcuts in the picker: `↑`/`↓` to navigate, `Enter` to select, `/` to filter
179
+
180
+
181
+ #### Custom session storage[](https://kiro.dev/docs/cli/reference/slash-commands/#custom-session-storage)
182
+ You can use custom scripts to control where chat sessions are saved to and loaded from. This allows you to store sessions in version control systems, cloud storage, databases, or any custom location.
183
+ **Save via script:**
184
+ bash
185
+ ```
186
+
187
+ > /chat save-via-script ./scripts/save-to-git.sh
188
+
189
+
190
+ ```
191
+
192
+ Your script receives the chat session JSON via stdin. Example script to save to Git notes:
193
+ bash
194
+ ```
195
+
196
+ #!/bin/bash
197
+ set -ex
198
+ COMMIT=$(git rev-parse HEAD)
199
+ TEMP=$(mktemp)
200
+ cat > "$TEMP"
201
+ git notes --ref=kiro/notes add -F "$TEMP" "$COMMIT" --force
202
+ rm "$TEMP"
203
+ echo "Saved to commit ${COMMIT:0:8}" >&2
204
+
205
+
206
+ ```
207
+
208
+ **Load via script:**
209
+ bash
210
+ ```
211
+
212
+ > /chat load-via-script ./scripts/load-from-git.sh
213
+
214
+
215
+ ```
216
+
217
+ Your script should output the chat session JSON to stdout. Example script to load from Git notes:
218
+ bash
219
+ ```
220
+
221
+ #!/bin/bash
222
+ set -ex
223
+ COMMIT=$(git rev-parse HEAD)
224
+ git notes --ref=kiro/notes show "$COMMIT"
225
+
226
+
227
+ ```
228
+
229
+ ### `/save`[](https://kiro.dev/docs/cli/reference/slash-commands/#save)
230
+ Save the current conversation to a file.
231
+ bash
232
+ ```
233
+
234
+ # Save <PATH>
235
+ > /save /myproject/codereview.json
236
+
237
+
238
+ ```
239
+
240
+ ### `/load`[](https://kiro.dev/docs/cli/reference/slash-commands/#load)
241
+ Load a previously saved conversation.
242
+ bash
243
+ ```
244
+
245
+ # List available conversations
246
+ > /load /myproject/codereview.json
247
+
248
+
249
+ ```
250
+
251
+ ### `/editor`[](https://kiro.dev/docs/cli/reference/slash-commands/#editor)
252
+ Open your default editor (defaults to vi) to compose a prompt.
253
+ bash
254
+ ```
255
+
256
+ > /editor
257
+
258
+
259
+ ```
260
+
261
+ Opens `$EDITOR` to compose a longer message.
262
+ ### `/reply`[](https://kiro.dev/docs/cli/reference/slash-commands/#reply)
263
+ Open your editor with the most recent assistant message quoted for reply.
264
+ bash
265
+ ```
266
+
267
+ > /reply
268
+
269
+
270
+ ```
271
+
272
+ Useful for referencing and responding to specific parts of the AI's response.
273
+ ### `/compact`[](https://kiro.dev/docs/cli/reference/slash-commands/#compact)
274
+ Summarize the conversation to free up context space.
275
+ bash
276
+ ```
277
+
278
+ > /compact
279
+
280
+
281
+ ```
282
+
283
+ Condenses the conversation history while preserving key information, useful when approaching context limits.
284
+ ### `/paste`[](https://kiro.dev/docs/cli/reference/slash-commands/#paste)
285
+ Paste an image from clipboard.
286
+ bash
287
+ ```
288
+
289
+ > /paste
290
+
291
+
292
+ ```
293
+
294
+ Adds an image from your system clipboard to the conversation.
295
+ ### `/tools`[](https://kiro.dev/docs/cli/reference/slash-commands/#tools)
296
+ View tools and permissions. By default, Kiro will ask for your permission to use certain tools. You can control which tools you trust so that no confirmation is required.
297
+ bash
298
+ ```
299
+
300
+ # View all tools and their permissions
301
+ > /tools
302
+
303
+ # Show the input schema for all available tools
304
+ > /tools schema
305
+
306
+ # Trust a specific tool for the session
307
+ > /tools trust write
308
+
309
+ # Revert a tool to per-request confirmation
310
+ > /tools untrust write
311
+
312
+ # Trust all tools (equivalent to deprecated /acceptall)
313
+ > /tools trust-all
314
+
315
+ # Reset all tools to default permission levels
316
+ > /tools reset
317
+
318
+
319
+ ```
320
+
321
+ **Available subcommands:**
322
+ * `schema` - Show the input schema for all available tools
323
+ * `trust` - Trust a specific tool or tools for the session
324
+ * `untrust` - Revert a tool or tools to per-request confirmation
325
+ * `trust-all` - Trust all tools (equivalent to deprecated /acceptall)
326
+ * `reset` - Reset all tools to default permission levels
327
+
328
+
329
+ **Note:** For permanent tool configuration, see [Agent Configuration Reference](https://kiro.dev/docs/cli/custom-agents/configuration-reference/#tools-field).
330
+ ### `/prompts`[](https://kiro.dev/docs/cli/reference/slash-commands/#prompts)
331
+ View and retrieve prompts. Prompts are reusable templates that help you quickly access common workflows and tasks. These templates are provided by the MCP servers you have installed and configured.
332
+ bash
333
+ ```
334
+
335
+ # List available prompts from a tool or show all available prompts
336
+ > /prompts list
337
+
338
+ # Show detailed information about a specific prompt
339
+ > /prompts details code-review
340
+
341
+ # Get a specific prompt by name
342
+ > /prompts get code-review [arg]
343
+
344
+ # Quick retrieval (without /prompts prefix)
345
+ > @code-review [arg]
346
+
347
+ # Create a new local prompt
348
+ > /prompts create my-prompt
349
+
350
+ # Edit an existing local prompt
351
+ > /prompts edit my-prompt
352
+
353
+ # Remove an existing local prompt
354
+ > /prompts remove my-prompt
355
+
356
+
357
+ ```
358
+
359
+ **Available subcommands:**
360
+ * `list` - List available prompts from a tool or show all available prompts
361
+ * `details` - Show detailed information about a specific prompt
362
+ * `get` - Get a specific prompt by name
363
+ * `create` - Create a new local prompt
364
+ * `edit` - Edit an existing local prompt
365
+ * `remove` - Remove an existing local prompt
366
+
367
+
368
+ **Quick tip:** To retrieve a prompt directly, use `@<prompt name> [arg]` without the `/prompts get` prefix.
369
+ See [Manage Prompts](https://kiro.dev/docs/cli/chat/manage-prompts) for detailed documentation.
370
+ ### `/hooks`[](https://kiro.dev/docs/cli/reference/slash-commands/#hooks)
371
+ View context hooks.
372
+ bash
373
+ ```
374
+
375
+ > /hooks
376
+
377
+
378
+ ```
379
+
380
+ Display active context hooks for the current session.
381
+ ### `/usage`[](https://kiro.dev/docs/cli/reference/slash-commands/#usage)
382
+ Show billing and credits information.
383
+ bash
384
+ ```
385
+
386
+ > /usage
387
+
388
+
389
+ ```
390
+
391
+ View your current usage statistics and remaining credits.
392
+ ### `/mcp`[](https://kiro.dev/docs/cli/reference/slash-commands/#mcp)
393
+ See MCP servers loaded.
394
+ bash
395
+ ```
396
+
397
+ > /mcp
398
+
399
+
400
+ ```
401
+
402
+ Display Model Context Protocol servers currently active.
403
+ ### `/code`[](https://kiro.dev/docs/cli/reference/slash-commands/#code)
404
+ Manage code intelligence configuration and get feedback.
405
+ bash
406
+ ```
407
+
408
+ # Initialize code intelligence in the current directory
409
+ > /code init
410
+
411
+ # Force reinitialization in the current directory - restarts LSP servers
412
+ > /code init -f
413
+
414
+ # Get workspace status and LSP server statuses
415
+ > /code status
416
+
417
+ # View LSP logs for troubleshooting
418
+ > /code logs # Show last 20 ERROR logs
419
+
420
+ > /code logs -l INFO # Show INFO level and above
421
+
422
+ > /code logs -n 50 # Show last 50 entries
423
+
424
+ > /code logs -l DEBUG -n 100 # Show last 100 DEBUG+ logs
425
+
426
+ > /code logs -p ./lsp-logs.json # Export logs to JSON file
427
+
428
+
429
+
430
+ ```
431
+
432
+ **Available subcommands:**
433
+ * `init` - initialize LSP servers
434
+ * `status` - Show the detailed status of the LSP servers and workspace status
435
+ * `logs` - View logs
436
+
437
+
438
+ ### `/experiment`[](https://kiro.dev/docs/cli/reference/slash-commands/#experiment)
439
+ Toggle experimental features.
440
+ bash
441
+ ```
442
+
443
+ > /experiment
444
+
445
+
446
+ ```
447
+
448
+ Enable or disable experimental CLI features.
449
+ ### `/tangent`[](https://kiro.dev/docs/cli/reference/slash-commands/#tangent)
450
+ Create conversation checkpoints to explore side topics.
451
+ bash
452
+ ```
453
+
454
+ > /tangent
455
+
456
+
457
+ ```
458
+
459
+ Enter or exit [tangent mode](https://kiro.dev/docs/cli/experimental/tangent-mode) to explore tangential topics without disrupting your main conversation. Use `Ctrl+T` as a keyboard shortcut (when tangent mode is enabled).
460
+ ### `/todos`[](https://kiro.dev/docs/cli/reference/slash-commands/#todos)
461
+ View, manage, and resume to-do lists.
462
+ bash
463
+ ```
464
+
465
+ # View todo
466
+ > /todo
467
+
468
+ # Add todo
469
+ > /todo add "Fix authentication bug"
470
+
471
+ # Complete todo
472
+ > /todo complete 1
473
+
474
+
475
+ ```
476
+
477
+ ### `/issue`[](https://kiro.dev/docs/cli/reference/slash-commands/#issue)
478
+ Create a new GitHub issue or make a feature request.
479
+ bash
480
+ ```
481
+
482
+ > /issue
483
+
484
+
485
+ ```
486
+
487
+ Opens a workflow to submit issues or feature requests to the Kiro team.
488
+ ### `/logdump`[](https://kiro.dev/docs/cli/reference/slash-commands/#logdump)
489
+ Create a zip file with logs for support investigation.
490
+ bash
491
+ ```
492
+
493
+ > /logdump
494
+
495
+
496
+ ```
497
+
498
+ Generates a diagnostic log bundle for troubleshooting with support.
499
+ ### `/changelog`[](https://kiro.dev/docs/cli/reference/slash-commands/#changelog)
500
+ View changelog for Kiro CLI.
501
+ bash
502
+ ```
503
+
504
+ > /changelog
505
+
506
+
507
+ ```
508
+
509
+ Display recent updates and changes to the CLI.
510
+ ### Keyboard shortcuts[](https://kiro.dev/docs/cli/reference/slash-commands/#keyboard-shortcuts)
511
+ In interactive mode, you can also use:
512
+ * `Ctrl+C` - Cancel current input
513
+ * `Ctrl+J` - To insert new-line for multi-line prompt
514
+ * `Ctrl+S` - Fuzzy search commands and context files, use tab to select multiple items
515
+ * `Ctrl+T` - Toggle tangent mode for isolated conversations (if Tangent mode is enabled)
516
+ * `Up/Down arrows` - Navigate command history
517
+
518
+
519
+ ## Next steps[](https://kiro.dev/docs/cli/reference/slash-commands/#next-steps)
520
+ * Learn about [CLI Commands](https://kiro.dev/docs/cli/reference/cli-commands) for terminal usage
521
+ * Explore [Interactive Chat Mode](https://kiro.dev/docs/cli/chat/interactive-mode)
522
+ * Check [Context Management](https://kiro.dev/docs/cli/chat/context) for advanced context handling
523
+
524
+
525
+ Page updated: December 19, 2025
526
+ [CLI commands](https://kiro.dev/docs/cli/reference/cli-commands/)
527
+ [Built-in tools](https://kiro.dev/docs/cli/reference/built-in-tools/)
528
+ On this page
529
+ * [Overview](https://kiro.dev/docs/cli/reference/slash-commands/#overview)
530
+ * [Using slash commands](https://kiro.dev/docs/cli/reference/slash-commands/#using-slash-commands)
531
+ * [Available commands](https://kiro.dev/docs/cli/reference/slash-commands/#available-commands)
532
+ * [`/help`](https://kiro.dev/docs/cli/reference/slash-commands/#help)
533
+ * [`/quit`](https://kiro.dev/docs/cli/reference/slash-commands/#quit)
534
+ * [`/clear`](https://kiro.dev/docs/cli/reference/slash-commands/#clear)
535
+ * [`/context`](https://kiro.dev/docs/cli/reference/slash-commands/#context)
536
+ * [`/model`](https://kiro.dev/docs/cli/reference/slash-commands/#model)
537
+ * [`/agent`](https://kiro.dev/docs/cli/reference/slash-commands/#agent)
538
+ * [`/chat`](https://kiro.dev/docs/cli/reference/slash-commands/#chat)
539
+ * [Custom session storage](https://kiro.dev/docs/cli/reference/slash-commands/#custom-session-storage)
540
+ * [`/save`](https://kiro.dev/docs/cli/reference/slash-commands/#save)
541
+ * [`/load`](https://kiro.dev/docs/cli/reference/slash-commands/#load)
542
+ * [`/editor`](https://kiro.dev/docs/cli/reference/slash-commands/#editor)
543
+ * [`/reply`](https://kiro.dev/docs/cli/reference/slash-commands/#reply)
544
+ * [`/compact`](https://kiro.dev/docs/cli/reference/slash-commands/#compact)
545
+ * [`/paste`](https://kiro.dev/docs/cli/reference/slash-commands/#paste)
546
+ * [`/tools`](https://kiro.dev/docs/cli/reference/slash-commands/#tools)
547
+ * [`/prompts`](https://kiro.dev/docs/cli/reference/slash-commands/#prompts)
548
+ * [`/hooks`](https://kiro.dev/docs/cli/reference/slash-commands/#hooks)
549
+ * [`/usage`](https://kiro.dev/docs/cli/reference/slash-commands/#usage)
550
+ * [`/mcp`](https://kiro.dev/docs/cli/reference/slash-commands/#mcp)
551
+ * [`/code`](https://kiro.dev/docs/cli/reference/slash-commands/#code)
552
+ * [`/experiment`](https://kiro.dev/docs/cli/reference/slash-commands/#experiment)
553
+ * [`/tangent`](https://kiro.dev/docs/cli/reference/slash-commands/#tangent)
554
+ * [`/todos`](https://kiro.dev/docs/cli/reference/slash-commands/#todos)
555
+ * [`/issue`](https://kiro.dev/docs/cli/reference/slash-commands/#issue)
556
+ * [`/logdump`](https://kiro.dev/docs/cli/reference/slash-commands/#logdump)
557
+ * [`/changelog`](https://kiro.dev/docs/cli/reference/slash-commands/#changelog)
558
+ * [Keyboard shortcuts](https://kiro.dev/docs/cli/reference/slash-commands/#keyboard-shortcuts)
559
+ * [Next steps](https://kiro.dev/docs/cli/reference/slash-commands/#next-steps)
@@ -0,0 +1,84 @@
1
+ # Steering
2
+ ## What is steering?[](https://kiro.dev/docs/cli/steering/#what-is-steering)
3
+ Steering gives Kiro persistent knowledge about your project through markdown files in `.kiro/steering/`. Instead of explaining your conventions in every chat, steering files ensure Kiro consistently follows your established patterns, libraries, and standards.
4
+ ## Key benefits[](https://kiro.dev/docs/cli/steering/#key-benefits)
5
+ **Consistent Code Generation** - Every component, API endpoint, or test follows your team's established patterns and conventions.
6
+ **Reduced Repetition** - No need to explain project standards in each conversation. Kiro remembers your preferences.
7
+ **Team Alignment** - All developers work with the same standards, whether they're new to the project or seasoned contributors.
8
+ **Scalable Project Knowledge** - Documentation that grows with your codebase, capturing decisions and patterns as your project evolves.
9
+ ## Steering file scope[](https://kiro.dev/docs/cli/steering/#steering-file-scope)
10
+ Steering files can be created with a workspace scope or a global scope.
11
+ ### Workspace steering[](https://kiro.dev/docs/cli/steering/#workspace-steering)
12
+ Workspace steering files reside in your workspace root folder under `.kiro/steering/`, and apply only to that specific workspace. Workspace steering files can be used to inform Kiro of patterns, libraries, and standards that apply to an individual workspace.
13
+ ### Global steering[](https://kiro.dev/docs/cli/steering/#global-steering)
14
+ Global steering files reside in your home directory under `~/.kiro/steering/`, and apply to all workspaces. Global steering files can be used to inform Kiro of conventions that apply to _all_ your workspaces.
15
+ In case of conflicting instructions between global and workspace steering, Kiro will prioritize the workspace steering instructions. This allows you to specify global directives that generally apply to all your workspaces, while preserving the ability to override those directives for specific workspaces.
16
+ ### Team steering[](https://kiro.dev/docs/cli/steering/#team-steering)
17
+ The global steering feature can be used to define centralized steering files that apply to entire teams. Team steering files can be pushed to user's PCs via MDM solutions or Group Policies, or downloaded by users to their PCs from a central repository, and placed into the `~/.kiro/steering` folder.
18
+ ## Foundational steering files[](https://kiro.dev/docs/cli/steering/#foundational-steering-files)
19
+ Create foundational steering files to establish core project context.
20
+ 1. Create a `.kiro/steering/` folder in your project root for workspace scope or `~/.kiro/steering` folder for global scope.
21
+ 2. Add markdown files for your project standards
22
+ 3. Kiro will automatically load these files in chat sessions
23
+
24
+
25
+ Foundational steering files are:
26
+ **Product Overview** (`product.md`) - Defines your product's purpose, target users, key features, and business objectives. This helps Kiro understand the "why" behind technical decisions and suggest solutions aligned with your product goals.
27
+ **Technology Stack** (`tech.md`) - Documents your chosen frameworks, libraries, development tools, and technical constraints. When Kiro suggests implementations, it will prefer your established stack over alternatives.
28
+ **Project Structure** (`structure.md`) - Outlines file organization, naming conventions, import patterns, and architectural decisions. This ensures generated code fits seamlessly into your existing codebase.
29
+ These foundation files are included in every interaction by default, forming the baseline of Kiro's project understanding.
30
+ ## Creating custom steering files[](https://kiro.dev/docs/cli/steering/#creating-custom-steering-files)
31
+ Extend Kiro's understanding with specialized guidance tailored to your project's unique needs:
32
+ 1. Create a new `.md` file in `.kiro/steering/`
33
+ 2. Choose a descriptive filename (e.g., `api-standards.md`)
34
+ 3. Write your guidance using standard markdown syntax
35
+ 4. Use natural language to describe your requirements
36
+
37
+
38
+ Examples:
39
+ * API specs: `#[[file:api/openapi.yaml]]`
40
+ * Component patterns: `#[[file:components/ui/button.tsx]]`
41
+ * Config templates: `#[[file:.env.example]]`
42
+
43
+
44
+ ##Agents.md
45
+ Kiro supports providing steering directives via the [AGENTS.md](https://agents.md/) standard. AGENTS.md files are in markdown format, similar to Kiro steering files; however, AGENTS.md files are always included.
46
+ You can add AGENTS.md files to the global steering file location (`~/.kiro/steering/`), or to the root folder of your workspace, and they will get picked up by Kiro automatically.
47
+ ## Best practices[](https://kiro.dev/docs/cli/steering/#best-practices)
48
+ **Keep Files Focused** One domain per file - API design, testing, or deployment procedures.
49
+ **Use Clear Names**
50
+ * `api-rest-conventions.md` - REST API standards
51
+ * `testing-unit-patterns.md` - Unit testing approaches
52
+ * `components-form-validation.md` - Form component standards
53
+
54
+
55
+ **Include Context** Explain why decisions were made, not just what the standards are.
56
+ **Provide Examples** Use code snippets and before/after comparisons to demonstrate standards.
57
+ **Security First** Never include API keys, passwords, or sensitive data. Steering files are part of your codebase.
58
+ **Maintain Regularly**
59
+ * Review during sprint planning and architecture changes
60
+ * Test file references after restructuring
61
+ * Treat steering changes like code changes - require reviews
62
+
63
+
64
+ ## Common steering file strategies[](https://kiro.dev/docs/cli/steering/#common-steering-file-strategies)
65
+ **API Standards** (`api-standards.md`) - Define REST conventions, error response formats, authentication flows, and versioning strategies. Include endpoint naming patterns, HTTP status code usage, and request/response examples.
66
+ **Testing Approach** (`testing-standards.md`) - Establish unit test patterns, integration test strategies, mocking approaches, and coverage expectations. Document preferred testing libraries, assertion styles, and test file organization.
67
+ **Code Style** (`code-conventions.md`) - Specify naming patterns, file organization, import ordering, and architectural decisions. Include examples of preferred code structures, component patterns, and anti-patterns to avoid.
68
+ **Security Guidelines** (`security-policies.md`) - Document authentication requirements, data validation rules, input sanitization standards, and vulnerability prevention measures. Include secure coding practices specific to your application.
69
+ **Deployment Process** (`deployment-workflow.md`) - Outline build procedures, environment configurations, deployment steps, and rollback strategies. Include CI/CD pipeline details and environment-specific requirements.
70
+ Custom steering files are stored in `.kiro/steering/` and become immediately available across all Kiro CLI chat sessions.
71
+ Page updated: November 21, 2025
72
+ [Governance](https://kiro.dev/docs/cli/mcp/governance/)
73
+ [Experimental](https://kiro.dev/docs/cli/experimental/)
74
+ On this page
75
+ * [What is steering?](https://kiro.dev/docs/cli/steering/#what-is-steering)
76
+ * [Key benefits](https://kiro.dev/docs/cli/steering/#key-benefits)
77
+ * [Steering file scope](https://kiro.dev/docs/cli/steering/#steering-file-scope)
78
+ * [Workspace steering](https://kiro.dev/docs/cli/steering/#workspace-steering)
79
+ * [Global steering](https://kiro.dev/docs/cli/steering/#global-steering)
80
+ * [Team steering](https://kiro.dev/docs/cli/steering/#team-steering)
81
+ * [Foundational steering files](https://kiro.dev/docs/cli/steering/#foundational-steering-files)
82
+ * [Creating custom steering files](https://kiro.dev/docs/cli/steering/#creating-custom-steering-files)
83
+ * [Best practices](https://kiro.dev/docs/cli/steering/#best-practices)
84
+ * [Common steering file strategies](https://kiro.dev/docs/cli/steering/#common-steering-file-strategies)