π« Toolkit to help you get started with SDD or any other process!
Integration of Mistral vibe support into speckit (#1725)
GaΓ«l9d6c05ad5baa
diff --git a/.github/workflows/scripts/create-github-release.sh b/.github/workflows/scripts/create-github-release.shindex 0418ce2b0..ba074a3b1 100644--- a/.github/workflows/scripts/create-github-release.sh+++ b/.github/workflows/scripts/create-github-release.sh@@ -52,6 +52,8 @@ gh release create "$VERSION" \.genreleases/spec-kit-template-agy-ps-"$VERSION".zip \.genreleases/spec-kit-template-bob-sh-"$VERSION".zip \.genreleases/spec-kit-template-bob-ps-"$VERSION".zip \+ .genreleases/spec-kit-template-vibe-sh-"$VERSION".zip \+ .genreleases/spec-kit-template-vibe-ps-"$VERSION".zip \.genreleases/spec-kit-template-generic-sh-"$VERSION".zip \.genreleases/spec-kit-template-generic-ps-"$VERSION".zip \--title "Spec Kit Templates - $VERSION_NO_V" \diff --git a/.github/workflows/scripts/create-release-packages.ps1 b/.github/workflows/scripts/create-release-packages.ps1index 0b33b0d19..fc6e10330 100644--- a/.github/workflows/scripts/create-release-packages.ps1+++ b/.github/workflows/scripts/create-release-packages.ps1@@ -359,6 +359,10 @@ function Build-Variant {$cmdDir = Join-Path $baseDir ".speckit/commands"Generate-Commands -Agent 'generic' -Extension 'md' -ArgFormat '$ARGUMENTS' -OutputDir $cmdDir -ScriptVariant $Script}+ 'vibe' {+ $cmdDir = Join-Path $baseDir ".vibe/prompts"+ Generate-Commands -Agent 'vibe' -Extension 'md' -ArgFormat '$ARGUMENTS' -OutputDir $cmdDir -ScriptVariant $Script+ }default {throw "Unsupported agent '$Agent'."}@@ -371,7 +375,7 @@ function Build-Variant {}# Define all agents and scripts-$AllAgents = @('claude', 'gemini', 'copilot', 'cursor-agent', 'qwen', 'opencode', 'windsurf', 'codex', 'kilocode', 'auggie', 'roo', 'codebuddy', 'amp', 'kiro-cli', 'bob', 'qodercli', 'shai', 'agy', 'generic')+$AllAgents = @('claude', 'gemini', 'copilot', 'cursor-agent', 'qwen', 'opencode', 'windsurf', 'codex', 'kilocode', 'auggie', 'roo', 'codebuddy', 'amp', 'kiro-cli', 'bob', 'qodercli', 'shai', 'agy', 'vibe', 'generic')$AllScripts = @('sh', 'ps')function Normalize-List {diff --git a/.github/workflows/scripts/create-release-packages.sh b/.github/workflows/scripts/create-release-packages.shindex 08ff1de21..3cda56c05 100755--- a/.github/workflows/scripts/create-release-packages.sh+++ b/.github/workflows/scripts/create-release-packages.sh@@ -221,6 +221,9 @@ build_variant() {bob)mkdir -p "$base_dir/.bob/commands"generate_commands bob md "\$ARGUMENTS" "$base_dir/.bob/commands" "$script" ;;+ vibe)+ mkdir -p "$base_dir/.vibe/prompts"+ generate_commands vibe md "\$ARGUMENTS" "$base_dir/.vibe/prompts" "$script" ;;generic)mkdir -p "$base_dir/.speckit/commands"generate_commands generic md "\$ARGUMENTS" "$base_dir/.speckit/commands" "$script" ;;@@ -230,7 +233,7 @@ build_variant() {}# Determine agent list-ALL_AGENTS=(claude gemini copilot cursor-agent qwen opencode windsurf codex kilocode auggie roo codebuddy amp shai kiro-cli agy bob qodercli generic)+ALL_AGENTS=(claude gemini copilot cursor-agent qwen opencode windsurf codex kilocode auggie roo codebuddy amp shai kiro-cli agy bob vibe qodercli generic)ALL_SCRIPTS=(sh ps)norm_list() {diff --git a/README.md b/README.mdindex 8091268d8..67f4bf475 100644--- a/README.md+++ b/README.md@@ -171,6 +171,7 @@ See Spec-Driven Development in action across different scenarios with these comm| [Qwen Code](https://github.com/QwenLM/qwen-code) | β | || [Roo Code](https://roocode.com/) | β | || [SHAI (OVHcloud)](https://github.com/ovh/shai) | β | |+| [Mistral Vibe](https://github.com/mistralai/mistral-vibe) | β | || [Windsurf](https://windsurf.com/) | β | || [Antigravity (agy)](https://antigravity.google/) | β | || Generic | β | Bring your own agent β use `--ai generic --ai-commands-dir <path>` for unsupported agents |@@ -184,14 +185,14 @@ The `specify` command supports the following options:| Command | Description || ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- || `init` | Initialize a new Specify project from the latest template |-| `check` | Check for installed tools (`git`, `claude`, `gemini`, `code`/`code-insiders`, `cursor-agent`, `windsurf`, `qwen`, `opencode`, `codex`, `kiro-cli`, `shai`, `qodercli`) |+| `check` | Check for installed tools (`git`, `claude`, `gemini`, `code`/`code-insiders`, `cursor-agent`, `windsurf`, `qwen`, `opencode`, `codex`, `kiro-cli`, `shai`, `qodercli`, `vibe`) |### `specify init` Arguments & Options| Argument/Option | Type | Description || ---------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- || `<project-name>` | Argument | Name for your new project directory (optional if using `--here`, or use `.` for current directory) |-| `--ai` | Option | AI assistant to use: `claude`, `gemini`, `copilot`, `cursor-agent`, `qwen`, `opencode`, `codex`, `windsurf`, `kilocode`, `auggie`, `roo`, `codebuddy`, `amp`, `shai`, `kiro-cli` (`kiro` alias), `agy`, `bob`, `qodercli`, or `generic` (requires `--ai-commands-dir`) |+| `--ai` | Option | AI assistant to use: `claude`, `gemini`, `copilot`, `cursor-agent`, `qwen`, `opencode`, `codex`, `windsurf`, `kilocode`, `auggie`, `roo`, `codebuddy`, `amp`, `shai`, `kiro-cli` (`kiro` alias), `agy`, `bob`, `qodercli`, `vibe`, or `generic` (requires `--ai-commands-dir`) || `--ai-commands-dir` | Option | Directory for agent command files (required with `--ai generic`, e.g. `.myagent/commands/`) || `--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 |@@ -230,6 +231,9 @@ specify init my-project --ai amp# Initialize with SHAI supportspecify init my-project --ai shai+# Initialize with Mistral Vibe support+specify init my-project --ai vibe+# Initialize with IBM Bob supportspecify init my-project --ai bobdiff --git a/scripts/bash/update-agent-context.sh b/scripts/bash/update-agent-context.shindex fdebac65f..d254baf03 100644--- a/scripts/bash/update-agent-context.sh+++ b/scripts/bash/update-agent-context.sh@@ -30,7 +30,7 @@## 5. Multi-Agent Support# - Handles agent-specific file paths and naming conventions-# - Supports: Claude, Gemini, Copilot, Cursor, Qwen, opencode, Codex, Windsurf, Kilo Code, Auggie CLI, Roo Code, CodeBuddy CLI, Qoder CLI, Amp, SHAI, Kiro CLI, or Antigravity+# - Supports: Claude, Gemini, Copilot, Cursor, Qwen, opencode, Codex, Windsurf, Kilo Code, Auggie CLI, Roo Code, CodeBuddy CLI, Qoder CLI, Amp, SHAI, Kiro CLI, Mistral Vibe or Antigravity# - Can update single agents or all existing agent files# - Creates default Claude file if no agent files exist#@@ -76,6 +76,7 @@ SHAI_FILE="$REPO_ROOT/SHAI.md"KIRO_FILE="$REPO_ROOT/AGENTS.md"AGY_FILE="$REPO_ROOT/.agent/rules/specify-rules.md"BOB_FILE="$REPO_ROOT/AGENTS.md"+VIBE_FILE="$REPO_ROOT/.vibe/agents/specify-agents.md"# Template fileTEMPLATE_FILE="$REPO_ROOT/.specify/templates/agent-file-template.md"@@ -657,12 +658,15 @@ update_specific_agent() {bob)update_agent_file "$BOB_FILE" "IBM Bob";;+ vibe)+ update_agent_file "$VIBE_FILE" "Mistral Vibe"+ ;;generic)log_info "Generic agent: no predefined context file. Use the agent-specific update script for your agent.";;*)log_error "Unknown agent type '$agent_type'"- log_error "Expected: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|kiro-cli|agy|bob|qodercli|generic"+ log_error "Expected: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|kiro-cli|agy|bob|vibe|qodercli|generic"exit 1;;esac@@ -750,6 +754,11 @@ update_all_existing_agents() {update_agent_file "$BOB_FILE" "IBM Bob"found_agent=truefi++ if [[ -f "$VIBE_FILE" ]]; then+ update_agent_file "$VIBE_FILE" "Mistral Vibe"+ found_agent=true+ fi# If no agent files exist, create a default Claude fileif [[ "$found_agent" == false ]]; then@@ -774,8 +783,7 @@ print_summary() {fiecho-- log_info "Usage: $0 [claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|kiro-cli|agy|bob|qodercli]"+ log_info "Usage: $0 [claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|kiro-cli|agy|bob|qodercli|vibe]"}#==============================================================================diff --git a/scripts/powershell/update-agent-context.ps1 b/scripts/powershell/update-agent-context.ps1index 02ce10205..fee7ba6c1 100644--- a/scripts/powershell/update-agent-context.ps1+++ b/scripts/powershell/update-agent-context.ps1@@ -9,7 +9,7 @@ Mirrors the behavior of scripts/bash/update-agent-context.sh:2. Plan Data Extraction3. Agent File Management (create from template or update existing)4. Content Generation (technology stack, recent changes, timestamp)- 5. Multi-Agent Support (claude, gemini, copilot, cursor-agent, qwen, opencode, codex, windsurf, kilocode, auggie, roo, codebuddy, amp, shai, kiro-cli, agy, bob, qodercli)+ 5. Multi-Agent Support (claude, gemini, copilot, cursor-agent, qwen, opencode, codex, windsurf, kilocode, auggie, roo, codebuddy, amp, shai, kiro-cli, agy, bob, qodercli, vibe).PARAMETER AgentTypeOptional 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#>param([Parameter(Position=0)]- [ValidateSet('claude','gemini','copilot','cursor-agent','qwen','opencode','codex','windsurf','kilocode','auggie','roo','codebuddy','amp','shai','kiro-cli','agy','bob','qodercli','generic')]+ [ValidateSet('claude','gemini','copilot','cursor-agent','qwen','opencode','codex','windsurf','kilocode','auggie','roo','codebuddy','amp','shai','kiro-cli','agy','bob','qodercli','vibe','generic')][string]$AgentType)@@ -61,6 +61,7 @@ $SHAI_FILE = Join-Path $REPO_ROOT 'SHAI.md'$KIRO_FILE = Join-Path $REPO_ROOT 'AGENTS.md'$AGY_FILE = Join-Path $REPO_ROOT '.agent/rules/specify-rules.md'$BOB_FILE = Join-Path $REPO_ROOT 'AGENTS.md'+$VIBE_FILE = Join-Path $REPO_ROOT '.vibe/agents/specify-agents.md'$TEMPLATE_FILE = Join-Path $REPO_ROOT '.specify/templates/agent-file-template.md'@@ -402,8 +403,9 @@ function Update-SpecificAgent {'kiro-cli' { Update-AgentFile -TargetFile $KIRO_FILE -AgentName 'Kiro CLI' }'agy' { Update-AgentFile -TargetFile $AGY_FILE -AgentName 'Antigravity' }'bob' { Update-AgentFile -TargetFile $BOB_FILE -AgentName 'IBM Bob' }+ 'vibe' { Update-AgentFile -TargetFile $VIBE_FILE -AgentName 'Mistral Vibe' }'generic' { Write-Info 'Generic agent: no predefined context file. Use the agent-specific update script for your agent.' }- 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|kiro-cli|agy|bob|qodercli|generic'; return $false }+ 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|kiro-cli|agy|bob|qodercli|vibe|generic'; return $false }}}@@ -426,6 +428,7 @@ function Update-AllExistingAgents {if (Test-Path $KIRO_FILE) { if (-not (Update-AgentFile -TargetFile $KIRO_FILE -AgentName 'Kiro CLI')) { $ok = $false }; $found = $true }if (Test-Path $AGY_FILE) { if (-not (Update-AgentFile -TargetFile $AGY_FILE -AgentName 'Antigravity')) { $ok = $false }; $found = $true }if (Test-Path $BOB_FILE) { if (-not (Update-AgentFile -TargetFile $BOB_FILE -AgentName 'IBM Bob')) { $ok = $false }; $found = $true }+ if (Test-Path $VIBE_FILE) { if (-not (Update-AgentFile -TargetFile $VIBE_FILE -AgentName 'Mistral Vibe')) { $ok = $false }; $found = $true }if (-not $found) {Write-Info 'No existing agent files found, creating default Claude file...'if (-not (Update-AgentFile -TargetFile $CLAUDE_FILE -AgentName 'Claude Code')) { $ok = $false }@@ -440,7 +443,7 @@ function Print-Summary {if ($NEW_FRAMEWORK) { Write-Host " - Added framework: $NEW_FRAMEWORK" }if ($NEW_DB -and $NEW_DB -ne 'N/A') { Write-Host " - Added database: $NEW_DB" }Write-Host ''- Write-Info 'Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|kiro-cli|agy|bob|qodercli|generic]'+ Write-Info 'Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|kiro-cli|agy|bob|qodercli|vibe|generic]'}function Main {diff --git a/src/specify_cli/__init__.py b/src/specify_cli/__init__.pyindex ad8421013..0add6d723 100644--- a/src/specify_cli/__init__.py+++ b/src/specify_cli/__init__.py@@ -251,6 +251,13 @@ AGENT_CONFIG = {"install_url": None, # IDE-based"requires_cli": False,},+ "vibe": {+ "name": "Mistral Vibe",+ "folder": ".vibe/",+ "commands_subdir": "prompts",+ "install_url": "https://github.com/mistralai/mistral-vibe",+ "requires_cli": True,+ },"generic": {"name": "Generic (bring your own agent)","folder": None, # Set dynamically via --ai-commands-dir@@ -1280,6 +1287,7 @@ def init(specify init --here --ai claude # Alternative syntax for current directoryspecify init --here --ai codexspecify init --here --ai codebuddy+ specify init --here --ai vibe # Initialize with Mistral Vibe supportspecify init --herespecify init --here --force # Skip confirmation when current directory not emptyspecify init my-project --ai claude --ai-skills # Install agent skills