Skip to content

Commit f438a10

Browse files
committed
feat: add support for IBM Bob IDE
1 parent e6d6f3c commit f438a10

File tree

7 files changed

+38
-9
lines changed

7 files changed

+38
-9
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,7 @@ gh release create "$VERSION" \
4444
.genreleases/spec-kit-template-amp-ps-"$VERSION".zip \
4545
.genreleases/spec-kit-template-q-sh-"$VERSION".zip \
4646
.genreleases/spec-kit-template-q-ps-"$VERSION".zip \
47+
.genreleases/spec-kit-template-bob-sh-"$VERSION".zip \
48+
.genreleases/spec-kit-template-bob-ps-"$VERSION".zip \
4749
--title "Spec Kit Templates - $VERSION_NO_V" \
4850
--notes-file release_notes.md

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,13 +186,16 @@ build_variant() {
186186
q)
187187
mkdir -p "$base_dir/.amazonq/prompts"
188188
generate_commands q md "\$ARGUMENTS" "$base_dir/.amazonq/prompts" "$script" ;;
189+
bob)
190+
mkdir -p "$base_dir/.bob/commands"
191+
generate_commands bob md "\$ARGUMENTS" "$base_dir/.bob/commands" "$script" ;;
189192
esac
190193
( cd "$base_dir" && zip -r "../spec-kit-template-${agent}-${script}-${NEW_VERSION}.zip" . )
191194
echo "Created $GENRELEASES_DIR/spec-kit-template-${agent}-${script}-${NEW_VERSION}.zip"
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 amp q bob)
196199
ALL_SCRIPTS=(sh ps)
197200

198201
norm_list() {

AGENTS.md

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

4950
### Step-by-Step Integration Guide
5051

@@ -318,12 +319,13 @@ Work within integrated development environments:
318319

319320
- **GitHub Copilot**: Built into VS Code/compatible editors
320321
- **Windsurf**: Built into Windsurf IDE
322+
- **IBM Bob**: Built into IBM Bob IDE
321323

322324
## Command File Formats
323325

324326
### Markdown Format
325327

326-
Used by: Claude, Cursor, opencode, Windsurf, Amazon Q Developer, Amp
328+
Used by: Claude, Cursor, opencode, Windsurf, Amazon Q Developer, Amp, IBM Bob
327329

328330
```markdown
329331
---

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ Want to see Spec Kit in action? Watch our [video overview](https://www.youtube.c
150150
| [Codex CLI](https://github.com/openai/codex) || |
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/) || |
153+
| [IBM Bob](https://www.ibm.com/products/bob) || IDE-based agent with slash command support |
153154

154155
## 🔧 Specify CLI Reference
155156

@@ -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`, `amp`, `q`, or `bob` |
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 IBM Bob support
200+
specify init my-project --ai bob
201+
198202
# Initialize with PowerShell scripts (Windows/cross-platform)
199203
specify init my-project --ai copilot --script ps
200204

scripts/bash/update-agent-context.sh

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ ROO_FILE="$REPO_ROOT/.roo/rules/specify-rules.md"
7272
CODEBUDDY_FILE="$REPO_ROOT/CODEBUDDY.md"
7373
AMP_FILE="$REPO_ROOT/AGENTS.md"
7474
Q_FILE="$REPO_ROOT/AGENTS.md"
75+
BOB_FILE="$REPO_ROOT/AGENTS.md"
7576

7677
# Template file
7778
TEMPLATE_FILE="$REPO_ROOT/.specify/templates/agent-file-template.md"
@@ -621,9 +622,12 @@ update_specific_agent() {
621622
q)
622623
update_agent_file "$Q_FILE" "Amazon Q Developer CLI"
623624
;;
625+
bob)
626+
update_agent_file "$BOB_FILE" "IBM Bob"
627+
;;
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|amp|q|bob"
627631
exit 1
628632
;;
629633
esac
@@ -693,6 +697,11 @@ update_all_existing_agents() {
693697
found_agent=true
694698
fi
695699

700+
if [[ -f "$BOB_FILE" ]]; then
701+
update_agent_file "$BOB_FILE" "IBM Bob"
702+
found_agent=true
703+
fi
704+
696705
# If no agent files exist, create a default Claude file
697706
if [[ "$found_agent" == false ]]; then
698707
log_info "No existing agent files found, creating default Claude file..."
@@ -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|q|bob]"
721730
}
722731

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

scripts/powershell/update-agent-context.ps1

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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','amp','q','bob')]
2929
[string]$AgentType
3030
)
3131

@@ -57,6 +57,7 @@ $ROO_FILE = Join-Path $REPO_ROOT '.roo/rules/specify-rules.md'
5757
$CODEBUDDY_FILE = Join-Path $REPO_ROOT 'CODEBUDDY.md'
5858
$AMP_FILE = Join-Path $REPO_ROOT 'AGENTS.md'
5959
$Q_FILE = Join-Path $REPO_ROOT 'AGENTS.md'
60+
$BOB_FILE = Join-Path $REPO_ROOT 'AGENTS.md'
6061

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

@@ -382,7 +383,8 @@ function Update-SpecificAgent {
382383
'codebuddy' { Update-AgentFile -TargetFile $CODEBUDDY_FILE -AgentName 'CodeBuddy CLI' }
383384
'amp' { Update-AgentFile -TargetFile $AMP_FILE -AgentName 'Amp' }
384385
'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 }
386+
'bob' { Update-AgentFile -TargetFile $BOB_FILE -AgentName 'IBM Bob' }
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|q|bob'; return $false }
386388
}
387389
}
388390

@@ -401,6 +403,7 @@ function Update-AllExistingAgents {
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 }
403405
if (Test-Path $Q_FILE) { if (-not (Update-AgentFile -TargetFile $Q_FILE -AgentName 'Amazon Q Developer CLI')) { $ok = $false }; $found = $true }
406+
if (Test-Path $BOB_FILE) { if (-not (Update-AgentFile -TargetFile $BOB_FILE -AgentName 'IBM Bob')) { $ok = $false }; $found = $true }
404407
if (-not $found) {
405408
Write-Info 'No existing agent files found, creating default Claude file...'
406409
if (-not (Update-AgentFile -TargetFile $CLAUDE_FILE -AgentName 'Claude Code')) { $ok = $false }
@@ -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|amp|q|bob]'
419422
}
420423

421424
function Main {

src/specify_cli/__init__.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,12 @@ def _github_auth_headers(cli_token: str | None = None) -> dict:
150150
"install_url": "https://ampcode.com/manual#install",
151151
"requires_cli": True,
152152
},
153+
"bob": {
154+
"name": "IBM Bob",
155+
"folder": ".bob/",
156+
"install_url": None, # IDE-based
157+
"requires_cli": False,
158+
},
153159
}
154160

155161
SCRIPT_TYPE_CHOICES = {"sh": "POSIX Shell (bash/zsh)", "ps": "PowerShell"}
@@ -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, amp, q, or bob"),
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)