refactor(opencode): restructure config and replace legacy plugins

Rewrites opencode.json, drops the with-context, websearch and terminal-bell
plugins, adds plugins that strip Claude-only commands and OMC MCP servers,
and vendors the impeccable, web-design-guidelines and frontend-workflow skills.
This commit is contained in:
David Ibia
2026-10-03 16:27:47 +01:00
parent 3a31f12366
commit a750f158f5
71 changed files with 21048 additions and 1499 deletions
+15
View File
@@ -0,0 +1,15 @@
import type { Plugin } from "@opencode-ai/plugin"
const OMC_MCP_PREFIX = "oh-my-claudecode:"
export const StripOmcMcpPlugin: Plugin = async () => ({
config: async (config) => {
if (!config.mcp) return
for (const name of Object.keys(config.mcp)) {
if (name.startsWith(OMC_MCP_PREFIX)) {
delete config.mcp[name]
}
}
},
})