Skip to content

Commit 2cd4849

Browse files
committed
Add Kiro CLI to release script and agent context update scripts
1 parent e588580 commit 2cd4849

File tree

4 files changed

+17
-1
lines changed

4 files changed

+17
-1
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ gh release create "$VERSION" \
4242
.genreleases/spec-kit-template-codebuddy-ps-"$VERSION".zip \
4343
.genreleases/spec-kit-template-amp-sh-"$VERSION".zip \
4444
.genreleases/spec-kit-template-amp-ps-"$VERSION".zip \
45+
.genreleases/spec-kit-template-kiro-sh-"$VERSION".zip \
46+
.genreleases/spec-kit-template-kiro-ps-"$VERSION".zip \
4547
.genreleases/spec-kit-template-shai-sh-"$VERSION".zip \
4648
.genreleases/spec-kit-template-shai-ps-"$VERSION".zip \
4749
.genreleases/spec-kit-template-q-sh-"$VERSION".zip \

AGENTS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Specify supports multiple AI agents by generating agent-specific command files a
4444
| **Roo Code** | `.roo/rules/` | Markdown | N/A (IDE-based) | Roo Code IDE |
4545
| **CodeBuddy CLI** | `.codebuddy/commands/` | Markdown | `codebuddy` | CodeBuddy CLI |
4646
| **Amazon Q Developer CLI** | `.amazonq/prompts/` | Markdown | `q` | Amazon Q Developer CLI |
47+
| **Kiro CLI** | `.kiro/prompts/` | Markdown | `kiro` | Kiro CLI |
4748
| **Amp** | `.agents/commands/` | Markdown | `amp` | Amp CLI |
4849
| **SHAI** | `.shai/commands/` | Markdown | `shai` | SHAI CLI |
4950

@@ -310,6 +311,7 @@ Require a command-line tool to be installed:
310311
- **Qwen Code**: `qwen` CLI
311312
- **opencode**: `opencode` CLI
312313
- **Amazon Q Developer CLI**: `q` CLI
314+
- **Kiro CLI**: `kiro` CLI
313315
- **CodeBuddy CLI**: `codebuddy` CLI
314316
- **Amp**: `amp` CLI
315317
- **SHAI**: `shai` CLI

scripts/bash/update-agent-context.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ AUGGIE_FILE="$REPO_ROOT/.augment/rules/specify-rules.md"
7171
ROO_FILE="$REPO_ROOT/.roo/rules/specify-rules.md"
7272
CODEBUDDY_FILE="$REPO_ROOT/CODEBUDDY.md"
7373
AMP_FILE="$REPO_ROOT/AGENTS.md"
74+
KIRO_FILE="$REPO_ROOT/.kiro/prompts/specify-prompts.md"
7475
SHAI_FILE="$REPO_ROOT/SHAI.md"
7576
Q_FILE="$REPO_ROOT/AGENTS.md"
7677

@@ -619,6 +620,9 @@ update_specific_agent() {
619620
amp)
620621
update_agent_file "$AMP_FILE" "Amp"
621622
;;
623+
kiro)
624+
update_agent_file "$KIRO_FILE" "Kiro CLI"
625+
;;
622626
shai)
623627
update_agent_file "$SHAI_FILE" "SHAI"
624628
;;
@@ -692,6 +696,11 @@ update_all_existing_agents() {
692696
found_agent=true
693697
fi
694698

699+
if [[ -f "$KIRO_FILE" ]]; then
700+
update_agent_file "$KIRO_FILE" "Kiro CLI"
701+
found_agent=true
702+
fi
703+
695704
if [[ -f "$SHAI_FILE" ]]; then
696705
update_agent_file "$SHAI_FILE" "SHAI"
697706
found_agent=true

scripts/powershell/update-agent-context.ps1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ $AUGGIE_FILE = Join-Path $REPO_ROOT '.augment/rules/specify-rules.md'
5656
$ROO_FILE = Join-Path $REPO_ROOT '.roo/rules/specify-rules.md'
5757
$CODEBUDDY_FILE = Join-Path $REPO_ROOT 'CODEBUDDY.md'
5858
$AMP_FILE = Join-Path $REPO_ROOT 'AGENTS.md'
59+
$KIRO_FILE = Join-Path $REPO_ROOT '.kiro/prompts/specify-prompts.md'
5960
$SHAI_FILE = Join-Path $REPO_ROOT 'SHAI.md'
6061
$Q_FILE = Join-Path $REPO_ROOT 'AGENTS.md'
6162

@@ -382,9 +383,10 @@ function Update-SpecificAgent {
382383
'roo' { Update-AgentFile -TargetFile $ROO_FILE -AgentName 'Roo Code' }
383384
'codebuddy' { Update-AgentFile -TargetFile $CODEBUDDY_FILE -AgentName 'CodeBuddy CLI' }
384385
'amp' { Update-AgentFile -TargetFile $AMP_FILE -AgentName 'Amp' }
386+
'kiro' { Update-AgentFile -TargetFile $KIRO_FILE -AgentName 'Kiro CLI' }
385387
'shai' { Update-AgentFile -TargetFile $SHAI_FILE -AgentName 'SHAI' }
386388
'q' { Update-AgentFile -TargetFile $Q_FILE -AgentName 'Amazon Q Developer CLI' }
387-
default { Write-Err "Unknown agent type '$Type'"; Write-Err 'Expected: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|q'; return $false }
389+
default { Write-Err "Unknown agent type '$Type'"; Write-Err 'Expected: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|kiro|shai|q'; return $false }
388390
}
389391
}
390392

@@ -402,6 +404,7 @@ function Update-AllExistingAgents {
402404
if (Test-Path $AUGGIE_FILE) { if (-not (Update-AgentFile -TargetFile $AUGGIE_FILE -AgentName 'Auggie CLI')) { $ok = $false }; $found = $true }
403405
if (Test-Path $ROO_FILE) { if (-not (Update-AgentFile -TargetFile $ROO_FILE -AgentName 'Roo Code')) { $ok = $false }; $found = $true }
404406
if (Test-Path $CODEBUDDY_FILE) { if (-not (Update-AgentFile -TargetFile $CODEBUDDY_FILE -AgentName 'CodeBuddy CLI')) { $ok = $false }; $found = $true }
407+
if (Test-Path $KIRO_FILE) { if (-not (Update-AgentFile -TargetFile $KIRO_FILE -AgentName 'Kiro CLI')) { $ok = $false }; $found = $true }
405408
if (Test-Path $SHAI_FILE) { if (-not (Update-AgentFile -TargetFile $SHAI_FILE -AgentName 'SHAI')) { $ok = $false }; $found = $true }
406409
if (Test-Path $Q_FILE) { if (-not (Update-AgentFile -TargetFile $Q_FILE -AgentName 'Amazon Q Developer CLI')) { $ok = $false }; $found = $true }
407410
if (-not $found) {

0 commit comments

Comments
 (0)