feat(plugins): OpenSpec — spec-driven development CLI (universal)#8
Merged
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 runsopenspec init. No per-CLI binding needed.Changes
lib/plugins.sh— newinstall_openspec()(npm i -g @fission-ai/openspec).profiles/cli-bundle/09-plugins.sh—INSTALL_OPENSPEC=trueblock, appendsOPENSPEC_TELEMETRY=0to~/.bashrcby default..env.example—INSTALL_OPENSPEC,OPENSPEC_VERSION,OPENSPEC_TELEMETRY.README.md— new OpenSpec section.Tests
🤖 Generated with Claude Code