Skip to content

Commit 56085f9

Browse files
authored
Merge pull request #1133 from vburckhardt/add-ibm-bob-ide
feat: add support for IBM Bob IDE
2 parents f205fa3 + 537f349 commit 56085f9

File tree

8 files changed

+47
-14
lines changed

8 files changed

+47
-14
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,7 @@ gh release create "$VERSION" \
4646
.genreleases/spec-kit-template-shai-ps-"$VERSION".zip \
4747
.genreleases/spec-kit-template-q-sh-"$VERSION".zip \
4848
.genreleases/spec-kit-template-q-ps-"$VERSION".zip \
49+
.genreleases/spec-kit-template-bob-sh-"$VERSION".zip \
50+
.genreleases/spec-kit-template-bob-ps-"$VERSION".zip \
4951
--title "Spec Kit Templates - $VERSION_NO_V" \
5052
--notes-file release_notes.md

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

Lines changed: 6 additions & 2 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
17+
Valid agents: claude, gemini, copilot, cursor-agent, qwen, opencode, windsurf, codex, kilocode, auggie, roo, codebuddy, amp, q, bob
1818
1919
.PARAMETER Scripts
2020
Comma or space separated subset of script types to build (default: both)
@@ -339,6 +339,10 @@ function Build-Variant {
339339
$cmdDir = Join-Path $baseDir ".amazonq/prompts"
340340
Generate-Commands -Agent 'q' -Extension 'md' -ArgFormat '$ARGUMENTS' -OutputDir $cmdDir -ScriptVariant $Script
341341
}
342+
'bob' {
343+
$cmdDir = Join-Path $baseDir ".bob/commands"
344+
Generate-Commands -Agent 'bob' -Extension 'md' -ArgFormat '$ARGUMENTS' -OutputDir $cmdDir -ScriptVariant $Script
345+
}
342346
}
343347

344348
# Create zip archive
@@ -348,7 +352,7 @@ function Build-Variant {
348352
}
349353

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

354358
function Normalize-List {

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -euo pipefail
66
# Usage: .github/workflows/scripts/create-release-packages.sh <version>
77
# Version argument should include leading 'v'.
88
# Optionally set AGENTS and/or SCRIPTS env vars to limit what gets built.
9-
# AGENTS : space or comma separated subset of: claude gemini copilot cursor-agent qwen opencode windsurf codex amp shai (default: all)
9+
# AGENTS : space or comma separated subset of: claude gemini copilot cursor-agent qwen opencode windsurf codex amp shai bob (default: all)
1010
# SCRIPTS : space or comma separated subset of: sh ps (default: both)
1111
# Examples:
1212
# AGENTS=claude SCRIPTS=sh $0 v0.2.0
@@ -211,13 +211,16 @@ build_variant() {
211211
q)
212212
mkdir -p "$base_dir/.amazonq/prompts"
213213
generate_commands q md "\$ARGUMENTS" "$base_dir/.amazonq/prompts" "$script" ;;
214+
bob)
215+
mkdir -p "$base_dir/.bob/commands"
216+
generate_commands bob md "\$ARGUMENTS" "$base_dir/.bob/commands" "$script" ;;
214217
esac
215218
( cd "$base_dir" && zip -r "../spec-kit-template-${agent}-${script}-${NEW_VERSION}.zip" . )
216219
echo "Created $GENRELEASES_DIR/spec-kit-template-${agent}-${script}-${NEW_VERSION}.zip"
217220
}
218221

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

223226
norm_list() {

AGENTS.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ Specify supports multiple AI agents by generating agent-specific command files a
4646
| **Amazon Q Developer CLI** | `.amazonq/prompts/` | Markdown | `q` | Amazon Q Developer CLI |
4747
| **Amp** | `.agents/commands/` | Markdown | `amp` | Amp CLI |
4848
| **SHAI** | `.shai/commands/` | Markdown | `shai` | SHAI CLI |
49+
| **IBM Bob** | `.bob/commands/` | Markdown | N/A (IDE-based) | IBM Bob IDE |
4950

5051
### Step-by-Step Integration Guide
5152

@@ -320,12 +321,13 @@ Work within integrated development environments:
320321

321322
- **GitHub Copilot**: Built into VS Code/compatible editors
322323
- **Windsurf**: Built into Windsurf IDE
324+
- **IBM Bob**: Built into IBM Bob IDE
323325

324326
## Command File Formats
325327

326328
### Markdown Format
327329

328-
Used by: Claude, Cursor, opencode, Windsurf, Amazon Q Developer, Amp, SHAI
330+
Used by: Claude, Cursor, opencode, Windsurf, Amazon Q Developer, Amp, SHAI, IBM Bob
329331

330332
**Standard format:**
331333

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ Want to see Spec Kit in action? Watch our [video overview](https://www.youtube.c
151151
| [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. |
152152
| [Amp](https://ampcode.com/) || |
153153
| [SHAI (OVHcloud)](https://github.com/ovh/shai) || |
154+
| [IBM Bob](https://www.ibm.com/products/bob) || IDE-based agent with slash command support |
154155

155156
## 🔧 Specify CLI Reference
156157

@@ -168,7 +169,7 @@ The `specify` command supports the following options:
168169
| Argument/Option | Type | Description |
169170
|------------------------|----------|------------------------------------------------------------------------------|
170171
| `<project-name>` | Argument | Name for your new project directory (optional if using `--here`, or use `.` for current directory) |
171-
| `--ai` | Option | AI assistant to use: `claude`, `gemini`, `copilot`, `cursor-agent`, `qwen`, `opencode`, `codex`, `windsurf`, `kilocode`, `auggie`, `roo`, `codebuddy`, `amp`, `shai`, or `q` |
172+
| `--ai` | Option | AI assistant to use: `claude`, `gemini`, `copilot`, `cursor-agent`, `qwen`, `opencode`, `codex`, `windsurf`, `kilocode`, `auggie`, `roo`, `codebuddy`, `amp`, `shai`, `q`, or `bob` |
172173
| `--script` | Option | Script variant to use: `sh` (bash/zsh) or `ps` (PowerShell) |
173174
| `--ignore-agent-tools` | Flag | Skip checks for AI agent tools like Claude Code |
174175
| `--no-git` | Flag | Skip git repository initialization |
@@ -199,6 +200,9 @@ specify init my-project --ai amp
199200
# Initialize with SHAI support
200201
specify init my-project --ai shai
201202

203+
# Initialize with IBM Bob support
204+
specify init my-project --ai bob
205+
202206
# Initialize with PowerShell scripts (Windows/cross-platform)
203207
specify init my-project --ai copilot --script ps
204208

scripts/bash/update-agent-context.sh

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
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
38+
# Agent types: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|shai|q|bob
3939
# Leave empty to update all existing agent files
4040

4141
set -e
@@ -73,6 +73,7 @@ CODEBUDDY_FILE="$REPO_ROOT/CODEBUDDY.md"
7373
AMP_FILE="$REPO_ROOT/AGENTS.md"
7474
SHAI_FILE="$REPO_ROOT/SHAI.md"
7575
Q_FILE="$REPO_ROOT/AGENTS.md"
76+
BOB_FILE="$REPO_ROOT/AGENTS.md"
7677

7778
# Template file
7879
TEMPLATE_FILE="$REPO_ROOT/.specify/templates/agent-file-template.md"
@@ -625,9 +626,12 @@ update_specific_agent() {
625626
q)
626627
update_agent_file "$Q_FILE" "Amazon Q Developer CLI"
627628
;;
629+
bob)
630+
update_agent_file "$BOB_FILE" "IBM Bob"
631+
;;
628632
*)
629633
log_error "Unknown agent type '$agent_type'"
630-
log_error "Expected: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|amp|shai|q"
634+
log_error "Expected: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|amp|shai|q|bob"
631635
exit 1
632636
;;
633637
esac
@@ -702,6 +706,11 @@ update_all_existing_agents() {
702706
found_agent=true
703707
fi
704708

709+
if [[ -f "$BOB_FILE" ]]; then
710+
update_agent_file "$BOB_FILE" "IBM Bob"
711+
found_agent=true
712+
fi
713+
705714
# If no agent files exist, create a default Claude file
706715
if [[ "$found_agent" == false ]]; then
707716
log_info "No existing agent files found, creating default Claude file..."
@@ -726,7 +735,7 @@ print_summary() {
726735

727736
echo
728737

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

732741
#==============================================================================

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)
12+
5. Multi-Agent Support (claude, gemini, copilot, cursor-agent, qwen, opencode, codex, windsurf, kilocode, auggie, roo, codebuddy, amp, shai, q, bob)
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')]
28+
[ValidateSet('claude','gemini','copilot','cursor-agent','qwen','opencode','codex','windsurf','kilocode','auggie','roo','codebuddy','amp','shai','q','bob')]
2929
[string]$AgentType
3030
)
3131

@@ -58,6 +58,7 @@ $CODEBUDDY_FILE = Join-Path $REPO_ROOT 'CODEBUDDY.md'
5858
$AMP_FILE = Join-Path $REPO_ROOT 'AGENTS.md'
5959
$SHAI_FILE = Join-Path $REPO_ROOT 'SHAI.md'
6060
$Q_FILE = Join-Path $REPO_ROOT 'AGENTS.md'
61+
$BOB_FILE = Join-Path $REPO_ROOT 'AGENTS.md'
6162

6263
$TEMPLATE_FILE = Join-Path $REPO_ROOT '.specify/templates/agent-file-template.md'
6364

@@ -384,7 +385,8 @@ function Update-SpecificAgent {
384385
'amp' { Update-AgentFile -TargetFile $AMP_FILE -AgentName 'Amp' }
385386
'shai' { Update-AgentFile -TargetFile $SHAI_FILE -AgentName 'SHAI' }
386387
'q' { Update-AgentFile -TargetFile $Q_FILE -AgentName 'Amazon Q Developer CLI' }
387-
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'; return $false }
388+
'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 }
388390
}
389391
}
390392

@@ -404,6 +406,7 @@ function Update-AllExistingAgents {
404406
if (Test-Path $CODEBUDDY_FILE) { if (-not (Update-AgentFile -TargetFile $CODEBUDDY_FILE -AgentName 'CodeBuddy CLI')) { $ok = $false }; $found = $true }
405407
if (Test-Path $SHAI_FILE) { if (-not (Update-AgentFile -TargetFile $SHAI_FILE -AgentName 'SHAI')) { $ok = $false }; $found = $true }
406408
if (Test-Path $Q_FILE) { if (-not (Update-AgentFile -TargetFile $Q_FILE -AgentName 'Amazon Q Developer CLI')) { $ok = $false }; $found = $true }
409+
if (Test-Path $BOB_FILE) { if (-not (Update-AgentFile -TargetFile $BOB_FILE -AgentName 'IBM Bob')) { $ok = $false }; $found = $true }
407410
if (-not $found) {
408411
Write-Info 'No existing agent files found, creating default Claude file...'
409412
if (-not (Update-AgentFile -TargetFile $CLAUDE_FILE -AgentName 'Claude Code')) { $ok = $false }
@@ -418,7 +421,7 @@ function Print-Summary {
418421
if ($NEW_FRAMEWORK) { Write-Host " - Added framework: $NEW_FRAMEWORK" }
419422
if ($NEW_DB -and $NEW_DB -ne 'N/A') { Write-Host " - Added database: $NEW_DB" }
420423
Write-Host ''
421-
Write-Info 'Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|q]'
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]'
422425
}
423426

424427
function Main {

src/specify_cli/__init__.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,12 @@ def _format_rate_limit_error(status_code: int, headers: httpx.Headers, url: str)
214214
"install_url": "https://github.com/ovh/shai",
215215
"requires_cli": True,
216216
},
217+
"bob": {
218+
"name": "IBM Bob",
219+
"folder": ".bob/",
220+
"install_url": None, # IDE-based
221+
"requires_cli": False,
222+
},
217223
}
218224

219225
SCRIPT_TYPE_CHOICES = {"sh": "POSIX Shell (bash/zsh)", "ps": "PowerShell"}
@@ -933,7 +939,7 @@ def ensure_executable_scripts(project_path: Path, tracker: StepTracker | None =
933939
@app.command()
934940
def init(
935941
project_name: str = typer.Argument(None, help="Name for your new project directory (optional if using --here, or use '.' for current directory)"),
936-
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, or q"),
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"),
937943
script_type: str = typer.Option(None, "--script", help="Script type to use: sh or ps"),
938944
ignore_agent_tools: bool = typer.Option(False, "--ignore-agent-tools", help="Skip checks for AI agent tools like Claude Code"),
939945
no_git: bool = typer.Option(False, "--no-git", help="Skip git repository initialization"),

0 commit comments

Comments
 (0)