@stupidur/vibe-coding-opencode
v0.1.4
Published
Personal OpenCode plugin template for commands, skills, and rules.
Downloads
582
Maintainers
Readme
@stupidur/vibe-coding-opencode
Minimal OpenCode plugin template for personal maintenance of commands, skills, and rules.
Local usage
- Add this plugin path to
.opencode/opencode.json:
{
"plugin": ["./plugins/vibe-coding-opencode"]
}- Optional validation:
node plugins/vibe-coding-opencode/src/index.js --validateInstall helper
Project install:
bash plugins/vibe-coding-opencode/scripts/install-opencode.sh --target projectGlobal install:
bash plugins/vibe-coding-opencode/scripts/install-opencode.sh --target globalDry run:
bash plugins/vibe-coding-opencode/scripts/install-opencode.sh --dry-runClean install (remove old target files first):
bash plugins/vibe-coding-opencode/scripts/install-opencode.sh --target project --cleanPublish to npm
- Confirm package metadata in
package.json:nameshould be your scoped package, for example@stupidur/vibe-coding-opencode.repository,homepage, andbugsshould point to your real GitHub repo.
- Run release checks:
cd plugins/vibe-coding-opencode
npm run release:check- Login and publish:
npm login
npm publish --access public- Use published plugin in
.opencode/opencode.json:
{
"plugin": ["@stupidur/vibe-coding-opencode"]
}OpenCode npm install example
# In your project
npm install -D @stupidur/vibe-coding-opencodeThen point .opencode/opencode.json to package name:
{
"plugin": ["@stupidur/vibe-coding-opencode"]
}With this plugin config, commands under commands/, skills under skills/, and rules under rules/ are auto-registered at startup. You do not need to manually add command, skills.paths, or instructions.
Shopify theme init
When you start or take over a Shopify theme repo, run /init-shopify-project once. It drives generation or update of root AGENTS.md (project survey + full team guidelines). Former always-on rules/shopify/project-rules.md is now only reached through this command, so it is not injected into every session.
For a quick reminder of which rule file applies (git vs new/reuse/modify section), run /shopify-rules.
