opencode-ship-cmd
v0.1.0
Published
OpenCode plugin that installs a /ship command for release readiness and optional git automation.
Readme
opencode-ship-cmd
A plugin for OpenCode that adds the /ship command focused on release readiness.
What /ship does
- Runs a release gate (GO/NO-GO).
- In default mode, it runs as a dry-run (does not modify git).
- With flags, it can safely automate commit and push:
--commit: commits only if checks pass.--push: pushes only after a successful commit, without force push.
Installation
npx opencode-ship-cmd@latest installWith Bun:
bunx opencode-ship-cmd@latest installNote: npm install opencode-ship-cmd only installs the package in your project. To enable it in OpenCode, run the install command above.
Usage
After installation, restart OpenCode and use:
/ship
/ship --commit
/ship --commit --pushManual configuration (optional)
If you want to edit the OpenCode config manually, add the plugin:
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-ship-cmd@latest"]
}Uninstall
npx opencode-ship-cmd@latest uninstallLocal development
npm install
npm run build
node dist/cli.js install --config ./opencode.json