mirror of
https://github.com/github/spec-kit.git
synced 2026-02-02 22:13:36 +00:00
feat: support codebuddy ai
This commit is contained in:
@@ -106,6 +106,7 @@ Want to see Spec Kit in action? Watch our [video overview](https://www.youtube.c
|
|||||||
| [Windsurf](https://windsurf.com/) | ✅ | |
|
| [Windsurf](https://windsurf.com/) | ✅ | |
|
||||||
| [Kilo Code](https://github.com/Kilo-Org/kilocode) | ✅ | |
|
| [Kilo Code](https://github.com/Kilo-Org/kilocode) | ✅ | |
|
||||||
| [Auggie CLI](https://docs.augmentcode.com/cli/overview) | ✅ | |
|
| [Auggie CLI](https://docs.augmentcode.com/cli/overview) | ✅ | |
|
||||||
|
| [CodeBuddy Code](https://cnb.cool/codebuddy/codebuddy-code) | ✅ | |
|
||||||
| [Codex CLI](https://github.com/openai/codex) | ⚠️ | Codex [does not support](https://github.com/openai/codex/issues/2890) custom arguments for slash commands. |
|
| [Codex CLI](https://github.com/openai/codex) | ⚠️ | Codex [does not support](https://github.com/openai/codex/issues/2890) custom arguments for slash commands. |
|
||||||
|
|
||||||
## 🔧 Specify CLI Reference
|
## 🔧 Specify CLI Reference
|
||||||
@@ -124,7 +125,7 @@ The `specify` command supports the following options:
|
|||||||
| Argument/Option | Type | Description |
|
| Argument/Option | Type | Description |
|
||||||
|------------------------|----------|------------------------------------------------------------------------------|
|
|------------------------|----------|------------------------------------------------------------------------------|
|
||||||
| `<project-name>` | Argument | Name for your new project directory (optional if using `--here`) |
|
| `<project-name>` | Argument | Name for your new project directory (optional if using `--here`) |
|
||||||
| `--ai` | Option | AI assistant to use: `claude`, `gemini`, `copilot`, `cursor`, `qwen`, `opencode`, `codex`, `windsurf`, `kilocode`, or `auggie` |
|
| `--ai` | Option | AI assistant to use: `claude`, `gemini`, `copilot`, `cursor`, `qwen`, `opencode`, `codex`, `windsurf`, `kilocode`, `auggie`, or `codebuddy` |
|
||||||
| `--script` | Option | Script variant to use: `sh` (bash/zsh) or `ps` (PowerShell) |
|
| `--script` | Option | Script variant to use: `sh` (bash/zsh) or `ps` (PowerShell) |
|
||||||
| `--ignore-agent-tools` | Flag | Skip checks for AI agent tools like Claude Code |
|
| `--ignore-agent-tools` | Flag | Skip checks for AI agent tools like Claude Code |
|
||||||
| `--no-git` | Flag | Skip git repository initialization |
|
| `--no-git` | Flag | Skip git repository initialization |
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ AI_CHOICES = {
|
|||||||
"windsurf": "Windsurf",
|
"windsurf": "Windsurf",
|
||||||
"kilocode": "Kilo Code",
|
"kilocode": "Kilo Code",
|
||||||
"auggie": "Auggie CLI",
|
"auggie": "Auggie CLI",
|
||||||
|
"codebuddy": "CodeBuddy Code",
|
||||||
}
|
}
|
||||||
# Add script type choices
|
# Add script type choices
|
||||||
SCRIPT_TYPE_CHOICES = {"sh": "POSIX Shell (bash/zsh)", "ps": "PowerShell"}
|
SCRIPT_TYPE_CHOICES = {"sh": "POSIX Shell (bash/zsh)", "ps": "PowerShell"}
|
||||||
@@ -777,11 +778,13 @@ def init(
|
|||||||
specify init my-project --ai opencode
|
specify init my-project --ai opencode
|
||||||
specify init my-project --ai codex
|
specify init my-project --ai codex
|
||||||
specify init my-project --ai windsurf
|
specify init my-project --ai windsurf
|
||||||
|
specify init my-project --ai kilocode
|
||||||
specify init my-project --ai auggie
|
specify init my-project --ai auggie
|
||||||
|
specify init my-project --ai codebuddy
|
||||||
specify init --ignore-agent-tools my-project
|
specify init --ignore-agent-tools my-project
|
||||||
specify init --here --ai claude
|
specify init --here --ai claude
|
||||||
specify init --here --ai codex
|
specify init --here --ai codex
|
||||||
specify init --here
|
specify init --here --ai codebuddy
|
||||||
"""
|
"""
|
||||||
# Show banner first
|
# Show banner first
|
||||||
show_banner()
|
show_banner()
|
||||||
@@ -892,6 +895,10 @@ def init(
|
|||||||
if not check_tool("auggie", "https://docs.augmentcode.com/cli/setup-auggie/install-auggie-cli"):
|
if not check_tool("auggie", "https://docs.augmentcode.com/cli/setup-auggie/install-auggie-cli"):
|
||||||
install_url = "https://docs.augmentcode.com/cli/setup-auggie/install-auggie-cli"
|
install_url = "https://docs.augmentcode.com/cli/setup-auggie/install-auggie-cli"
|
||||||
agent_tool_missing = True
|
agent_tool_missing = True
|
||||||
|
elif selected_ai == "codebuddy":
|
||||||
|
if not check_tool("codebuddy", "https://cnb.cool/codebuddy/codebuddy-code"):
|
||||||
|
install_url = "https://cnb.cool/codebuddy/codebuddy-code"
|
||||||
|
agent_tool_missing = True
|
||||||
# GitHub Copilot and Cursor checks are not needed as they're typically available in supported IDEs
|
# GitHub Copilot and Cursor checks are not needed as they're typically available in supported IDEs
|
||||||
|
|
||||||
if agent_tool_missing:
|
if agent_tool_missing:
|
||||||
@@ -1015,6 +1022,7 @@ def init(
|
|||||||
"windsurf": ".windsurf/",
|
"windsurf": ".windsurf/",
|
||||||
"kilocode": ".kilocode/",
|
"kilocode": ".kilocode/",
|
||||||
"auggie": ".augment/",
|
"auggie": ".augment/",
|
||||||
|
"codebuddy": ".codebuddy/",
|
||||||
"copilot": ".github/"
|
"copilot": ".github/"
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1093,6 +1101,7 @@ def check():
|
|||||||
tracker.add("opencode", "opencode")
|
tracker.add("opencode", "opencode")
|
||||||
tracker.add("codex", "Codex CLI")
|
tracker.add("codex", "Codex CLI")
|
||||||
tracker.add("auggie", "Auggie CLI")
|
tracker.add("auggie", "Auggie CLI")
|
||||||
|
tracker.add("codebuddy", "CodeBuddy Code")
|
||||||
|
|
||||||
git_ok = check_tool_for_tracker("git", tracker)
|
git_ok = check_tool_for_tracker("git", tracker)
|
||||||
claude_ok = check_tool_for_tracker("claude", tracker)
|
claude_ok = check_tool_for_tracker("claude", tracker)
|
||||||
@@ -1106,6 +1115,7 @@ def check():
|
|||||||
opencode_ok = check_tool_for_tracker("opencode", tracker)
|
opencode_ok = check_tool_for_tracker("opencode", tracker)
|
||||||
codex_ok = check_tool_for_tracker("codex", tracker)
|
codex_ok = check_tool_for_tracker("codex", tracker)
|
||||||
auggie_ok = check_tool_for_tracker("auggie", tracker)
|
auggie_ok = check_tool_for_tracker("auggie", tracker)
|
||||||
|
codebuddy_ok = check_tool_for_tracker("codebuddy", tracker)
|
||||||
|
|
||||||
console.print(tracker.render())
|
console.print(tracker.render())
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user