@devcxl/opencode-cabbage
A full-lifecycle development plugin for OpenCode, covering requirements, design, tasks, coding, testing, review, and release with automated orchestration and parallel subagents.
English | 简体中文
Installation
{
"plugin": ["@devcxl/opencode-cabbage"]
}
Once started, the plugin automatically injects 9 slash commands, 9 flow skills, and 5 agents.
Command Overview
/setup | Setup | docs/ directory structure and environment validation |
/requirements | Requirements | PRD → docs/prd/ + GitHub Issue |
/design | Design | Technical specification + ADR → docs/dev/specs/ + docs/adr/ |
/tasks | Task decomposition | DAG tasks + Sub Issues → docs/dev/tasks/ |
/code | Coding | Branch + code + unit tests + PR |
/test | Testing | Trigger CI + monitor + report |
/review | Review | Dual-axis review + automatic merge |
/release | ⚠️ Manual release | Version → Changelog → Release → npm publish |
/handoff | Handoff | Package context for transfer across sessions |
Quick Start
npm install @devcxl/opencode-cabbage
Two Modes
- Manual mode — Run each command sequentially for fine-grained control
- Automatic mode — Once the requirements are confirmed, enter
@dev-lifecycle to automatically complete the remaining workflow
Architecture
src/ # Thin TypeScript layer
├── index.ts # Plugin entry point
├── plugin.ts # Package root resolution
└── plugin/
├── server.ts # Main factory: injects skills, commands, and agents
├── commands.ts # Command loader
├── skills.ts # Skill loader
├── prompts.ts # Prompt loader
├── bootstrap.ts # Startup guidance
└── agents.ts # Agent injection
assets/ # Runtime assets
├── commands/ # 9 slash commands
├── skills/ # 9 flow-* skills
├── agents/ # 5 agent definitions
├── context/ # Domain glossary
└── prompts/ # Guidance prompts and templates
Documentation
License
MIT