Skip to content

Commit 323ff26

Browse files
committed
Add Kiro CLI support
Kiro CLI (https://kiro.dev) is an upgrade replacement for Amazon Q Developer CLI with full custom prompt support. Changes: - Added 'kiro' to AGENT_CONFIG with .kiro/ folder structure - Updated CLI help text to include kiro option - Added Kiro CLI to README supported agents table - Updated release script to generate Kiro packages - Kiro uses .kiro/prompts/ directory (markdown format) Kiro CLI provides the same functionality as Q Developer CLI but with proper support for custom arguments in slash commands.
1 parent 926836e commit 323ff26

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

.github/workflows/scripts/create-release-packages.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,9 @@ build_variant() {
183183
amp)
184184
mkdir -p "$base_dir/.agents/commands"
185185
generate_commands amp md "\$ARGUMENTS" "$base_dir/.agents/commands" "$script" ;;
186+
kiro)
187+
mkdir -p "$base_dir/.kiro/prompts"
188+
generate_commands kiro md "\$ARGUMENTS" "$base_dir/.kiro/prompts" "$script" ;;
186189
q)
187190
mkdir -p "$base_dir/.amazonq/prompts"
188191
generate_commands q md "\$ARGUMENTS" "$base_dir/.amazonq/prompts" "$script" ;;
@@ -192,7 +195,7 @@ build_variant() {
192195
}
193196

194197
# Determine agent list
195-
ALL_AGENTS=(claude gemini copilot cursor-agent qwen opencode windsurf codex kilocode auggie roo codebuddy amp q)
198+
ALL_AGENTS=(claude gemini copilot cursor-agent qwen opencode windsurf codex kilocode auggie roo codebuddy amp kiro q)
196199
ALL_SCRIPTS=(sh ps)
197200

198201
norm_list() {

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ Want to see Spec Kit in action? Watch our [video overview](https://www.youtube.c
149149
| [Roo Code](https://roocode.com/) || |
150150
| [Codex CLI](https://github.com/openai/codex) || |
151151
| [Amazon Q Developer CLI](https://aws.amazon.com/developer/learning/q-developer-cli/) | ⚠️ | Amazon Q Developer CLI [does not support](https://github.com/aws/amazon-q-developer-cli/issues/3064) custom arguments for slash commands. |
152+
| [Kiro CLI](https://kiro.dev/) || Upgrade replacement for Amazon Q Developer CLI with full custom prompt support |
152153
| [Amp](https://ampcode.com/) || |
153154

154155
## 🔧 Specify CLI Reference
@@ -360,7 +361,7 @@ specify init . --force --ai claude
360361
specify init --here --force --ai claude
361362
```
362363

363-
The CLI will check if you have Claude Code, Gemini CLI, Cursor CLI, Qwen CLI, opencode, Codex CLI, or Amazon Q Developer CLI installed. If you do not, or you prefer to get the templates without checking for the right tools, use `--ignore-agent-tools` with your command:
364+
The CLI will check if you have Claude Code, Gemini CLI, Cursor CLI, Qwen CLI, opencode, Codex CLI, Kiro CLI, or Amazon Q Developer CLI installed. If you do not, or you prefer to get the templates without checking for the right tools, use `--ignore-agent-tools` with your command:
364365

365366
```bash
366367
specify init <project_name> --ai claude --ignore-agent-tools

src/specify_cli/__init__.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,12 @@ def _github_auth_headers(cli_token: str | None = None) -> dict:
150150
"install_url": "https://ampcode.com/manual#install",
151151
"requires_cli": True,
152152
},
153+
"kiro": {
154+
"name": "Kiro CLI",
155+
"folder": ".kiro/",
156+
"install_url": "https://kiro.dev/docs/cli/getting-started/",
157+
"requires_cli": True,
158+
},
153159
}
154160

155161
SCRIPT_TYPE_CHOICES = {"sh": "POSIX Shell (bash/zsh)", "ps": "PowerShell"}
@@ -865,7 +871,7 @@ def ensure_executable_scripts(project_path: Path, tracker: StepTracker | None =
865871
@app.command()
866872
def init(
867873
project_name: str = typer.Argument(None, help="Name for your new project directory (optional if using --here, or use '.' for current directory)"),
868-
ai_assistant: str = typer.Option(None, "--ai", help="AI assistant to use: claude, gemini, copilot, cursor-agent, qwen, opencode, codex, windsurf, kilocode, auggie, codebuddy, amp, or q"),
874+
ai_assistant: str = typer.Option(None, "--ai", help="AI assistant to use: claude, gemini, copilot, cursor-agent, qwen, opencode, codex, windsurf, kilocode, auggie, codebuddy, amp, kiro, or q"),
869875
script_type: str = typer.Option(None, "--script", help="Script type to use: sh or ps"),
870876
ignore_agent_tools: bool = typer.Option(False, "--ignore-agent-tools", help="Skip checks for AI agent tools like Claude Code"),
871877
no_git: bool = typer.Option(False, "--no-git", help="Skip git repository initialization"),

0 commit comments

Comments
 (0)