opencode-build
Installation
SKILL.md
opencode Build docs (v2)
Overview
opencode v2 replaced the v1 plugin API, and what you remember is probably v1
(v1 -> v2): @opencode-ai/plugin -> @opencode/plugin; exported async
function returning hooks -> Plugin.define({ id, setup(ctx) }); tool() ->
ctx.tool.transform; config "plugin" -> "plugins"; .opencode/plugin/ ->
.opencode/plugins/. Do not write opencode plugin code from memory. Look
it up first, in this order: