@xenonbyte/openspec
v1.3.1
Published
AI-native spec-driven workflow system for Claude, Codex, and Gemini
Maintainers
Readme
OpenSpec
OpenSpec is an AI-native spec-driven workflow system for Claude, Codex, and Gemini.
This package now ships as a Node CLI with:
- project-local
openspec/config.yaml coreandexpandedworkflow profiles- schema-driven workflow metadata
- generated platform adapters
- pure Node install/update/uninstall commands
- built-in security-review gating and workflow checkpoints
Quick start
npm install -g @xenonbyte/openspec
openspec init --platform codex --profile core
openspec install --platform claude,codex,gemini --profile coreCurrent release: 1.3.1
Release focus:
- Codex install path fix for generated prompt assets
- Node-first CLI distribution
- schema-driven workflow runtime
security-reviewhard/soft gating- planning and execution checkpoints
Codex usage
Preferred:
$openspec create an OpenSpec change for add-dark-modeExplicit routing:
/prompts:openspec
/prompts:opsx-proposeIf a /prompts:* route still needs a change name or description, provide it in the next message.
Profiles
core:propose,explore,apply,archiveexpanded: all workflow actions includingnew,continue,ff,verify,sync,status, and onboarding
Project config
openspec/config.yaml controls:
schemalanguageprofilecontextrulessecurityReview
Precedence:
- change metadata
- project config
- global config
- package defaults
Workflow checkpoints
security-reviewsits afterdesignand beforetasksspec checkpointruns beforetaskstask checkpointruns beforeapplyexecution checkpointruns after each top-level task group duringapply- Security-review states:
required,recommended,waived,completed - Checkpoint states:
PASS,WARN,BLOCK
Commands
openspec init --platform codex --profile core
openspec install --platform codex --profile core
openspec update --platform codex --profile expanded
openspec uninstall --platform codex
openspec generate-assets
openspec validate-assets
openspec --check
openspec --doc
openspec --language zhRelease gate
Before npm publish or local reinstall:
openspec generate-assets
openspec validate-assetsOnly proceed when generated assets, workflow contracts, and packaging metadata are all in sync.
Documentation
Repository shape
lib/: runtime modules for config, generation, install, and CLI behaviorschemas/: workflow schema definitionstemplates/: command and project templatescommands/: generated platform adaptersskills/openspec/: distributed skill bundleopenspec/: dogfooded project workspace for this repository
