Skip to content

Commit 1c7b09d

Browse files
authored
Merge pull request #1122 from KUTEJiang/main
feat:support Qoder CLI
2 parents 3963c2e + 5a39f63 commit 1c7b09d

File tree

8 files changed

+50
-17
lines changed

8 files changed

+50
-17
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ gh release create "$VERSION" \
4040
.genreleases/spec-kit-template-roo-ps-"$VERSION".zip \
4141
.genreleases/spec-kit-template-codebuddy-sh-"$VERSION".zip \
4242
.genreleases/spec-kit-template-codebuddy-ps-"$VERSION".zip \
43+
.genreleases/spec-kit-template-qoder-sh-"$VERSION".zip \
44+
.genreleases/spec-kit-template-qoder-ps-"$VERSION".zip \
4345
.genreleases/spec-kit-template-amp-sh-"$VERSION".zip \
4446
.genreleases/spec-kit-template-amp-ps-"$VERSION".zip \
4547
.genreleases/spec-kit-template-shai-sh-"$VERSION".zip \

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
1515
.PARAMETER Agents
1616
Comma or space separated subset of agents to build (default: all)
17-
Valid agents: claude, gemini, copilot, cursor-agent, qwen, opencode, windsurf, codex, kilocode, auggie, roo, codebuddy, amp, q, bob
17+
Valid agents: claude, gemini, copilot, cursor-agent, qwen, opencode, windsurf, codex, kilocode, auggie, roo, codebuddy, amp, q, bob, qoder
1818
1919
.PARAMETER Scripts
2020
Comma or space separated subset of script types to build (default: both)
@@ -343,6 +343,10 @@ function Build-Variant {
343343
$cmdDir = Join-Path $baseDir ".bob/commands"
344344
Generate-Commands -Agent 'bob' -Extension 'md' -ArgFormat '$ARGUMENTS' -OutputDir $cmdDir -ScriptVariant $Script
345345
}
346+
'qoder' {
347+
$cmdDir = Join-Path $baseDir ".qoder/commands"
348+
Generate-Commands -Agent 'qoder' -Extension 'md' -ArgFormat '$ARGUMENTS' -OutputDir $cmdDir -ScriptVariant $Script
349+
}
346350
}
347351

348352
# Create zip archive
@@ -352,7 +356,7 @@ function Build-Variant {
352356
}
353357

354358
# Define all agents and scripts
355-
$AllAgents = @('claude', 'gemini', 'copilot', 'cursor-agent', 'qwen', 'opencode', 'windsurf', 'codex', 'kilocode', 'auggie', 'roo', 'codebuddy', 'amp', 'q', 'bob')
359+
$AllAgents = @('claude', 'gemini', 'copilot', 'cursor-agent', 'qwen', 'opencode', 'windsurf', 'codex', 'kilocode', 'auggie', 'roo', 'codebuddy', 'amp', 'q', 'bob', 'qoder')
356360
$AllScripts = @('sh', 'ps')
357361

358362
function Normalize-List {
@@ -417,4 +421,4 @@ foreach ($agent in $AgentList) {
417421
Write-Host "`nArchives in ${GenReleasesDir}:"
418422
Get-ChildItem -Path $GenReleasesDir -Filter "spec-kit-template-*-${Version}.zip" | ForEach-Object {
419423
Write-Host " $($_.Name)"
420-
}
424+
}

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,9 @@ build_variant() {
202202
codebuddy)
203203
mkdir -p "$base_dir/.codebuddy/commands"
204204
generate_commands codebuddy md "\$ARGUMENTS" "$base_dir/.codebuddy/commands" "$script" ;;
205+
qoder)
206+
mkdir -p "$base_dir/.qoder/commands"
207+
generate_commands qoder md "\$ARGUMENTS" "$base_dir/.qoder/commands" "$script" ;;
205208
amp)
206209
mkdir -p "$base_dir/.agents/commands"
207210
generate_commands amp md "\$ARGUMENTS" "$base_dir/.agents/commands" "$script" ;;
@@ -220,7 +223,7 @@ build_variant() {
220223
}
221224

222225
# Determine agent list
223-
ALL_AGENTS=(claude gemini copilot cursor-agent qwen opencode windsurf codex kilocode auggie roo codebuddy amp shai q bob)
226+
ALL_AGENTS=(claude gemini copilot cursor-agent qwen opencode windsurf codex kilocode auggie roo codebuddy amp shai q bob qoder)
224227
ALL_SCRIPTS=(sh ps)
225228

226229
norm_list() {

AGENTS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ Specify supports multiple AI agents by generating agent-specific command files a
4343
| **Auggie CLI** | `.augment/rules/` | Markdown | `auggie` | Auggie CLI |
4444
| **Roo Code** | `.roo/rules/` | Markdown | N/A (IDE-based) | Roo Code IDE |
4545
| **CodeBuddy CLI** | `.codebuddy/commands/` | Markdown | `codebuddy` | CodeBuddy CLI |
46+
| **Qoder CLI** | `.qoder/commands/` | Markdown | `qoder` | Qoder CLI |
4647
| **Amazon Q Developer CLI** | `.amazonq/prompts/` | Markdown | `q` | Amazon Q Developer CLI |
4748
| **Amp** | `.agents/commands/` | Markdown | `amp` | Amp CLI |
4849
| **SHAI** | `.shai/commands/` | Markdown | `shai` | SHAI CLI |
@@ -312,6 +313,7 @@ Require a command-line tool to be installed:
312313
- **opencode**: `opencode` CLI
313314
- **Amazon Q Developer CLI**: `q` CLI
314315
- **CodeBuddy CLI**: `codebuddy` CLI
316+
- **Qoder CLI**: `qoder` CLI
315317
- **Amp**: `amp` CLI
316318
- **SHAI**: `shai` CLI
317319

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,10 @@ Want to see Spec Kit in action? Watch our [video overview](https://www.youtube.c
136136

137137
| Agent | Support | Notes |
138138
|-----------------------------------------------------------|---------|---------------------------------------------------|
139+
| [Qoder CLI](https://qoder.com/cli) || |
139140
| [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. |
140141
| [Amp](https://ampcode.com/) || |
141-
| [Auggie CLI](https://docs.augmentcode.com/cli/overview) || |
142+
| [Auggie CLI](https://docs.augmentcode.com/cli/overview) || |
142143
| [Claude Code](https://www.anthropic.com/claude-code) || |
143144
| [CodeBuddy CLI](https://www.codebuddy.ai/cli) || |
144145
| [Codex CLI](https://github.com/openai/codex) || |
@@ -163,14 +164,14 @@ The `specify` command supports the following options:
163164
| Command | Description |
164165
|-------------|----------------------------------------------------------------|
165166
| `init` | Initialize a new Specify project from the latest template |
166-
| `check` | Check for installed tools (`git`, `claude`, `gemini`, `code`/`code-insiders`, `cursor-agent`, `windsurf`, `qwen`, `opencode`, `codex`, `shai`) |
167+
| `check` | Check for installed tools (`git`, `claude`, `gemini`, `code`/`code-insiders`, `cursor-agent`, `windsurf`, `qwen`, `opencode`, `codex`, `shai`, `qoder`) |
167168

168169
### `specify init` Arguments & Options
169170

170171
| Argument/Option | Type | Description |
171172
|------------------------|----------|------------------------------------------------------------------------------|
172173
| `<project-name>` | Argument | Name for your new project directory (optional if using `--here`, or use `.` for current directory) |
173-
| `--ai` | Option | AI assistant to use: `claude`, `gemini`, `copilot`, `cursor-agent`, `qwen`, `opencode`, `codex`, `windsurf`, `kilocode`, `auggie`, `roo`, `codebuddy`, `amp`, `shai`, `q`, or `bob` |
174+
| `--ai` | Option | AI assistant to use: `claude`, `gemini`, `copilot`, `cursor-agent`, `qwen`, `opencode`, `codex`, `windsurf`, `kilocode`, `auggie`, `roo`, `codebuddy`, `amp`, `shai`, `q`, `bob`, or `qoder` |
174175
| `--script` | Option | Script variant to use: `sh` (bash/zsh) or `ps` (PowerShell) |
175176
| `--ignore-agent-tools` | Flag | Skip checks for AI agent tools like Claude Code |
176177
| `--no-git` | Flag | Skip git repository initialization |
@@ -192,6 +193,9 @@ specify init my-project --ai claude
192193
# Initialize with Cursor support
193194
specify init my-project --ai cursor-agent
194195

196+
# Initialize with Qoder support
197+
specify init my-project --ai qoder
198+
195199
# Initialize with Windsurf support
196200
specify init my-project --ai windsurf
197201

@@ -369,7 +373,7 @@ specify init . --force --ai claude
369373
specify init --here --force --ai claude
370374
```
371375

372-
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:
376+
The CLI will check if you have Claude Code, Gemini CLI, Cursor CLI, Qwen CLI, opencode, Codex CLI, Qoder 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:
373377

374378
```bash
375379
specify init <project_name> --ai claude --ignore-agent-tools

scripts/bash/update-agent-context.sh

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@
3030
#
3131
# 5. Multi-Agent Support
3232
# - Handles agent-specific file paths and naming conventions
33-
# - Supports: Claude, Gemini, Copilot, Cursor, Qwen, opencode, Codex, Windsurf, Kilo Code, Auggie CLI, Roo Code, CodeBuddy CLI, Amp, SHAI, or Amazon Q Developer CLI
33+
# - Supports: Claude, Gemini, Copilot, Cursor, Qwen, opencode, Codex, Windsurf, Kilo Code, Auggie CLI, Roo Code, CodeBuddy CLI, Qoder CLI, Amp, SHAI, or Amazon Q Developer CLI
3434
# - Can update single agents or all existing agent files
3535
# - Creates default Claude file if no agent files exist
3636
#
3737
# Usage: ./update-agent-context.sh [agent_type]
38-
# Agent types: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|shai|q|bob
38+
# Agent types: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|shai|q|bob|qoder
3939
# Leave empty to update all existing agent files
4040

4141
set -e
@@ -70,6 +70,7 @@ 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"
7272
CODEBUDDY_FILE="$REPO_ROOT/CODEBUDDY.md"
73+
QODER_FILE="$REPO_ROOT/QODER.md"
7374
AMP_FILE="$REPO_ROOT/AGENTS.md"
7475
SHAI_FILE="$REPO_ROOT/SHAI.md"
7576
Q_FILE="$REPO_ROOT/AGENTS.md"
@@ -617,6 +618,9 @@ update_specific_agent() {
617618
codebuddy)
618619
update_agent_file "$CODEBUDDY_FILE" "CodeBuddy CLI"
619620
;;
621+
qoder)
622+
update_agent_file "$QODER_FILE" "Qoder CLI"
623+
;;
620624
amp)
621625
update_agent_file "$AMP_FILE" "Amp"
622626
;;
@@ -631,7 +635,7 @@ update_specific_agent() {
631635
;;
632636
*)
633637
log_error "Unknown agent type '$agent_type'"
634-
log_error "Expected: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|amp|shai|q|bob"
638+
log_error "Expected: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|amp|shai|q|bob|qoder"
635639
exit 1
636640
;;
637641
esac
@@ -701,6 +705,11 @@ update_all_existing_agents() {
701705
found_agent=true
702706
fi
703707

708+
if [[ -f "$QODER_FILE" ]]; then
709+
update_agent_file "$QODER_FILE" "Qoder CLI"
710+
found_agent=true
711+
fi
712+
704713
if [[ -f "$Q_FILE" ]]; then
705714
update_agent_file "$Q_FILE" "Amazon Q Developer CLI"
706715
found_agent=true
@@ -735,7 +744,7 @@ print_summary() {
735744

736745
echo
737746

738-
log_info "Usage: $0 [claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|codebuddy|shai|q|bob]"
747+
log_info "Usage: $0 [claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|codebuddy|shai|q|bob|qoder]"
739748
}
740749

741750
#==============================================================================

scripts/powershell/update-agent-context.ps1

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Mirrors the behavior of scripts/bash/update-agent-context.sh:
99
2. Plan Data Extraction
1010
3. Agent File Management (create from template or update existing)
1111
4. Content Generation (technology stack, recent changes, timestamp)
12-
5. Multi-Agent Support (claude, gemini, copilot, cursor-agent, qwen, opencode, codex, windsurf, kilocode, auggie, roo, codebuddy, amp, shai, q, bob)
12+
5. Multi-Agent Support (claude, gemini, copilot, cursor-agent, qwen, opencode, codex, windsurf, kilocode, auggie, roo, codebuddy, amp, shai, q, bob, qoder)
1313
1414
.PARAMETER AgentType
1515
Optional agent key to update a single agent. If omitted, updates all existing agent files (creating a default Claude file if none exist).
@@ -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-agent','qwen','opencode','codex','windsurf','kilocode','auggie','roo','codebuddy','amp','shai','q','bob')]
28+
[ValidateSet('claude','gemini','copilot','cursor-agent','qwen','opencode','codex','windsurf','kilocode','auggie','roo','codebuddy','amp','shai','q','bob','qoder')]
2929
[string]$AgentType
3030
)
3131

@@ -55,6 +55,7 @@ $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'
5757
$CODEBUDDY_FILE = Join-Path $REPO_ROOT 'CODEBUDDY.md'
58+
$QODER_FILE = Join-Path $REPO_ROOT 'QODER.md'
5859
$AMP_FILE = Join-Path $REPO_ROOT 'AGENTS.md'
5960
$SHAI_FILE = Join-Path $REPO_ROOT 'SHAI.md'
6061
$Q_FILE = Join-Path $REPO_ROOT 'AGENTS.md'
@@ -382,11 +383,12 @@ function Update-SpecificAgent {
382383
'auggie' { Update-AgentFile -TargetFile $AUGGIE_FILE -AgentName 'Auggie CLI' }
383384
'roo' { Update-AgentFile -TargetFile $ROO_FILE -AgentName 'Roo Code' }
384385
'codebuddy' { Update-AgentFile -TargetFile $CODEBUDDY_FILE -AgentName 'CodeBuddy CLI' }
386+
'qoder' { Update-AgentFile -TargetFile $QODER_FILE -AgentName 'Qoder CLI' }
385387
'amp' { Update-AgentFile -TargetFile $AMP_FILE -AgentName 'Amp' }
386388
'shai' { Update-AgentFile -TargetFile $SHAI_FILE -AgentName 'SHAI' }
387389
'q' { Update-AgentFile -TargetFile $Q_FILE -AgentName 'Amazon Q Developer CLI' }
388390
'bob' { Update-AgentFile -TargetFile $BOB_FILE -AgentName 'IBM Bob' }
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|shai|q|bob'; return $false }
391+
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|bob|qoder'; return $false }
390392
}
391393
}
392394

@@ -404,6 +406,7 @@ function Update-AllExistingAgents {
404406
if (Test-Path $AUGGIE_FILE) { if (-not (Update-AgentFile -TargetFile $AUGGIE_FILE -AgentName 'Auggie CLI')) { $ok = $false }; $found = $true }
405407
if (Test-Path $ROO_FILE) { if (-not (Update-AgentFile -TargetFile $ROO_FILE -AgentName 'Roo Code')) { $ok = $false }; $found = $true }
406408
if (Test-Path $CODEBUDDY_FILE) { if (-not (Update-AgentFile -TargetFile $CODEBUDDY_FILE -AgentName 'CodeBuddy CLI')) { $ok = $false }; $found = $true }
409+
if (Test-Path $QODER_FILE) { if (-not (Update-AgentFile -TargetFile $QODER_FILE -AgentName 'Qoder CLI')) { $ok = $false }; $found = $true }
407410
if (Test-Path $SHAI_FILE) { if (-not (Update-AgentFile -TargetFile $SHAI_FILE -AgentName 'SHAI')) { $ok = $false }; $found = $true }
408411
if (Test-Path $Q_FILE) { if (-not (Update-AgentFile -TargetFile $Q_FILE -AgentName 'Amazon Q Developer CLI')) { $ok = $false }; $found = $true }
409412
if (Test-Path $BOB_FILE) { if (-not (Update-AgentFile -TargetFile $BOB_FILE -AgentName 'IBM Bob')) { $ok = $false }; $found = $true }
@@ -421,7 +424,7 @@ function Print-Summary {
421424
if ($NEW_FRAMEWORK) { Write-Host " - Added framework: $NEW_FRAMEWORK" }
422425
if ($NEW_DB -and $NEW_DB -ne 'N/A') { Write-Host " - Added database: $NEW_DB" }
423426
Write-Host ''
424-
Write-Info 'Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|q|bob]'
427+
Write-Info 'Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|q|bob|qoder]'
425428
}
426429

427430
function Main {

src/specify_cli/__init__.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,12 @@ def _format_rate_limit_error(status_code: int, headers: httpx.Headers, url: str)
190190
"install_url": "https://www.codebuddy.ai/cli",
191191
"requires_cli": True,
192192
},
193+
"qoder": {
194+
"name": "Qoder CLI",
195+
"folder": ".qoder/",
196+
"install_url": "https://qoder.com/cli",
197+
"requires_cli": True,
198+
},
193199
"roo": {
194200
"name": "Roo Code",
195201
"folder": ".roo/",
@@ -939,7 +945,7 @@ def ensure_executable_scripts(project_path: Path, tracker: StepTracker | None =
939945
@app.command()
940946
def init(
941947
project_name: str = typer.Argument(None, help="Name for your new project directory (optional if using --here, or use '.' for current directory)"),
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, shai, q, or bob"),
948+
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, q, bob, or qoder "),
943949
script_type: str = typer.Option(None, "--script", help="Script type to use: sh or ps"),
944950
ignore_agent_tools: bool = typer.Option(False, "--ignore-agent-tools", help="Skip checks for AI agent tools like Claude Code"),
945951
no_git: bool = typer.Option(False, "--no-git", help="Skip git repository initialization"),

0 commit comments

Comments
 (0)