Spec workflow integration plugin for OpenCode - passive reminders when working with specs
npm install @cristochang/spec-integrationbash
npm install @cristochang/spec-integration
`
Add to your .opencode/config.json:
`json
{
"plugin": [
"@cristochang/spec-integration@latest"
]
}
`
Configuration
Add an experimental.specIntegration section to your .opencode/config.json:
`json
{
"experimental": {
"specIntegration": {
"enabled": true,
"mode": "passive",
"warningCooldown": 60000
}
}
}
`
$3
| Option | Type | Default | Description |
|--------|------|---------|-------------|
| enabled | boolean | true | Enable or disable the plugin |
| mode | "passive" | "passive" | Warning mode (only "passive" is supported) |
| warningCooldown | number | 60000 | Milliseconds between warnings for the same session |
How it works
The plugin monitors the following tools and shows reminders when an active spec exists:
- edit - Editing existing files
- write - Creating new files
- multiedit - Batch edits
- patch - Patch operations
- bash - Shell commands
$3
If the Spec capability is not available (e.g., running on an incompatible opencode version), the plugin silently disables itself and will not interfere with your workflow.
When to use this plugin
Use it when:
- You want to maintain awareness of your active spec while coding
- You're working in a team that uses specs for task tracking
- You want gentle reminders about spec boundaries without enforced constraints
Don't use it when:
- You prefer complete autonomy without any workflow suggestions
- You're doing exploratory coding that doesn't align with spec-based workflows
- You find the reminders distracting (just set enabled: false`)