feat: initial opencode config with commands, skills and MCP services

This commit is contained in:
2026-01-06 17:27:42 +08:00
commit d738304a7c
13 changed files with 1242 additions and 0 deletions

19
opencode.json Normal file
View File

@@ -0,0 +1,19 @@
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"ref": {
"type": "remote",
"url": "https://api.ref.tools/mcp",
"headers": {
"Authorization": "Bearer {env:REF_API_KEY}"
}
},
"figma": {
"type": "local",
"command": ["npx", "-y", "figma-developer-mcp", "--stdio"],
"environment": {
"FIGMA_API_KEY": "{env:FIGMA_API_KEY}"
}
}
}
}