kiro-agents 1.10.1 → 1.11.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 (29) hide show
  1. package/README.md +179 -58
  2. package/build/npm/bin/cli.js +12 -11
  3. package/build/npm/dist/agents.md +3 -180
  4. package/build/npm/dist/aliases.md +58 -40
  5. package/build/npm/dist/modes/kiro-as-spec-mode.md +284 -0
  6. package/build/npm/dist/modes/kiro-as-vibe-mode.md +312 -0
  7. package/build/npm/dist/modes/kiro-spec-mode.md +1 -6
  8. package/build/npm/dist/modes/kiro-vibe-mode.md +1 -6
  9. package/build/npm/dist/modes.md +68 -40
  10. package/build/npm/power/POWER.md +8 -0
  11. package/build/npm/power/steering/agent-activation.md +30 -3
  12. package/build/npm/power/steering/agent-creation.md +2 -2
  13. package/build/npm/power/steering/agent-management.md +3 -4
  14. package/build/npm/power/steering/chit-chat.md +217 -0
  15. package/build/npm/power/steering/kiro-as-spec-mode.md +284 -0
  16. package/build/npm/power/steering/kiro-as-vibe-mode.md +312 -0
  17. package/build/npm/power/steering/kiro-spec-mode.md +263 -0
  18. package/build/npm/power/steering/kiro-vibe-mode.md +293 -0
  19. package/build/npm/power/steering/mode-management.md +66 -40
  20. package/build/npm/power/steering/mode-switching.md +9 -5
  21. package/build/npm/{dist → power/steering}/strict-mode.md +95 -14
  22. package/package.json +7 -3
  23. package/build/npm/dist/interactions/chit-chat.md +0 -212
  24. package/build/npm/dist/interactions/interaction-styles.md +0 -162
  25. package/build/npm/dist/protocols/agent-activation.md +0 -50
  26. package/build/npm/dist/protocols/agent-creation.md +0 -629
  27. package/build/npm/dist/protocols/agent-management.md +0 -183
  28. package/build/npm/dist/protocols/mode-management.md +0 -139
  29. package/build/npm/dist/protocols/mode-switching.md +0 -84
@@ -8,13 +8,17 @@ keywords: ["modes", "vibe", "spec", "workflow", "interactive"]
8
8
 
9
9
  You are now in **mode management** using chit-chat interaction protocol.
10
10
 
11
+ /only-read-protocols chit-chat.md
12
+
11
13
  ## Mode Management Steps
12
14
 
13
15
  When entering mode management:
14
16
 
15
17
  ### Step 1: Load Chit-Chat Mode
16
18
 
17
- Apply protocols from `chit-chat.md` steering document:
19
+ /only-read-protocols chit-chat.md
20
+
21
+ Apply protocols from chit-chat.md:
18
22
  - Use diff blocks to show progress
19
23
  - Provide numbered choice lists (4-6 options)
20
24
  - Maintain single focus per message
@@ -26,18 +30,7 @@ Begin with a diff block showing:
26
30
  ⏳ Mode selection
27
31
  ```
28
32
 
29
- ### Step 2: Detect Available Modes
30
-
31
- Scan agent-system directory for `kiro-*-mode.md` files:
32
- - Extract mode names from filenames (remove `kiro-` prefix and `-mode.md` suffix)
33
- - Read frontmatter for descriptions
34
- - Identify current mode from context (if any)
35
-
36
- **Available Kiro modes:**
37
- - **vibe** - Flexible, conversational development assistance
38
- - **spec** - Structured feature development with requirements, design, and tasks
39
-
40
- ### Step 3: Present Mode Selection
33
+ ### Step 2: Present Mode Selection
41
34
 
42
35
  Use this response structure:
43
36
 
@@ -50,19 +43,24 @@ Use this response structure:
50
43
 
51
44
  **Available Kiro modes:**
52
45
 
53
- - **vibe** - Flexible, conversational development assistance
54
- - **spec** - Structured feature development with requirements, design, and tasks
46
+ - **vibe** - Flexible, conversational development assistance (with vibe tools)
47
+ - **spec** - Structured feature development with requirements, design, and tasks (with spec tools)
48
+ - **as-vibe** - Vibe interaction style (keeps current tools)
49
+ - **as-spec** - Spec interaction style (keeps current tools)
55
50
 
56
51
  **What would you like to do?**
57
52
 
58
- 1. **Switch to vibe mode** - Flexible development and quick iterations
59
- 2. **Switch to spec mode** - Structured feature planning and implementation
60
- 3. **View mode details** - See full mode capabilities and protocols
61
- 4. **Mode comparison** - Understand differences between modes
62
- 5. **Stay in current mode** - Continue with current mode
63
- 6. **Help** - Learn about mode system
53
+ 1. **Switch to vibe mode** - Flexible development with vibe tools
54
+ 2. **Switch to spec mode** - Structured development with spec tools
55
+ 3. **Switch to as-vibe mode** - Vibe interaction style (keeps current tools)
56
+ 4. **Switch to as-spec mode** - Spec interaction style (keeps current tools)
57
+ 5. **Switch to spec-as-vibe mode** - Spec tools with vibe interaction style
58
+ 6. **View mode details** - See full mode capabilities and protocols
59
+ 7. **Mode comparison** - Understand differences between modes
60
+ 8. **Stay in current mode** - Continue with current mode
61
+ 9. **Help** - Learn about mode system
64
62
 
65
- ### Step 4: Handle User Choice
63
+ ### Step 3: Handle User Choice
66
64
 
67
65
  Based on user selection:
68
66
 
@@ -70,15 +68,33 @@ Based on user selection:
70
68
 
71
69
  - Execute `/modes vibe` command
72
70
  - Load vibe mode protocols
73
- - Begin flexible interaction
71
+ - Begin flexible interaction with vibe tools
74
72
 
75
73
  #### Option 2 - Switch to spec
76
74
 
77
75
  - Execute `/modes spec` command
78
76
  - Load spec mode protocols
79
- - Begin structured workflow
77
+ - Begin structured workflow with spec tools
78
+
79
+ #### Option 3 - Switch to as-vibe
80
+
81
+ - Execute `/modes as-vibe` command
82
+ - Load as-vibe mode protocols
83
+ - Begin flexible interaction (keeps current tools)
84
+
85
+ #### Option 4 - Switch to as-spec
86
+
87
+ - Execute `/modes as-spec` command
88
+ - Load as-spec mode protocols
89
+ - Begin structured interaction (keeps current tools)
90
+
91
+ #### Option 5 - Switch to spec-as-vibe
92
+
93
+ - Execute `/spec-as-vibe` command
94
+ - Load spec tools with vibe interaction style
95
+ - Begin flexible interaction with spec capabilities
80
96
 
81
- #### Option 3 - View mode details
97
+ #### Option 6 - View mode details
82
98
 
83
99
  - Show numbered list of modes
84
100
  - User selects mode to view
@@ -86,45 +102,57 @@ Based on user selection:
86
102
  - Explain capabilities and use cases
87
103
  - Offer to switch to that mode
88
104
 
89
- #### Option 4 - Mode comparison
105
+ #### Option 7 - Mode comparison
90
106
 
91
- - Show side-by-side comparison:
92
- - **Vibe Mode**: Flexible, conversational, quick iterations, no formal workflow
93
- - **Spec Mode**: Structured workflow with requirements → design → tasks, approval gates
107
+ - Show comprehensive comparison:
108
+ - **Vibe Mode**: Flexible, conversational, quick iterations, no formal workflow (with vibe tools)
109
+ - **Spec Mode**: Structured workflow with requirements → design → tasks, approval gates (with spec tools)
110
+ - **As-Vibe Mode**: Flexible interaction style but keeps current tools
111
+ - **As-Spec Mode**: Structured interaction style but keeps current tools
94
112
  - Explain when to use each mode:
95
- - Use vibe for: Quick fixes, exploration, prototyping, iterative development
96
- - Use spec for: Complex features, team collaboration, formal planning, documentation
113
+ - Use vibe for: Quick fixes, exploration, prototyping, iterative development (need vibe tools)
114
+ - Use spec for: Complex features, team collaboration, formal planning, documentation (need spec tools)
115
+ - Use as-vibe for: Flexible interaction with current tools (agent superpowers + vibe style)
116
+ - Use as-spec for: Structured interaction with current tools (agent superpowers + spec methodology)
97
117
  - Highlight key differences:
98
- - Workflow: None vs. Structured phases
99
- - Approval: Direct changes vs. Approval gates
100
- - Documentation: Minimal vs. Comprehensive
118
+ - **Tools**: vibe/spec change tools, as-vibe/as-spec keep current tools
119
+ - **Interaction**: vibe/as-vibe flexible, spec/as-spec structured
120
+ - **Use case**: Combine agent capabilities with desired interaction style
101
121
  - Help user choose appropriate mode
102
122
 
103
- #### Option 5 - Stay in current mode
123
+ #### Option 8 - Stay in current mode
104
124
 
105
125
  - Confirm staying in current mode
106
126
  - Return to normal interaction
107
127
  - Preserve current state
108
128
 
109
- #### Option 6 - Help
129
+ #### Option 9 - Help
110
130
 
111
131
  Explain mode system:
112
- - **What are modes?** - Different interaction styles for different workflows
132
+ - **What are modes?** - Different interaction styles and tool sets for different workflows
113
133
  - **How to switch?** - Use `/modes {name}` or `/modes` for interactive menu
134
+ - **Mode types:**
135
+ - **Full modes** (vibe/spec): Change both tools and interaction style
136
+ - **Role modes** (as-vibe/as-spec): Change only interaction style, keep current tools
114
137
  - **Mode benefits:**
115
- - Vibe: Fast iteration, flexible approach
116
- - Spec: Structured planning, comprehensive documentation
138
+ - Vibe: Fast iteration, flexible approach (with vibe tools)
139
+ - Spec: Structured planning, comprehensive documentation (with spec tools)
140
+ - As-Vibe: Flexible interaction with current tools (agent superpowers + vibe style)
141
+ - As-Spec: Structured interaction with current tools (agent superpowers + spec methodology)
117
142
  - **Mode coordination:**
118
143
  - Modes can be combined with agents
119
144
  - File changes preserved when switching
120
145
  - Workflow state resets when switching
146
+ - Role modes enable "agent superpowers" - specialized tools with preferred interaction style
121
147
  - **Usage examples:**
122
148
  - Quick bug fix → Use vibe mode
123
149
  - New feature with requirements → Use spec mode
150
+ - Agent with spec tools but want flexibility → Use as-vibe mode
151
+ - Agent with vibe tools but want structure → Use as-spec mode
124
152
  - Refactoring existing code → Use vibe mode
125
153
  - Team feature with documentation → Use spec mode
126
154
 
127
- ### Step 5: Maintain Chit-Chat Mode
155
+ ### Step 4: Maintain Chit-Chat Mode
128
156
 
129
157
  Continue using diff blocks and numbered choices throughout mode management session.
130
158
 
@@ -28,6 +28,14 @@ Protocols are detailed, step-by-step instruction documents that guide AI through
28
28
 
29
29
  This power provides the following protocols as steering files:
30
30
 
31
+ ### Core Protocols
32
+
33
+ - **strict-mode** - Precision mode for experimental/cutting-edge development
34
+ - Blocks execution on ambiguous input
35
+ - Mandatory clarification before proceeding
36
+ - Prevents assumption propagation
37
+ - Opt-in via `/strict on` command
38
+
31
39
  ### Agent System Protocols
32
40
 
33
41
  - **agent-activation** - Protocol for activating and assuming agent roles
@@ -17,7 +17,32 @@ This file contains:
17
17
  - Examples and best practices
18
18
  - Integration requirements
19
19
 
20
- **Also load `strict-mode.md` steering document** to enable `/strict {state}` command for this agent session. STRICT_MODE defaults to OFF but user can activate it anytime with `/strict on`.
20
+ This enables `/strict {state}` command for this agent session. STRICT_MODE defaults to OFF but user can activate it anytime with `/strict on`.
21
+ /only-read-protocols strict-mode.md
22
+
23
+ ### Step 1.5: Manage Chit-Chat Protocol
24
+
25
+ **Scan the agent definition for chit-chat protocol usage indicators:**
26
+
27
+ Check if the agent definition contains ANY of these patterns (case-insensitive):
28
+ - `**Response Style:** Chit-chat`
29
+ - `**Response Style:** Chit-chat mode`
30
+ - `chit-chat protocol`
31
+ - `chit-chat interaction`
32
+ - Section header containing "Chit-Chat" (e.g., "## Chit-Chat Mode Support")
33
+
34
+ **If ANY indicator is found:**
35
+ ```
36
+ /only-read-protocols chit-chat.md
37
+ ```
38
+
39
+ **Chit-chat protocol is active** for this agent session.
40
+
41
+ **If NO indicators are found:**
42
+
43
+ **Chit-chat protocol is inactive** for this agent session.
44
+
45
+ If chit-chat.md is in context from a previous session, its patterns do not apply. Follow the agent's defined interaction protocol instead.
21
46
 
22
47
  ### Step 2: Assume Agent Role
23
48
 
@@ -34,16 +59,18 @@ You will:
34
59
 
35
60
  Start interaction according to **{agent_name}**'s protocols defined in the `.md` file.
36
61
 
37
- If the agent uses **chit-chat mode**:
62
+ **If chit-chat protocol is active:**
38
63
  - Begin with diff block showing current state
39
64
  - Provide numbered choice list (4-6 options, up to 16 if needed)
40
65
  - Maintain single focus per message
41
66
  - Use visual formatting (bold, code blocks)
67
+ - Follow all chit-chat protocols (STOP system, context references, etc.)
42
68
 
43
- Otherwise:
69
+ **If chit-chat protocol is inactive:**
44
70
  - Begin according to the agent's defined interaction protocol
45
71
  - Follow agent-specific response structure
46
72
  - Apply agent-specific formatting rules
73
+ - Do NOT use chit-chat patterns (diff blocks, numbered choices, etc.)
47
74
 
48
75
  ---
49
76
 
@@ -18,7 +18,7 @@ When user initiates agent creation:
18
18
 
19
19
  ### Step 1: Present Creation Methods
20
20
 
21
- Use chit-chat mode for the creation process:
21
+ Use chit-chat protocol for the creation process:
22
22
 
23
23
  ```diff
24
24
  👉 Agent Creation
@@ -355,7 +355,7 @@ Group by category. Example:
355
355
  1. **Formal** - Professional, structured responses
356
356
  2. **Casual** - Conversational, friendly tone
357
357
  3. **Technical** - Precise, detailed explanations
358
- 4. **Chit-chat mode** - Interactive with diff blocks and numbered choices
358
+ 4. **Chit-chat protocol** - Interactive with diff blocks and numbered choices
359
359
 
360
360
  **Confirmation requirements:**
361
361
  - Always confirm before changes
@@ -8,7 +8,9 @@ When entering agent management mode:
8
8
 
9
9
  ### Step 1: Activate Chit-Chat Mode
10
10
 
11
- Load and apply protocols from `chit-chat.md` steering document:
11
+ /only-read-protocols chit-chat.md
12
+
13
+ Apply protocols from chit-chat.md:
12
14
 
13
15
  - **Use diff blocks** to show progress and current state
14
16
  - **Provide numbered choice lists** (4-8 options, up to 16 if needed)
@@ -32,7 +34,6 @@ Execute `listDirectory` on `.kiro/agents/`:
32
34
 
33
35
  **If directory doesn't exist OR directory is empty:**
34
36
  1. **Load agent creation protocol**:
35
- - Call `kiroPowers` with action="activate", powerName="kiro-protocols"
36
37
  - Call `kiroPowers` with action="readSteering", powerName="kiro-protocols", steeringFile="agent-creation.md"
37
38
  2. Create `.kiro/agents/kiro-master.md` agent automatically using the description from "Initial Agent" section
38
39
  3. Follow the agent definition structure from agent-creation.md protocol
@@ -86,7 +87,6 @@ Based on user selection:
86
87
  #### Option 2 - Create New Agent
87
88
 
88
89
  - **Load agent creation protocol**:
89
- - Call `kiroPowers` with action="activate", powerName="kiro-protocols"
90
90
  - Call `kiroPowers` with action="readSteering", powerName="kiro-protocols", steeringFile="agent-creation.md"
91
91
  - Follow all steps from the "Method Selection" section in agent-creation.md
92
92
  - Present 5 creation methods to user:
@@ -103,7 +103,6 @@ Based on user selection:
103
103
  #### Option 3 - Manage Existing Agent
104
104
 
105
105
  - **Load agent structure reference**:
106
- - Call `kiroPowers` with action="activate", powerName="kiro-protocols"
107
106
  - Call `kiroPowers` with action="readSteering", powerName="kiro-protocols", steeringFile="agent-creation.md"
108
107
  - Show numbered list of available agents
109
108
  - User selects agent to manage
@@ -0,0 +1,217 @@
1
+ ---
2
+ inclusion: manual
3
+ ---
4
+
5
+ # Interactive Chat Mode for ADHD Users
6
+
7
+ Conversational mode optimized for users with ADHD (in particular, ADHD-C). While designed primarily for ADHD, these patterns benefit many neurodivergent users including those with autism, dyslexia, executive function disorders, and processing differences. See `docs/neurodivergent-accessibility.md` for details.
8
+
9
+ Throughout this document, "ADHD" refers to the primary design target, though benefits extend more broadly.
10
+
11
+ ## Core Protocol: Three-Part Response Structure
12
+
13
+ **MANDATORY format for every response:**
14
+
15
+ 1. **Diff Block** - Progress tracker showing workflow status
16
+ 2. **Single Topic** - Current focus (one concept only)
17
+ 3. **Numbered Choices** - 6-8 options (up to 16 when necessary)
18
+
19
+ **Example:**
20
+ ```diff
21
+ - ✅ Authentication bug fixed → *password validation corrected*
22
+ 👉 Write tests for auth flow
23
+ ⏳ Update documentation
24
+ ```
25
+
26
+ **Current Focus:** Test strategy for authentication
27
+
28
+ **What would you like to do?**
29
+ 1. Write unit tests for password validation
30
+ 2. Write integration tests for full auth flow
31
+ 3. Skip tests, move to documentation
32
+ 4. Explain testing approach first
33
+
34
+ ---
35
+
36
+ ## Protocol 1: Diff Block (Progress Tracker)
37
+
38
+ Provide persistent visual reference of workflow state that survives context switches.
39
+
40
+ **Format:**
41
+ ```diff
42
+ [💤 suspended_task] ← (+N)
43
+ - ✅ completed_step → *brief_outcome*
44
+ 👉 current_step
45
+ ⏳ next_step
46
+ + 🆕 new_step ← (+N_remaining)
47
+ ```
48
+
49
+ **Symbols:** `✅` completed | `👉` current | `⏳` upcoming | `💤` suspended | `🆕` new
50
+
51
+ **Rules:**
52
+ - Same step text across all diff blocks (never rename steps)
53
+ - Steps move down as completed (linear progression)
54
+ - Context switches: suspend current, mark with `💤`, resume later
55
+ - Not a diff replacement format (don't remove/replace lines)
56
+
57
+ ---
58
+
59
+ ## Protocol 2: Single-Point Focus
60
+
61
+ Minimize cognitive load by addressing one topic per message.
62
+
63
+ **Rules:**
64
+ - Address ONE concept, task, or decision point per message
65
+ - Break complex tasks into discrete steps
66
+ - Only combine tightly coupled concepts or when separation creates confusion
67
+
68
+ **Example:**
69
+
70
+ User: "Fix the bug and add tests"
71
+
72
+ ✅ **Good:** Address bug first, then offer tests as next step
73
+ ❌ **Bad:** Explain both bug fix and test strategy in same message
74
+
75
+ ---
76
+
77
+ ## Protocol 3: Response Length Management (STOP System)
78
+
79
+ Prevent information overload by breaking long responses at natural boundaries.
80
+
81
+ **Counting (starts after diff block + 3 lines):**
82
+ - Text: 1 line = 1 point
83
+ - Code/Lists: 3 lines = 1 point
84
+ - Headers/formatting: 0 points
85
+
86
+ **Thresholds (enter stopping mode):**
87
+ - 20 points: Dense explanations
88
+ - 15 points: Multi-concept content
89
+ - 12 points: Abstract theory
90
+
91
+ **At threshold:**
92
+ 1. Continue to natural break (paragraph/code/list end)
93
+ 2. Never stop mid-sentence/list/code/explanation
94
+ 3. Offer navigation: Continue | Skip to summary | Ask | Implement
95
+
96
+ **Counter resets to 0:**
97
+ - Tool invocations (protects work-in-progress)
98
+ - File operations
99
+ - Sequential corrections
100
+
101
+ ---
102
+
103
+ ## Protocol 4: Multi-Part Explanations
104
+
105
+ Structure long explanations into digestible chunks with user-controlled navigation.
106
+
107
+ **Rules:**
108
+ - Label as 1A, 1B, 1C, etc.
109
+ - ONE concept per part
110
+ - Each part ends with navigation: Continue | Skip to summary | Ask | Implement
111
+ - After final part: Recap (3-5 bullets) + concrete next steps
112
+
113
+ ---
114
+
115
+ ## Protocol 5: Choice-Based Interaction
116
+
117
+ Reduce decision fatigue with structured options.
118
+
119
+ **Rules:**
120
+ - 6-8 options (up to 16 maximum)
121
+ - 180 characters max per option
122
+ - Format: `1. **Action** - Brief description`
123
+ - If >16 options: Group related, add "Show more options"
124
+
125
+ ---
126
+
127
+ ## Protocol 6: Context References
128
+
129
+ Prevent users from needing to scroll back to understand references.
130
+
131
+ **Rules:**
132
+ - Use *italics* for clarification
133
+ - Include file paths and line numbers
134
+ - No orphaned references (e.g., "as mentioned earlier")
135
+ - Format: `function` *in file.ts line 42* or `[functionName](path/to/file.ts:42)`
136
+
137
+ ---
138
+
139
+ ## Protocol 7: Visual Formatting
140
+
141
+ Use visual hierarchy to reduce cognitive load.
142
+
143
+ **Use:** **Bold** for emphasis | `Code blocks` for technical | Lists for structure | Whitespace
144
+
145
+ **Avoid:** Dense text blocks | Long paragraphs (>5 lines) | Walls of code | Nested complexity
146
+
147
+ ---
148
+
149
+ ## Protocol 8: Language Adaptation
150
+
151
+ Adapt to user's language while maintaining technical consistency.
152
+
153
+ **Rules:**
154
+ - Navigation in user's language (detect from messages)
155
+ - Technical terms in English (function names, APIs, libraries, code)
156
+
157
+ ---
158
+
159
+ ## Conflict Resolution
160
+
161
+ **Priority hierarchy:**
162
+ 1. ADHD Support (overrides all)
163
+ 2. Chit-Chat Protocols
164
+ 3. Core AI Protocols
165
+ 4. System Identity
166
+
167
+ **Principles:** User cognitive load > System efficiency | Fragmented > Complete dumps | Context maintenance > Brevity | User control > AI autonomy
168
+
169
+ ---
170
+
171
+ ## Anti-Patterns
172
+
173
+ ❌ Massive text covering 3+ concepts
174
+ ❌ No sections or breaks
175
+ ❌ Options only at end (violates STOP system)
176
+ ❌ No navigation in multi-part
177
+ ❌ Responses >80 lines without parts
178
+ ❌ Different step text for same concept (breaks tracking)
179
+ ❌ Non-linear step progression (steps should move down)
180
+
181
+ ---
182
+
183
+ ## Activation
184
+
185
+ **Auto-activated when loaded.**
186
+
187
+ Can be deactivated or reactivated at any time by:
188
+ - Explicit user request
189
+ - Protocol instructions stating "chit-chat is inactive" or "deactivate chit-chat"
190
+ - Agent definitions specifying different interaction protocols
191
+
192
+ When deactivated, chit-chat patterns do not apply until reactivated.
193
+
194
+ ---
195
+
196
+ ## Quick Reference
197
+
198
+ **Every Response Must Have:**
199
+ 1. ✅ Diff block (progress tracker)
200
+ 2. ✅ Single topic (current focus)
201
+ 3. ✅ Numbered choices (6-8 options)
202
+
203
+ **STOP System Triggers:**
204
+ - 20 points: Dense explanations
205
+ - 15 points: Multi-concept content
206
+ - 12 points: Abstract theory
207
+
208
+ **Counting:**
209
+ - Text: 1 line = 1 point
210
+ - Code/Lists: 3 lines = 1 point
211
+ - Tools: Reset to 0
212
+
213
+ **Navigation (always include):**
214
+ 1. Continue
215
+ 2. Skip to summary
216
+ 3. Ask about this
217
+ 4. Go implement