Skip to content

Commit 97dee3e

Browse files
authored
Merge pull request #825 from github/localden/updates
Spec Kit Updates (0.0.19)
2 parents 89f4b0b + aec5689 commit 97dee3e

File tree

11 files changed

+281
-191
lines changed

11 files changed

+281
-191
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ gh release create "$VERSION" \
3838
.genreleases/spec-kit-template-auggie-ps-"$VERSION".zip \
3939
.genreleases/spec-kit-template-roo-sh-"$VERSION".zip \
4040
.genreleases/spec-kit-template-roo-ps-"$VERSION".zip \
41+
.genreleases/spec-kit-template-codebuddy-sh-"$VERSION".zip \
42+
.genreleases/spec-kit-template-codebuddy-ps-"$VERSION".zip \
4143
.genreleases/spec-kit-template-q-sh-"$VERSION".zip \
4244
.genreleases/spec-kit-template-q-ps-"$VERSION".zip \
4345
--title "Spec Kit Templates - $VERSION_NO_V" \

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ generate_commands() {
9191

9292
case $ext in
9393
toml)
94+
body=$(printf '%s\n' "$body" | sed 's/\\/\\\\/g')
9495
{ echo "description = \"$description\""; echo; echo "prompt = \"\"\""; echo "$body"; echo "\"\"\""; } > "$output_dir/speckit.$name.$ext" ;;
9596
md)
9697
echo "$body" > "$output_dir/speckit.$name.$ext" ;;
@@ -176,6 +177,10 @@ build_variant() {
176177
roo)
177178
mkdir -p "$base_dir/.roo/commands"
178179
generate_commands roo md "\$ARGUMENTS" "$base_dir/.roo/commands" "$script" ;;
180+
codebuddy)
181+
mkdir -p "$base_dir/.codebuddy/commands"
182+
generate_commands codebuddy md "\$ARGUMENTS" "$base_dir/.codebuddy/commands" "$script" ;;
183+
179184
q)
180185
mkdir -p "$base_dir/.amazonq/prompts"
181186
generate_commands q md "\$ARGUMENTS" "$base_dir/.amazonq/prompts" "$script" ;;
@@ -185,10 +190,9 @@ build_variant() {
185190
}
186191

187192
# Determine agent list
188-
ALL_AGENTS=(claude gemini copilot cursor qwen opencode windsurf codex kilocode auggie roo q)
193+
ALL_AGENTS=(claude gemini copilot cursor qwen opencode windsurf codex kilocode auggie roo codebuddy q)
189194
ALL_SCRIPTS=(sh ps)
190195

191-
192196
norm_list() {
193197
# convert comma+space separated -> space separated unique while preserving order of first occurrence
194198
tr ',\n' ' ' | awk '{for(i=1;i<=NF;i++){if(!seen[$i]++){printf((out?" ":"") $i)}}}END{printf("\n")}'

AGENTS.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ Specify supports multiple AI agents by generating agent-specific command files a
3838
| **Qwen Code** | `.qwen/commands/` | TOML | `qwen` | Alibaba's Qwen Code CLI |
3939
| **opencode** | `.opencode/command/` | Markdown | `opencode` | opencode CLI |
4040
| **Windsurf** | `.windsurf/workflows/` | Markdown | N/A (IDE-based) | Windsurf IDE workflows |
41+
| **CodeBuddy** | `.codebuddy/commands/` | Markdown | `codebuddy` | CodeBuddy |
4142
| **Amazon Q Developer CLI** | `.amazonq/prompts/` | Markdown | `q` | Amazon Q Developer CLI |
4243

43-
4444
### Step-by-Step Integration Guide
4545

4646
Follow these steps to add a new agent (using Windsurf as an example):
@@ -58,7 +58,8 @@ AI_CHOICES = {
5858
"qwen": "Qwen Code",
5959
"opencode": "opencode",
6060
"windsurf": "Windsurf",
61-
"q": "Amazon Q Developer CLI" # Add new agent here
61+
"codebuddy": "CodeBuddy"
62+
"q": "Amazon Q Developer CLI"
6263
}
6364
```
6465

@@ -72,11 +73,12 @@ agent_folder_map = {
7273
"qwen": ".qwen/",
7374
"opencode": ".opencode/",
7475
"codex": ".codex/",
75-
"windsurf": ".windsurf/",
76+
"windsurf": ".windsurf/",
7677
"kilocode": ".kilocode/",
7778
"auggie": ".auggie/",
7879
"copilot": ".github/",
79-
"q": ".amazonq/" # Add new agent folder here
80+
"q": ".amazonq/",
81+
"codebuddy": ".codebuddy/"
8082
}
8183
```
8284

@@ -201,6 +203,7 @@ Require a command-line tool to be installed:
201203
- **Cursor**: `cursor-agent` CLI
202204
- **Qwen Code**: `qwen` CLI
203205
- **opencode**: `opencode` CLI
206+
- **CodeBuddy**: `codebuddy` CLI
204207

205208
### IDE-Based Agents
206209
Work within integrated development environments:

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,19 @@ All notable changes to the Specify CLI and templates are documented here.
77
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
88
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
99

10+
## [0.0.19] - 2025-10-10
11+
12+
### Added
13+
14+
- Support for CodeBuddy (thank you to [@lispking](https://github.com/lispking) for the contribution).
15+
- You can now see Git-sourced errors in the Specify CLI.
16+
17+
### Changed
18+
19+
- Fixed the path to the constitution in `plan.md` (thank you to [@lyzno1](https://github.com/lyzno1) for spotting).
20+
- Fixed backslash escapes in generated TOML files for Gemini (thank you to [@hsin19](https://github.com/hsin19) for the contribution).
21+
- Implementation command now ensures that the correct ignore files are added (thank you to [@sigent-amazon](https://github.com/sigent-amazon) for the contribution).
22+
1023
## [0.0.18] - 2025-10-06
1124

1225
### Added

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ Want to see Spec Kit in action? Watch our [video overview](https://www.youtube.c
137137
| [Windsurf](https://windsurf.com/) || |
138138
| [Kilo Code](https://github.com/Kilo-Org/kilocode) || |
139139
| [Auggie CLI](https://docs.augmentcode.com/cli/overview) || |
140+
| [CodeBuddy](https://www.codebuddy.ai/) || |
140141
| [Roo Code](https://roocode.com/) || |
141142
| [Codex CLI](https://github.com/openai/codex) || |
142143
| [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. |
@@ -157,7 +158,7 @@ The `specify` command supports the following options:
157158
| Argument/Option | Type | Description |
158159
|------------------------|----------|------------------------------------------------------------------------------|
159160
| `<project-name>` | Argument | Name for your new project directory (optional if using `--here`, or use `.` for current directory) |
160-
| `--ai` | Option | AI assistant to use: `claude`, `gemini`, `copilot`, `cursor`, `qwen`, `opencode`, `codex`, `windsurf`, `kilocode`, `auggie`, `roo`, or `q` |
161+
| `--ai` | Option | AI assistant to use: `claude`, `gemini`, `copilot`, `cursor`, `qwen`, `opencode`, `codex`, `windsurf`, `kilocode`, `auggie`, `roo`, `codebuddy`, or `q` |
161162
| `--script` | Option | Script variant to use: `sh` (bash/zsh) or `ps` (PowerShell) |
162163
| `--ignore-agent-tools` | Flag | Skip checks for AI agent tools like Claude Code |
163164
| `--no-git` | Flag | Skip git repository initialization |
@@ -177,7 +178,7 @@ specify init my-project
177178
specify init my-project --ai claude
178179

179180
# Initialize with Cursor support
180-
specify init my-project --ai cursor
181+
specify init my-project --ai cursor-agent
181182

182183
# Initialize with Windsurf support
183184
specify init my-project --ai windsurf

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "specify-cli"
3-
version = "0.0.18"
3+
version = "0.0.19"
44
description = "Specify CLI, part of GitHub Spec Kit. A tool to bootstrap your projects for Spec-Driven Development (SDD)."
55
requires-python = ">=3.11"
66
dependencies = [

scripts/bash/update-agent-context.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ WINDSURF_FILE="$REPO_ROOT/.windsurf/rules/specify-rules.md"
6969
KILOCODE_FILE="$REPO_ROOT/.kilocode/rules/specify-rules.md"
7070
AUGGIE_FILE="$REPO_ROOT/.augment/rules/specify-rules.md"
7171
ROO_FILE="$REPO_ROOT/.roo/rules/specify-rules.md"
72+
CODEBUDDY_FILE="$REPO_ROOT/.codebuddy/rules/specify-rules.md"
7273
Q_FILE="$REPO_ROOT/AGENTS.md"
7374

7475
# Template file
@@ -581,6 +582,9 @@ update_specific_agent() {
581582
roo)
582583
update_agent_file "$ROO_FILE" "Roo Code"
583584
;;
585+
codebuddy)
586+
update_agent_file "$CODEBUDDY_FILE" "CodeBuddy"
587+
;;
584588
q)
585589
update_agent_file "$Q_FILE" "Amazon Q Developer CLI"
586590
;;
@@ -646,6 +650,11 @@ update_all_existing_agents() {
646650
found_agent=true
647651
fi
648652

653+
if [[ -f "$CODEBUDDY_FILE" ]]; then
654+
update_agent_file "$CODEBUDDY_FILE" "CodeBuddy"
655+
found_agent=true
656+
fi
657+
649658
if [[ -f "$Q_FILE" ]]; then
650659
update_agent_file "$Q_FILE" "Amazon Q Developer CLI"
651660
found_agent=true
@@ -674,7 +683,8 @@ print_summary() {
674683
fi
675684

676685
echo
677-
log_info "Usage: $0 [claude|gemini|copilot|cursor|qwen|opencode|codex|windsurf|kilocode|auggie|q]"
686+
687+
log_info "Usage: $0 [claude|gemini|copilot|cursor|qwen|opencode|codex|windsurf|kilocode|auggie|codebuddy|q]"
678688
}
679689

680690
#==============================================================================

scripts/powershell/update-agent-context.ps1

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Relies on common helper functions in common.ps1
2525
#>
2626
param(
2727
[Parameter(Position=0)]
28-
[ValidateSet('claude','gemini','copilot','cursor','qwen','opencode','codex','windsurf','kilocode','auggie','roo','q')]
28+
[ValidateSet('claude','gemini','copilot','cursor','qwen','opencode','codex','windsurf','kilocode','auggie','roo','codebuddy','q')]
2929
[string]$AgentType
3030
)
3131

@@ -54,6 +54,7 @@ $WINDSURF_FILE = Join-Path $REPO_ROOT '.windsurf/rules/specify-rules.md'
5454
$KILOCODE_FILE = Join-Path $REPO_ROOT '.kilocode/rules/specify-rules.md'
5555
$AUGGIE_FILE = Join-Path $REPO_ROOT '.augment/rules/specify-rules.md'
5656
$ROO_FILE = Join-Path $REPO_ROOT '.roo/rules/specify-rules.md'
57+
$CODEBUDDY_FILE = Join-Path $REPO_ROOT '.codebuddy/rules/specify-rules.md'
5758
$Q_FILE = Join-Path $REPO_ROOT 'AGENTS.md'
5859

5960
$TEMPLATE_FILE = Join-Path $REPO_ROOT '.specify/templates/agent-file-template.md'
@@ -377,8 +378,9 @@ function Update-SpecificAgent {
377378
'kilocode' { Update-AgentFile -TargetFile $KILOCODE_FILE -AgentName 'Kilo Code' }
378379
'auggie' { Update-AgentFile -TargetFile $AUGGIE_FILE -AgentName 'Auggie CLI' }
379380
'roo' { Update-AgentFile -TargetFile $ROO_FILE -AgentName 'Roo Code' }
381+
'codebuddy' { Update-AgentFile -TargetFile $CODEBUDDY_FILE -AgentName 'CodeBuddy' }
380382
'q' { Update-AgentFile -TargetFile $Q_FILE -AgentName 'Amazon Q Developer CLI' }
381-
default { Write-Err "Unknown agent type '$Type'"; Write-Err 'Expected: claude|gemini|copilot|cursor|qwen|opencode|codex|windsurf|kilocode|auggie|roo|q'; return $false }
383+
default { Write-Err "Unknown agent type '$Type'"; Write-Err 'Expected: claude|gemini|copilot|cursor|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|q'; return $false }
382384
}
383385
}
384386

@@ -395,6 +397,7 @@ function Update-AllExistingAgents {
395397
if (Test-Path $KILOCODE_FILE) { if (-not (Update-AgentFile -TargetFile $KILOCODE_FILE -AgentName 'Kilo Code')) { $ok = $false }; $found = $true }
396398
if (Test-Path $AUGGIE_FILE) { if (-not (Update-AgentFile -TargetFile $AUGGIE_FILE -AgentName 'Auggie CLI')) { $ok = $false }; $found = $true }
397399
if (Test-Path $ROO_FILE) { if (-not (Update-AgentFile -TargetFile $ROO_FILE -AgentName 'Roo Code')) { $ok = $false }; $found = $true }
400+
if (Test-Path $CODEBUDDY_FILE) { if (-not (Update-AgentFile -TargetFile $CODEBUDDY_FILE -AgentName 'CodeBuddy')) { $ok = $false }; $found = $true }
398401
if (Test-Path $Q_FILE) { if (-not (Update-AgentFile -TargetFile $Q_FILE -AgentName 'Amazon Q Developer CLI')) { $ok = $false }; $found = $true }
399402
if (-not $found) {
400403
Write-Info 'No existing agent files found, creating default Claude file...'
@@ -410,7 +413,7 @@ function Print-Summary {
410413
if ($NEW_FRAMEWORK) { Write-Host " - Added framework: $NEW_FRAMEWORK" }
411414
if ($NEW_DB -and $NEW_DB -ne 'N/A') { Write-Host " - Added database: $NEW_DB" }
412415
Write-Host ''
413-
Write-Info 'Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor|qwen|opencode|codex|windsurf|kilocode|auggie|roo|q]'
416+
Write-Info 'Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|q]'
414417
}
415418

416419
function Main {

0 commit comments

Comments
 (0)