superclaude-kiro 1.2.8 → 1.3.3

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 (48) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +266 -295
  3. package/bin/superclaude-kiro.js +42 -44
  4. package/dist/agents/sc-analyze.json +2 -4
  5. package/dist/agents/sc-implement.json +2 -4
  6. package/dist/agents/sc-pm.json +2 -4
  7. package/dist/agents/superclaude.json +2 -4
  8. package/dist/mcp/mcp-servers.json +0 -60
  9. package/dist/steering/superclaude/sc-agent.md +70 -70
  10. package/dist/steering/superclaude/sc-analyze.md +88 -88
  11. package/dist/steering/superclaude/sc-brainstorm.md +111 -112
  12. package/dist/steering/superclaude/sc-build.md +84 -84
  13. package/dist/steering/superclaude/sc-business-panel.md +112 -112
  14. package/dist/steering/superclaude/sc-cleanup.md +102 -102
  15. package/dist/steering/superclaude/sc-design.md +86 -86
  16. package/dist/steering/superclaude/sc-document.md +78 -78
  17. package/dist/steering/superclaude/sc-estimate.md +97 -97
  18. package/dist/steering/superclaude/sc-explain.md +82 -82
  19. package/dist/steering/superclaude/sc-git.md +70 -70
  20. package/dist/steering/superclaude/sc-help.md +137 -138
  21. package/dist/steering/superclaude/sc-implement.md +101 -101
  22. package/dist/steering/superclaude/sc-improve.md +103 -103
  23. package/dist/steering/superclaude/sc-index-repo.md +159 -159
  24. package/dist/steering/superclaude/sc-index.md +76 -76
  25. package/dist/steering/superclaude/sc-load.md +83 -83
  26. package/dist/steering/superclaude/sc-pm.md +582 -582
  27. package/dist/steering/superclaude/sc-recommend.md +998 -998
  28. package/dist/steering/superclaude/sc-reflect.md +77 -77
  29. package/dist/steering/superclaude/sc-research.md +113 -113
  30. package/dist/steering/superclaude/sc-save.md +83 -83
  31. package/dist/steering/superclaude/sc-sc.md +124 -124
  32. package/dist/steering/superclaude/sc-select-tool.md +75 -76
  33. package/dist/steering/superclaude/sc-spawn.md +95 -95
  34. package/dist/steering/superclaude/sc-spec-panel.md +426 -426
  35. package/dist/steering/superclaude/sc-task.md +105 -106
  36. package/dist/steering/superclaude/sc-test.md +83 -83
  37. package/dist/steering/superclaude/sc-troubleshoot.md +110 -110
  38. package/dist/steering/superclaude/sc-workflow.md +107 -108
  39. package/package.json +49 -53
  40. package/src/cli.js +27 -30
  41. package/src/converter.js +63 -63
  42. package/src/installer.js +630 -462
  43. package/src/mcp-servers.js +183 -157
  44. package/src/prompts.js +71 -182
  45. package/src/serena-setup.js +354 -0
  46. package/src/trusted-commands.js +305 -0
  47. package/src/utils.js +105 -105
  48. package/templates/cli-settings.json +8 -6
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,295 +1,266 @@
1
- # SuperClaude for Kiro
2
-
3
- Easy installation of [SuperClaude Framework](https://superclaude.netlify.app/) for Kiro (CLI and IDE). One command to install, update, or uninstall.
4
-
5
- > **Attribution**: This package is an installer for the SuperClaude Framework created by [SuperClaude-Org](https://github.com/SuperClaude-Org/SuperClaude_Framework). All command content and framework design belongs to the original authors. This package simply provides a convenient installation mechanism for Kiro users.
6
-
7
- ## Installation
8
-
9
- ```bash
10
- npx superclaude-kiro install
11
- ```
12
-
13
- The installer will guide you through selecting which MCP servers to install. By default, 4 core servers are pre-selected and ready to use immediately.
14
-
15
- **Want MorphLLM Fast Apply?** Select it during installation or add it later:
16
-
17
- ```bash
18
- npx superclaude-kiro install --with-morph
19
- ```
20
-
21
- ## Usage
22
-
23
- After installation, start Kiro:
24
-
25
- **Kiro CLI:**
26
- ```bash
27
- kiro-cli chat
28
- ```
29
-
30
- **Kiro IDE:**
31
- Open the Kiro IDE and start a chat session.
32
-
33
- ### Command Syntax
34
-
35
- SuperClaude commands use different prefixes depending on your environment:
36
-
37
- | Environment | Syntax | Example |
38
- |-------------|--------|---------|
39
- | Kiro CLI | `#sc-*` | `#sc-implement Add user auth` |
40
- | Kiro IDE | `/sc-*` | `/sc-implement Add user auth` |
41
-
42
- **CLI Examples:**
43
- ```
44
- #sc-implement Add user authentication
45
- #sc-analyze Review this code for security issues
46
- #sc-help Show all available commands
47
- ```
48
-
49
- **IDE Examples:**
50
- ```
51
- /sc-implement Add user authentication
52
- /sc-analyze Review this code for security issues
53
- /sc-help Show all available commands
54
- ```
55
-
56
- ## Available Commands
57
-
58
- | Command | CLI Syntax | IDE Syntax | Description |
59
- |---------|------------|------------|-------------|
60
- | analyze | `#sc-analyze` | `/sc-analyze` | Comprehensive code analysis |
61
- | brainstorm | `#sc-brainstorm` | `/sc-brainstorm` | Interactive requirements discovery |
62
- | build | `#sc-build` | `/sc-build` | Project building with error handling |
63
- | cleanup | `#sc-cleanup` | `/sc-cleanup` | Code cleanup and optimization |
64
- | design | `#sc-design` | `/sc-design` | System and component design |
65
- | document | `#sc-document` | `/sc-document` | Documentation generation |
66
- | estimate | `#sc-estimate` | `/sc-estimate` | Development estimates |
67
- | explain | `#sc-explain` | `/sc-explain` | Code explanations |
68
- | git | `#sc-git` | `/sc-git` | Git operations |
69
- | implement | `#sc-implement` | `/sc-implement` | Feature implementation |
70
- | improve | `#sc-improve` | `/sc-improve` | Code improvements |
71
- | index | `#sc-index` | `/sc-index` | Project documentation generation |
72
- | pm | `#sc-pm` | `/sc-pm` | Project management orchestration |
73
- | research | `#sc-research` | `/sc-research` | Deep web research |
74
- | task | `#sc-task` | `/sc-task` | Complex task execution |
75
- | test | `#sc-test` | `/sc-test` | Test execution |
76
- | troubleshoot | `#sc-troubleshoot` | `/sc-troubleshoot` | Issue diagnosis |
77
- | workflow | `#sc-workflow` | `/sc-workflow` | Workflow generation |
78
- | help | `#sc-help` | `/sc-help` | Show all commands and flags |
79
-
80
- ## CLI Commands
81
-
82
- ```bash
83
- # Install SuperClaude (interactive MCP server selection)
84
- npx superclaude-kiro install
85
-
86
- # Install with options
87
- npx superclaude-kiro install --force # Overwrite existing
88
- npx superclaude-kiro install --minimal # Core servers only, no prompts
89
- npx superclaude-kiro install --with-morph # Include MorphLLM (prompts for API key)
90
- npx superclaude-kiro install --no-interactive # Skip prompts, use defaults
91
- npx superclaude-kiro install --no-mcp # Skip MCP server config entirely
92
- npx superclaude-kiro install --no-default # Don't set as default agent
93
-
94
- # Install with MorphLLM API key (for CI/CD)
95
- npx superclaude-kiro install --morph-api-key "your-api-key"
96
-
97
- # Update to latest version (preserves your MCP server selections)
98
- npx superclaude-kiro update
99
-
100
- # Add MorphLLM during update
101
- npx superclaude-kiro update --with-morph
102
-
103
- # Check installation status
104
- npx superclaude-kiro status
105
-
106
- # Uninstall
107
- npx superclaude-kiro uninstall
108
- ```
109
-
110
- ## What Gets Installed
111
-
112
- - **30 steering files** - SuperClaude commands in `~/.kiro/steering/superclaude/`
113
- - **4 agents** - Specialized agents in `~/.kiro/agents/`
114
- - `superclaude` - Main framework agent (default)
115
- - `sc-pm` - Project Manager agent
116
- - `sc-implement` - Implementation agent
117
- - `sc-analyze` - Analysis agent
118
- - **MCP servers** - Your selected servers in `~/.kiro/settings/mcp.json`
119
- - **Default agent** - Set to `superclaude` in `~/.kiro/settings/cli.json`
120
-
121
- ## MCP Server Selection
122
-
123
- During installation, you can choose which MCP servers to install:
124
-
125
- | Server | Description | Default |
126
- |--------|-------------|---------|
127
- | `sequential-thinking` | Structured reasoning and problem-solving | Yes |
128
- | `context7` | Library documentation lookup | Yes |
129
- | `playwright` | Browser automation and testing | Yes |
130
- | `serena` | Semantic code analysis and editing | Yes |
131
- | `morphllm-fast-apply` | Ultra-fast file editing (requires API key) | No |
132
-
133
- ### MorphLLM Fast Apply
134
-
135
- MorphLLM provides ultra-fast file editing at 10,500+ tokens/sec.
136
-
137
- **To install with MorphLLM:**
138
-
139
- ```bash
140
- npx superclaude-kiro install --with-morph
141
- ```
142
-
143
- The installer will guide you through:
144
- 1. Creating a free account at [morphllm.com](https://www.morphllm.com)
145
- 2. Getting your API key from [dashboard/api-keys](https://morphllm.com/dashboard/api-keys)
146
- 3. Entering your API key securely
147
-
148
- **For CI/CD (non-interactive):**
149
-
150
- ```bash
151
- npx superclaude-kiro install --morph-api-key "your-api-key"
152
- ```
153
-
154
- **Pricing**: Free tier includes 500 requests/month. Paid usage is ~$1/million tokens.
155
-
156
- ## Configuration
157
-
158
- All agents are configured with:
159
- - `"tools": ["*"]` - Access to all tools
160
- - `"allowedTools": ["*", "use_subagent", "@context7", "@playwright", "@sequential-thinking", "@serena", "@morphllm-fast-apply/edit_file"]` - All built-in tools, subagents, and MCP tools pre-approved
161
- - `"toolsSettings"` - Shell and write operations auto-allowed
162
- - `"useLegacyMcpJson": true` - Uses global MCP servers
163
- - `"model": "claude-opus-4.6"` - Uses Claude Opus 4.6 by default (subagents inherit this when spawned with superclaude agent)
164
-
165
- **Note**: No default model is set - Kiro CLI remembers your model choice.
166
-
167
- MCP servers are configured with `autoApprove` arrays for all tools, so you won't be prompted for permission.
168
-
169
- ## Behavioral Modes
170
-
171
- Use natural language to activate modes:
172
-
173
- | Mode | How to Activate |
174
- |------|-----------------|
175
- | Think deeply | "think through this step by step" |
176
- | Brainstorm | "let's brainstorm this" |
177
- | Delegate | "delegate this to sub-tasks" |
178
- | Safe mode | "validate carefully before executing" |
179
- | Token efficient | "be concise" |
180
-
181
- ## Switching Agents
182
-
183
- ```bash
184
- # In a Kiro session
185
- /agent swap
186
- # Select from: superclaude, sc-pm, sc-implement, sc-analyze
187
-
188
- # Or start with a specific agent
189
- kiro-cli chat --agent sc-pm
190
- ```
191
-
192
- ## For Package Maintainers
193
-
194
- ### Update from Claude Code
195
-
196
- ```bash
197
- # Clone this repo
198
- git clone https://github.com/your-org/superclaude-kiro.git
199
- cd superclaude-kiro
200
-
201
- # Install dependencies
202
- npm install
203
-
204
- # Sync from your local Claude Code installation
205
- npm run sync:claude
206
-
207
- # Build distribution files
208
- npm run build
209
-
210
- # Bump version and publish
211
- npm version patch
212
- npm publish
213
- ```
214
-
215
- ### Update from GitHub
216
-
217
- ```bash
218
- # Set the repo (optional, defaults to SuperClaude-Org/SuperClaude_Framework)
219
- export SUPERCLAUDE_REPO=your-org/your-repo
220
-
221
- # Sync from GitHub
222
- npm run sync:github
223
-
224
- # Build and publish
225
- npm run build
226
- npm version patch
227
- npm publish
228
- ```
229
-
230
- ## Requirements
231
-
232
- - Node.js 18+
233
- - Kiro CLI installed (`~/.kiro` directory exists)
234
-
235
- ## Troubleshooting
236
-
237
- ### SuperClaude not loading as default
238
-
239
- ```bash
240
- # Check setting
241
- kiro-cli settings chat.defaultAgent
242
-
243
- # Set manually if needed
244
- kiro-cli settings chat.defaultAgent superclaude
245
- ```
246
-
247
- ### MCP servers not working
248
-
249
- ```bash
250
- # List MCP servers
251
- kiro-cli mcp list
252
-
253
- # Check config
254
- cat ~/.kiro/settings/mcp.json
255
-
256
- # Check status
257
- npx superclaude-kiro status
258
- ```
259
-
260
- ### MorphLLM not working
261
-
262
- Run the installer with `--with-morph` to set up MorphLLM:
263
-
264
- ```bash
265
- npx superclaude-kiro install --force --with-morph
266
- ```
267
-
268
- Or check your current status:
269
-
270
- ```bash
271
- npx superclaude-kiro status
272
- ```
273
-
274
- **Common issues:**
275
- - API key must be provided during installation (environment variable expansion doesn't work reliably in Kiro CLI)
276
- - Get your API key from [morphllm.com/dashboard/api-keys](https://www.morphllm.com/dashboard/api-keys)
277
-
278
- ### Reinstall from scratch
279
-
280
- ```bash
281
- npx superclaude-kiro uninstall
282
- npx superclaude-kiro install --force
283
- ```
284
-
285
- ## Credits & References
286
-
287
- - **SuperClaude Framework**: https://superclaude.netlify.app/
288
- - **SuperClaude GitHub**: https://github.com/SuperClaude-Org/SuperClaude_Framework
289
- - **Kiro CLI Documentation**: https://kiro.dev/docs/cli/
290
-
291
- This installer package was created to simplify SuperClaude deployment for Kiro users. All credit for the SuperClaude framework, commands, and methodology goes to the original creators.
292
-
293
- ## License
294
-
295
- MIT (installer only - SuperClaude Framework has its own license, see [original repository](https://github.com/SuperClaude-Org/SuperClaude_Framework))
1
+ # SuperClaude for Kiro
2
+
3
+ Easy installation of [SuperClaude Framework](https://superclaude.netlify.app/) for Kiro (CLI and IDE). One command to install, update, or uninstall.
4
+
5
+ > **Attribution**: This package is an installer for the SuperClaude Framework created by [SuperClaude-Org](https://github.com/SuperClaude-Org/SuperClaude_Framework). All command content and framework design belongs to the original authors. This package simply provides a convenient installation mechanism for Kiro users.
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ npx superclaude-kiro install
11
+ ```
12
+
13
+ The installer will guide you through selecting which MCP servers to install. By default, 5 core servers are pre-selected and ready to use immediately.
14
+
15
+ ## Usage
16
+
17
+ After installation, start Kiro:
18
+
19
+ **Kiro CLI:**
20
+ ```bash
21
+ kiro-cli chat
22
+ ```
23
+
24
+ **Kiro IDE:**
25
+ Open the Kiro IDE and start a chat session.
26
+
27
+ ### Command Syntax
28
+
29
+ SuperClaude commands use different prefixes depending on your environment:
30
+
31
+ | Environment | Syntax | Example |
32
+ |-------------|--------|---------|
33
+ | Kiro CLI | `#sc-*` | `#sc-implement Add user auth` |
34
+ | Kiro IDE | `/sc-*` | `/sc-implement Add user auth` |
35
+
36
+ **CLI Examples:**
37
+ ```
38
+ #sc-implement Add user authentication
39
+ #sc-analyze Review this code for security issues
40
+ #sc-help Show all available commands
41
+ ```
42
+
43
+ **IDE Examples:**
44
+ ```
45
+ /sc-implement Add user authentication
46
+ /sc-analyze Review this code for security issues
47
+ /sc-help Show all available commands
48
+ ```
49
+
50
+ ## Available Commands
51
+
52
+ | Command | CLI Syntax | IDE Syntax | Description |
53
+ |---------|------------|------------|-------------|
54
+ | analyze | `#sc-analyze` | `/sc-analyze` | Comprehensive code analysis |
55
+ | brainstorm | `#sc-brainstorm` | `/sc-brainstorm` | Interactive requirements discovery |
56
+ | build | `#sc-build` | `/sc-build` | Project building with error handling |
57
+ | cleanup | `#sc-cleanup` | `/sc-cleanup` | Code cleanup and optimization |
58
+ | design | `#sc-design` | `/sc-design` | System and component design |
59
+ | document | `#sc-document` | `/sc-document` | Documentation generation |
60
+ | estimate | `#sc-estimate` | `/sc-estimate` | Development estimates |
61
+ | explain | `#sc-explain` | `/sc-explain` | Code explanations |
62
+ | git | `#sc-git` | `/sc-git` | Git operations |
63
+ | implement | `#sc-implement` | `/sc-implement` | Feature implementation |
64
+ | improve | `#sc-improve` | `/sc-improve` | Code improvements |
65
+ | index | `#sc-index` | `/sc-index` | Project documentation generation |
66
+ | pm | `#sc-pm` | `/sc-pm` | Project management orchestration |
67
+ | research | `#sc-research` | `/sc-research` | Deep web research |
68
+ | task | `#sc-task` | `/sc-task` | Complex task execution |
69
+ | test | `#sc-test` | `/sc-test` | Test execution |
70
+ | troubleshoot | `#sc-troubleshoot` | `/sc-troubleshoot` | Issue diagnosis |
71
+ | workflow | `#sc-workflow` | `/sc-workflow` | Workflow generation |
72
+ | help | `#sc-help` | `/sc-help` | Show all commands and flags |
73
+
74
+ ## CLI Commands
75
+
76
+ ```bash
77
+ # Install SuperClaude (interactive MCP server selection)
78
+ npx superclaude-kiro install
79
+
80
+ # Install with options
81
+ npx superclaude-kiro install --force # Overwrite existing
82
+ npx superclaude-kiro install --minimal # Core servers only, no prompts
83
+ npx superclaude-kiro install --no-interactive # Skip prompts, use defaults
84
+ npx superclaude-kiro install --no-mcp # Skip MCP server config entirely
85
+ npx superclaude-kiro install --no-default # Don't set as default agent
86
+ npx superclaude-kiro install --no-serena-setup # Skip Serena binary install (use uvx fallback)
87
+
88
+ # Update to latest version (preserves your MCP server selections)
89
+ npx superclaude-kiro update
90
+
91
+ # Check installation status
92
+ npx superclaude-kiro status
93
+
94
+ # Uninstall
95
+ npx superclaude-kiro uninstall
96
+ ```
97
+
98
+ ## What Gets Installed
99
+
100
+ - **30 steering files** - SuperClaude commands in `~/.kiro/steering/superclaude/`
101
+ - **4 agents** - Specialized agents in `~/.kiro/agents/`
102
+ - `superclaude` - Main framework agent (default)
103
+ - `sc-pm` - Project Manager agent
104
+ - `sc-implement` - Implementation agent
105
+ - `sc-analyze` - Analysis agent
106
+ - **MCP servers** - Your selected servers in `~/.kiro/settings/mcp.json`
107
+ - **Default agent** - Set to `superclaude` in `~/.kiro/settings/cli.json`
108
+
109
+ ## MCP Server Selection
110
+
111
+ During installation, you can choose which MCP servers to install:
112
+
113
+ | Server | Description | Default |
114
+ |--------|-------------|---------|
115
+ | `sequential-thinking` | Structured reasoning and problem-solving | Yes |
116
+ | `context7` | Library documentation lookup | Yes |
117
+ | `playwright` | Browser automation and testing | Yes |
118
+ | `serena` | Semantic code analysis and editing | Yes |
119
+ | `aws-docs` | AWS documentation lookup | Yes |
120
+
121
+ ## Configuration
122
+
123
+ All agents are configured with:
124
+ - `"tools": ["*"]` - Access to all tools
125
+ - `"allowedTools": ["*", "use_subagent", "@context7", "@playwright", "@sequential-thinking", "@serena"]` - All built-in tools, subagents, and MCP tools pre-approved
126
+ - `"toolsSettings"` - Shell and write operations auto-allowed
127
+ - `"includeMcpJson": true` - Includes MCP servers from global config
128
+ - `"model": "claude-opus-4.6"` - Uses Claude Opus 4.6 by default (subagents inherit this when spawned with superclaude agent)
129
+
130
+ **Note**: No default model is set - Kiro CLI remembers your model choice.
131
+
132
+ MCP tools are auto-approved via the agent's `allowedTools` patterns (e.g., `@context7`, `@playwright`).
133
+
134
+ ## Behavioral Modes
135
+
136
+ Use natural language to activate modes:
137
+
138
+ | Mode | How to Activate |
139
+ |------|-----------------|
140
+ | Think deeply | "think through this step by step" |
141
+ | Brainstorm | "let's brainstorm this" |
142
+ | Delegate | "delegate this to sub-tasks" |
143
+ | Safe mode | "validate carefully before executing" |
144
+ | Token efficient | "be concise" |
145
+
146
+ ## Switching Agents
147
+
148
+ ```bash
149
+ # In a Kiro session
150
+ /agent swap
151
+ # Select from: superclaude, sc-pm, sc-implement, sc-analyze
152
+
153
+ # Or start with a specific agent
154
+ kiro-cli chat --agent sc-pm
155
+ ```
156
+
157
+ ## For Package Maintainers
158
+
159
+ ### Update from Claude Code
160
+
161
+ ```bash
162
+ # Clone this repo
163
+ git clone https://tools.standardbank.co.za/bitbucket/scm/aien/super-claude-kiro.git
164
+ cd super-claude-kiro
165
+
166
+ # Install dependencies
167
+ npm install
168
+
169
+ # Sync from your local Claude Code installation
170
+ npm run sync:claude
171
+
172
+ # Build distribution files
173
+ npm run build
174
+
175
+ # Bump version and publish
176
+ npm version patch
177
+ npm publish
178
+ ```
179
+
180
+ ### Update from GitHub
181
+
182
+ ```bash
183
+ # Set the repo (optional, defaults to SuperClaude-Org/SuperClaude_Framework)
184
+ export SUPERCLAUDE_REPO=aien/super-claude-kiro
185
+
186
+ # Sync from GitHub
187
+ npm run sync:github
188
+
189
+ # Build and publish
190
+ npm run build
191
+ npm version patch
192
+ npm publish
193
+ ```
194
+
195
+ ## Requirements
196
+
197
+ - Node.js 18+
198
+ - Kiro CLI installed (`~/.kiro` directory exists)
199
+ - **uv** (auto-installed if missing) - Required for the Serena MCP server. The installer will automatically download and install [uv](https://docs.astral.sh/uv/) and then use it to install Serena as a persistent binary. To skip this, use `--no-serena-setup`.
200
+
201
+ ## Troubleshooting
202
+
203
+ ### SuperClaude not loading as default
204
+
205
+ ```bash
206
+ # Check setting
207
+ kiro-cli settings chat.defaultAgent
208
+
209
+ # Set manually if needed
210
+ kiro-cli settings chat.defaultAgent superclaude
211
+ ```
212
+
213
+ ### MCP servers not working
214
+
215
+ ```bash
216
+ # List MCP servers
217
+ kiro-cli mcp list
218
+
219
+ # Check config
220
+ cat ~/.kiro/settings/mcp.json
221
+
222
+ # Check status
223
+ npx superclaude-kiro status
224
+ ```
225
+
226
+ ### Serena not connecting / slow startup
227
+
228
+ The installer automatically installs Serena as a persistent binary for fast, reliable startup. If Serena isn't working:
229
+
230
+ ```bash
231
+ # Check if the Serena binary is installed
232
+ npx superclaude-kiro status
233
+
234
+ # Reinstall with Serena setup
235
+ npx superclaude-kiro install --force
236
+
237
+ # Or skip auto-setup and use uvx fallback
238
+ npx superclaude-kiro install --force --no-serena-setup
239
+ ```
240
+
241
+ **Common issues:**
242
+ - **Windows: "Git executable not found"**: The installer auto-detects Git's location and injects it into the MCP config's PATH. If Git isn't installed, get it from https://git-scm.com/download/win and re-run the installer.
243
+ - **Windows timeouts**: The default `uvx` config re-clones Serena's git repo on every startup, causing timeouts. The auto-install fixes this by using a persistent binary.
244
+ - **Corporate proxy / SSL errors**: The installer auto-detects `NODE_EXTRA_CA_CERTS` and sets `SSL_CERT_FILE`, `REQUESTS_CA_BUNDLE`, and `GIT_SSL_CAINFO` for Python/Git tools.
245
+ - **uv not found**: The installer auto-installs [uv](https://docs.astral.sh/uv/). If it fails, install manually: `powershell -c "irm https://astral.sh/uv/install.ps1 | iex"` (Windows) or `curl -LsSf https://astral.sh/uv/install.sh | sh` (Unix).
246
+ - **Serena binary not found after install**: Check `~/.local/bin/serena` (Unix) or `~/.local/bin/serena.exe` (Windows). You may need to restart your terminal for PATH changes.
247
+ - **Context7 / Sequential Thinking slow on first run**: The installer pre-warms npx caches during install. If you still see timeouts, retry — packages are cached after the first download.
248
+
249
+ ### Reinstall from scratch
250
+
251
+ ```bash
252
+ npx superclaude-kiro uninstall
253
+ npx superclaude-kiro install --force
254
+ ```
255
+
256
+ ## Credits & References
257
+
258
+ - **SuperClaude Framework**: https://superclaude.netlify.app/
259
+ - **SuperClaude GitHub**: https://github.com/SuperClaude-Org/SuperClaude_Framework
260
+ - **Kiro CLI Documentation**: https://kiro.dev/docs/cli/
261
+
262
+ This installer package was created to simplify SuperClaude deployment for Kiro users. All credit for the SuperClaude framework, commands, and methodology goes to the original creators.
263
+
264
+ ## License
265
+
266
+ MIT (installer only - SuperClaude Framework has its own license, see [original repository](https://github.com/SuperClaude-Org/SuperClaude_Framework))