Skip to content

Commit e588580

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 f205fa3 commit e588580

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
@@ -205,6 +205,9 @@ build_variant() {
205205
amp)
206206
mkdir -p "$base_dir/.agents/commands"
207207
generate_commands amp md "\$ARGUMENTS" "$base_dir/.agents/commands" "$script" ;;
208+
kiro)
209+
mkdir -p "$base_dir/.kiro/prompts"
210+
generate_commands kiro md "\$ARGUMENTS" "$base_dir/.kiro/prompts" "$script" ;;
208211
shai)
209212
mkdir -p "$base_dir/.shai/commands"
210213
generate_commands shai md "\$ARGUMENTS" "$base_dir/.shai/commands" "$script" ;;
@@ -217,7 +220,7 @@ build_variant() {
217220
}
218221

219222
# Determine agent list
220-
ALL_AGENTS=(claude gemini copilot cursor-agent qwen opencode windsurf codex kilocode auggie roo codebuddy amp shai q)
223+
ALL_AGENTS=(claude gemini copilot cursor-agent qwen opencode windsurf codex kilocode auggie roo codebuddy amp kiro shai q)
221224
ALL_SCRIPTS=(sh ps)
222225

223226
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
| [SHAI (OVHcloud)](https://github.com/ovh/shai) || |
154155

@@ -364,7 +365,7 @@ specify init . --force --ai claude
364365
specify init --here --force --ai claude
365366
```
366367

367-
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:
368+
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:
368369

369370
```bash
370371
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
@@ -208,6 +208,12 @@ def _format_rate_limit_error(status_code: int, headers: httpx.Headers, url: str)
208208
"install_url": "https://ampcode.com/manual#install",
209209
"requires_cli": True,
210210
},
211+
"kiro": {
212+
"name": "Kiro CLI",
213+
"folder": ".kiro/",
214+
"install_url": "https://kiro.dev/docs/cli/getting-started/",
215+
"requires_cli": True,
216+
},
211217
"shai": {
212218
"name": "SHAI",
213219
"folder": ".shai/",
@@ -933,7 +939,7 @@ def ensure_executable_scripts(project_path: Path, tracker: StepTracker | None =
933939
@app.command()
934940
def init(
935941
project_name: str = typer.Argument(None, help="Name for your new project directory (optional if using --here, or use '.' for current directory)"),
936-
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, shai, or q"),
942+
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, shai, or q"),
937943
script_type: str = typer.Option(None, "--script", help="Script type to use: sh or ps"),
938944
ignore_agent_tools: bool = typer.Option(False, "--ignore-agent-tools", help="Skip checks for AI agent tools like Claude Code"),
939945
no_git: bool = typer.Option(False, "--no-git", help="Skip git repository initialization"),

0 commit comments

Comments
 (0)