Skip to content

Commit 3110452

Browse files
author
pengjiahan.pjh
committed
feat:support Qoder CLI
1 parent e6d6f3c commit 3110452

7 files changed

Lines changed: 41 additions & 12 deletions

File tree

.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-q-sh-"$VERSION".zip \

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,9 @@ build_variant() {
180180
codebuddy)
181181
mkdir -p "$base_dir/.codebuddy/commands"
182182
generate_commands codebuddy md "\$ARGUMENTS" "$base_dir/.codebuddy/commands" "$script" ;;
183+
qoder)
184+
mkdir -p "$base_dir/.qoder/commands"
185+
generate_commands qoder md "\$ARGUMENTS" "$base_dir/.qoder/commands" "$script" ;;
183186
amp)
184187
mkdir -p "$base_dir/.agents/commands"
185188
generate_commands amp md "\$ARGUMENTS" "$base_dir/.agents/commands" "$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 qoder amp q)
196199
ALL_SCRIPTS=(sh ps)
197200

198201
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

@@ -310,6 +311,7 @@ Require a command-line tool to be installed:
310311
- **opencode**: `opencode` CLI
311312
- **Amazon Q Developer CLI**: `q` CLI
312313
- **CodeBuddy CLI**: `codebuddy` CLI
314+
- **Qoder CLI**: `qoder` CLI
313315
- **Amp**: `amp` CLI
314316

315317
### IDE-Based Agents

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ 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://docs.qoder.com/cli) || |
139140
| [Claude Code](https://www.anthropic.com/claude-code) || |
140141
| [GitHub Copilot](https://code.visualstudio.com/) || |
141142
| [Gemini CLI](https://github.com/google-gemini/gemini-cli) || |
@@ -167,7 +168,7 @@ The `specify` command supports the following options:
167168
| Argument/Option | Type | Description |
168169
|------------------------|----------|------------------------------------------------------------------------------|
169170
| `<project-name>` | Argument | Name for your new project directory (optional if using `--here`, or use `.` for current directory) |
170-
| `--ai` | Option | AI assistant to use: `claude`, `gemini`, `copilot`, `cursor-agent`, `qwen`, `opencode`, `codex`, `windsurf`, `kilocode`, `auggie`, `roo`, `codebuddy`, `amp`, or `q` |
171+
| `--ai` | Option | AI assistant to use: `claude`, `gemini`, `copilot`, `cursor-agent`, `qwen`, `opencode`, `codex`, `windsurf`, `kilocode`, `auggie`, `roo`, `codebuddy`, `qoder`, `amp`, or `q` |
171172
| `--script` | Option | Script variant to use: `sh` (bash/zsh) or `ps` (PowerShell) |
172173
| `--ignore-agent-tools` | Flag | Skip checks for AI agent tools like Claude Code |
173174
| `--no-git` | Flag | Skip git repository initialization |
@@ -195,6 +196,9 @@ specify init my-project --ai windsurf
195196
# Initialize with Amp support
196197
specify init my-project --ai amp
197198

199+
# Initialize with Qoder support
200+
specify init my-project --ai qoder
201+
198202
# Initialize with PowerShell scripts (Windows/cross-platform)
199203
specify init my-project --ai copilot --script ps
200204

@@ -360,7 +364,7 @@ specify init . --force --ai claude
360364
specify init --here --force --ai claude
361365
```
362366

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:
367+
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:
364368

365369
```bash
366370
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, 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, 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|q
38+
# Agent types: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|qoder|q
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
Q_FILE="$REPO_ROOT/AGENTS.md"
7576

@@ -615,6 +616,9 @@ update_specific_agent() {
615616
codebuddy)
616617
update_agent_file "$CODEBUDDY_FILE" "CodeBuddy CLI"
617618
;;
619+
qoder)
620+
update_agent_file "$QODER_FILE" "Qoder CLI"
621+
;;
618622
amp)
619623
update_agent_file "$AMP_FILE" "Amp"
620624
;;
@@ -623,7 +627,7 @@ update_specific_agent() {
623627
;;
624628
*)
625629
log_error "Unknown agent type '$agent_type'"
626-
log_error "Expected: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|amp|q"
630+
log_error "Expected: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|qoder|amp|q"
627631
exit 1
628632
;;
629633
esac
@@ -688,6 +692,11 @@ update_all_existing_agents() {
688692
found_agent=true
689693
fi
690694

695+
if [[ -f "$QODER_FILE" ]]; then
696+
update_agent_file "$QODER_FILE" "Qoder CLI"
697+
found_agent=true
698+
fi
699+
691700
if [[ -f "$Q_FILE" ]]; then
692701
update_agent_file "$Q_FILE" "Amazon Q Developer CLI"
693702
found_agent=true
@@ -717,7 +726,7 @@ print_summary() {
717726

718727
echo
719728

720-
log_info "Usage: $0 [claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|codebuddy|q]"
729+
log_info "Usage: $0 [claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|codebuddy|qoder|q]"
721730
}
722731

723732
#==============================================================================

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, amp, q)
12+
5. Multi-Agent Support (claude, gemini, copilot, cursor-agent, qwen, opencode, codex, windsurf, kilocode, auggie, roo, qoder, amp, q)
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','q')]
28+
[ValidateSet('claude','gemini','copilot','cursor-agent','qwen','opencode','codex','windsurf','kilocode','auggie','roo','codebuddy','qoder','amp','q')]
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
$Q_FILE = Join-Path $REPO_ROOT 'AGENTS.md'
6061

@@ -380,9 +381,10 @@ function Update-SpecificAgent {
380381
'auggie' { Update-AgentFile -TargetFile $AUGGIE_FILE -AgentName 'Auggie CLI' }
381382
'roo' { Update-AgentFile -TargetFile $ROO_FILE -AgentName 'Roo Code' }
382383
'codebuddy' { Update-AgentFile -TargetFile $CODEBUDDY_FILE -AgentName 'CodeBuddy CLI' }
384+
'qoder' { Update-AgentFile -TargetFile $QODER_FILE -AgentName 'Qoder CLI' }
383385
'amp' { Update-AgentFile -TargetFile $AMP_FILE -AgentName 'Amp' }
384386
'q' { Update-AgentFile -TargetFile $Q_FILE -AgentName 'Amazon Q Developer CLI' }
385-
default { Write-Err "Unknown agent type '$Type'"; Write-Err 'Expected: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|q'; return $false }
387+
default { Write-Err "Unknown agent type '$Type'"; Write-Err 'Expected: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|qoder|amp|q'; return $false }
386388
}
387389
}
388390

@@ -400,6 +402,7 @@ function Update-AllExistingAgents {
400402
if (Test-Path $AUGGIE_FILE) { if (-not (Update-AgentFile -TargetFile $AUGGIE_FILE -AgentName 'Auggie CLI')) { $ok = $false }; $found = $true }
401403
if (Test-Path $ROO_FILE) { if (-not (Update-AgentFile -TargetFile $ROO_FILE -AgentName 'Roo Code')) { $ok = $false }; $found = $true }
402404
if (Test-Path $CODEBUDDY_FILE) { if (-not (Update-AgentFile -TargetFile $CODEBUDDY_FILE -AgentName 'CodeBuddy CLI')) { $ok = $false }; $found = $true }
405+
if (Test-Path $QODER_FILE) { if (-not (Update-AgentFile -TargetFile $QODER_FILE -AgentName 'Qoder CLI')) { $ok = $false }; $found = $true }
403406
if (Test-Path $Q_FILE) { if (-not (Update-AgentFile -TargetFile $Q_FILE -AgentName 'Amazon Q Developer CLI')) { $ok = $false }; $found = $true }
404407
if (-not $found) {
405408
Write-Info 'No existing agent files found, creating default Claude file...'
@@ -415,7 +418,7 @@ function Print-Summary {
415418
if ($NEW_FRAMEWORK) { Write-Host " - Added framework: $NEW_FRAMEWORK" }
416419
if ($NEW_DB -and $NEW_DB -ne 'N/A') { Write-Host " - Added database: $NEW_DB" }
417420
Write-Host ''
418-
Write-Info 'Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|q]'
421+
Write-Info 'Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|qoder|amp|q]'
419422
}
420423

421424
function Main {

src/specify_cli/__init__.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,12 @@ def _github_auth_headers(cli_token: str | None = None) -> dict:
132132
"install_url": "https://www.codebuddy.ai/cli",
133133
"requires_cli": True,
134134
},
135+
"qoder": {
136+
"name": "Qoder CLI",
137+
"folder": ".qoder/",
138+
"install_url": "https://qoder.com/cli",
139+
"requires_cli": True,
140+
},
135141
"roo": {
136142
"name": "Roo Code",
137143
"folder": ".roo/",
@@ -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, qoder, amp, 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)