Skip to content

feat(plugins): OpenSpec — spec-driven development CLI (universal)#8

Merged
govtech42 merged 1 commit into
mainfrom
feat/openspec-plugin
May 25, 2026
Merged

feat(plugins): OpenSpec — spec-driven development CLI (universal)#8
govtech42 merged 1 commit into
mainfrom
feat/openspec-plugin

Conversation

@govtech42
Copy link
Copy Markdown
Owner

OpenSpec is a spec-driven dev framework. Standalone CLI installed once globally via npm; any AI assistant (Claude, Codex, Cursor, OpenCode, Antigravity) invokes it via /opsx:* slash commands after the project runs openspec init. No per-CLI binding needed.

Changes

  • lib/plugins.sh — new install_openspec() (npm i -g @fission-ai/openspec).
  • profiles/cli-bundle/09-plugins.shINSTALL_OPENSPEC=true block, appends OPENSPEC_TELEMETRY=0 to ~/.bashrc by default.
  • .env.exampleINSTALL_OPENSPEC, OPENSPEC_VERSION, OPENSPEC_TELEMETRY.
  • README.md — new OpenSpec section.

Tests

  • 2 new bats tests (missing-npm + correct-dispatch)
  • 31/31 bats + lint + env-completeness pass locally

🤖 Generated with Claude Code

…ss all AI agents)

OpenSpec (https://github.com/Fission-AI/OpenSpec) is a spec-driven dev
framework. Standalone CLI installed once globally via npm; any AI assistant
(Claude, Codex, Cursor, OpenCode, Antigravity) invokes it via /opsx:* slash
commands after the project runs `openspec init`. No per-CLI binding needed.

lib/plugins.sh
- install_openspec: `npm install -g @fission-ai/openspec@<version>` with an
  early-exit error message if npm is not on PATH. Default version: latest.

profiles/cli-bundle/09-plugins.sh
- INSTALL_OPENSPEC=true block, ordered before the official-Anthropic-
  marketplace block so the binary is on PATH if those plugins want to
  invoke openspec internally.
- Appends OPENSPEC_TELEMETRY="${OPENSPEC_TELEMETRY:-0}" to ~/.bashrc on
  first install (telemetry off by default; opt-in by setting =1 in .env).

profiles/cli-bundle/.env.example
- INSTALL_OPENSPEC, OPENSPEC_VERSION, OPENSPEC_TELEMETRY.

profiles/cli-bundle/README.md
- New OpenSpec section covering install toggle + `openspec init` + /opsx:*
  usage from any AI CLI.

tests/test_plugins.bats
- install_openspec: errors when npm missing (PATH-isolated to STUB_DIR only)
- install_openspec: invokes `npm install -g @fission-ai/openspec@latest`
  (PATH widened to include /usr/bin /bin so the bash-shebang stub resolves)

All 31 bats tests + lint + env-completeness pass locally.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@govtech42 govtech42 merged commit e83ce4d into main May 25, 2026
3 checks passed
@govtech42 govtech42 deleted the feat/openspec-plugin branch May 25, 2026 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant