-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathopencode.json
More file actions
400 lines (400 loc) · 14.6 KB
/
Copy pathopencode.json
File metadata and controls
400 lines (400 loc) · 14.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
{
"$schema": "https://opencode.ai/config.json",
"formatter": true,
"permission": {
"read": {
"*": "allow",
"*.env": "deny",
"*.env.*": "deny",
"*.env.example": "allow"
},
"edit": "allow",
"glob": "allow",
"grep": "allow",
"list": "allow",
"webfetch": "allow",
"skill": "allow",
"todowrite": "allow",
"question": "allow",
"doom_loop": "ask",
"verify": "allow",
"external_directory": {
"*": "allow",
"~/.ssh/**": "deny",
"~/.aws/**": "deny",
"~/.config/**": "deny",
"~/secrets/**": "deny",
"~/.gnupg/**": "deny",
"~/.kube/**": "deny",
"~/.docker/**": "deny",
"/etc/**": "deny"
},
"bash": {
"*": "allow",
"ls *": "allow",
"pwd": "allow",
"which *": "allow",
"type *": "allow",
"mkdir *": "allow",
"cp *": "allow",
"mv *": "allow",
"echo *": "allow",
"printf *": "allow",
"date": "allow",
"uname *": "allow",
"whoami": "allow",
"file *": "allow",
"wc *": "allow",
"du *": "allow",
"df *": "allow"
},
"agentmemory_*": "allow",
"figma_*": "allow",
"chrome-devtools_*": "allow",
"agent-browser_*": "allow"
},
"instructions": [
".opencode/instructions/INSTRUCTIONS.md",
".opencode/skills/coding-standards/SKILL.md",
".opencode/skills/it-leader-orchestration/SKILL.md",
".opencode/skills/strategic-compact/SKILL.md"
],
"mcp": {
"nuxt": {
"type": "remote",
"url": "https://nuxt.com/mcp",
"enabled": true,
"description": "Nuxt documentation, blog posts, and deployment guides"
},
"nuxt-ui": {
"type": "remote",
"url": "https://ui.nuxt.com/mcp",
"enabled": true,
"description": "Nuxt UI component documentation and examples"
},
"figma": {
"type": "remote",
"url": "https://mcp.figma.com/mcp",
"enabled": false
},
"playwright": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-playwright"],
"enabled": true,
"description": "Browser automation and E2E testing with Playwright"
},
"stitch": {
"type": "remote",
"url": "https://stitch.googleapis.com/mcp",
"headers": {
"X-Goog-Api-Key": "${STITCH_API_KEY}"
},
"description": "Google Stitch AI design generation (requires STITCH_API_KEY)"
},
"postman": {
"type": "remote",
"url": "https://mcp.postman.com/mcp",
"headers": {
"Authorization": "Bearer ${POSTMAN_API_KEY}"
},
"enabled": true,
"description": "Postman API management for collections, requests, and documentation"
},
"sonarqube": {
"type": "remote",
"url": "https://sonarqube-mcp.sadigit.co.id/mcp",
"enabled": true,
"headers": {
"Authorization": "Bearer ${SONARQUBE_TOKEN}",
"SONARQUBE_TOOLSETS": "analysis,issues,security-hotspots,quality-gates,rules,duplications,measures,dependency-risks,coverage,sources,languages,portfolios,system,webhooks"
}
},
"agentmemory": {
"type": "local",
"command": ["node", ".opencode/hooks/agentmemory-start.mjs"],
"enabled": true,
"description": "Persistent cross-session memory with 53 tools (save, recall, smart search, sessions, file history, lessons)"
},
"chrome-devtools": {
"type": "local",
"command": [
"npx",
"-y",
"chrome-devtools-mcp@latest",
"--screenshot-format",
"jpeg",
"--screenshot-quality",
"80",
"--screenshot-max-width",
"1200"
],
"enabled": true,
"description": "Chrome DevTools browser control: navigate, screenshot, inspect console/network/performance"
},
"agent-browser": {
"type": "local",
"command": [
"npx",
"-y",
"agent-browser@latest",
"mcp",
"--tools",
"core,network,react,tabs,debug"
],
"enabled": true,
"description": "Fast Rust-based browser automation: annotated screenshots, visual diff, React introspection"
}
},
"plugin": [".opencode/plugins/agentmemory-capture.ts", ".opencode/plugins/ponytail.mjs"],
"agent": {
"leader": {
"description": "IT Leader & Technical Project Manager \u2014 analyzes requirements, designs architecture, decomposes tasks, delegates to subagents, and unifies outputs",
"mode": "primary",
"prompt": "{file:.opencode/prompts/agents/it-leader.md}",
"temperature": 0.4,
"color": "#8b5cf6",
"permission": {
"nuxt_*": "allow",
"nuxt-ui_*": "allow",
"playwright_*": "allow",
"chrome-devtools_*": "allow",
"postman_*": "allow",
"sonarqube_*": "allow",
"task": {
"*": "allow"
}
}
},
"frontend-nuxt": {
"description": "Expert Vue/Nuxt frontend developer for Nuxt.js, Vue 3, Nuxt UI, and modern web technologies with MCP integration (subagent of IT Leader)",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/nuxt-frontend-developer.md}",
"color": "#3b82f6",
"permission": {
"playwright_*": "allow",
"chrome-devtools_*": "allow"
}
},
"frontend-react": {
"description": "Expert React/Next.js frontend developer for React 19, Next.js 15, Vite, shadcn/ui, and modern web technologies (subagent of IT Leader)",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/react-frontend-developer.md}",
"color": "#06b6d4",
"permission": {
"playwright_*": "allow",
"chrome-devtools_*": "allow"
}
},
"node-developer": {
"description": "Expert Node.js backend developer for Express, Prisma, PostgreSQL, REST APIs, and JWT auth (subagent of IT Leader)",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/node-backend-developer.md}",
"color": "#10b981",
"permission": {
"postman_*": "allow"
}
},
"ci3": {
"description": "CodeIgniter 3 MVC fullstack developer for REST API, JWT, MySQL/PostgreSQL (subagent of IT Leader)",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/code-igniter-3-fullstack.md}",
"color": "#84cc16",
"permission": {
"postman_*": "allow"
}
},
"laravel": {
"description": "Laravel backend engineer for REST API, Service/Repository, JWT, MySQL/PostgreSQL (subagent of IT Leader)",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/laravel-advanced.md}",
"color": "#f97316",
"permission": {
"postman_*": "allow"
}
},
"designer": {
"description": "UI/UX Designer specializing in design systems, Google Stitch, Figma, accessibility, and design-to-code handoff (subagent of IT Leader)",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/ui-ux-designer.md}",
"color": "#f59e0b",
"permission": {
"stitch_*": "allow",
"nuxt-ui_*": "allow",
"chrome-devtools_*": "allow"
}
},
"reviewer": {
"description": "Code Reviewer & QA Engineer specializing in code quality, security audit, testing strategy, and verification (subagent of IT Leader)",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/code-reviewer.md}",
"color": "#ef4444",
"permission": {
"playwright_*": "allow",
"chrome-devtools_*": "allow"
}
},
"database": {
"description": "Database Specialist specializing in PostgreSQL schema design, query optimization, Prisma ORM, and migrations (subagent of IT Leader)",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/database-specialist.md}",
"color": "#0891b2"
},
"devops": {
"description": "DevOps Engineer specializing in CI/CD, deployment, Docker, monitoring, and infrastructure (subagent of IT Leader)",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/devops-specialist.md}",
"color": "#6366f1"
},
"seo": {
"description": "SEO Specialist specializing in meta tags, structured data, Core Web Vitals, and content optimization (subagent of IT Leader)",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/seo-specialist.md}",
"color": "#65a30d",
"permission": {
"nuxt_*": "allow"
}
},
"android": {
"description": "Expert Android developer for Kotlin, Jetpack Compose, XML, Material Design 3, and Google Play (subagent of IT Leader)",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/android-developer.md}",
"color": "#22c55e",
"permission": {
"playwright_*": "allow"
}
},
"flutter": {
"description": "Expert Flutter developer for Dart, Flutter SDK, Material Design 3, Firebase, and cross-platform mobile apps (subagent of IT Leader)",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/flutter-developer.md}",
"color": "#0284c7",
"permission": {
"playwright_*": "allow"
}
},
"sonarqube": {
"description": "SonarQube Quality Auditor & Fix Orchestrator \u2014 scans codebases, categorizes findings, creates TODOs, and delegates fixes to domain subagents",
"mode": "primary",
"prompt": "{file:.opencode/prompts/agents/sonarqube-quality.md}",
"color": "#eab308",
"permission": {
"sonarqube_*": "allow"
}
},
"python": {
"description": "Python developer for Django, FastAPI, data science, and ML engineering",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/python-developer.md}",
"color": "#3776AB"
},
"rust": {
"description": "Rust systems programmer for performance-critical applications, CLI tools, and embedded systems",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/rust-developer.md}",
"color": "#DEA584"
},
"swift": {
"description": "Swift/SwiftUI developer for iOS, macOS, and Apple platform applications",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/swift-developer.md}",
"color": "#F05138"
},
"dotnet": {
"description": "C#/.NET/F# developer for ASP.NET Core, Blazor, MAUI, and Azure cloud applications",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/dotnet-developer.md}",
"color": "#512BD4"
},
"angular": {
"description": "Angular/TypeScript frontend developer for web applications with standalone components, NgRx, and RxJS",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/angular-developer.md}",
"color": "#DD0031"
},
"cpp": {
"description": "C++ developer for modern C++17/20/23 systems programming, performance-critical applications, and embedded systems",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/cpp-developer.md}",
"color": "#00599C"
},
"java-developer": {
"description": "Java/Spring Boot developer for REST APIs, JPA/Hibernate, microservices, and JVM ecosystem (subagent of IT Leader)",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/java-developer.md}",
"color": "#ED8B00"
},
"go-developer": {
"description": "Go developer for REST APIs, microservices, CLI tools, and concurrent systems (subagent of IT Leader)",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/go-developer.md}",
"color": "#00ADD8"
},
"python-reviewer": {
"description": "Python code review specialist \u2014 reviews Python code for type safety, PEP 8, Django/FastAPI patterns, and security",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/python-reviewer.md}",
"color": "#306998"
},
"rust-reviewer": {
"description": "Rust code review specialist \u2014 reviews Rust code for memory safety, ownership, concurrency, and idiomatic patterns",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/rust-reviewer.md}",
"color": "#C67D4B"
},
"cpp-reviewer": {
"description": "C++ code review specialist \u2014 reviews C++ code for memory safety, RAII, modern C++ patterns, and performance",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/cpp-reviewer.md}",
"color": "#004477"
},
"java-reviewer": {
"description": "Java/Spring Boot code review specialist \u2014 reviews Java code for JPA, Spring patterns, concurrency, and security",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/java-reviewer.md}",
"color": "#CC7700"
},
"php-reviewer": {
"description": "PHP/Laravel code review specialist \u2014 reviews PHP code for PSR standards, Laravel patterns, Eloquent, and security",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/php-reviewer.md}",
"color": "#777BB4"
},
"kotlin-reviewer": {
"description": "Kotlin/Android code review specialist \u2014 reviews Kotlin code for coroutines, Compose, clean architecture, and Android security",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/kotlin-reviewer.md}",
"color": "#7F52FF"
},
"go-reviewer": {
"description": "Go code review specialist \u2014 reviews Go code for error handling, concurrency, idiomatic patterns, and security",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/go-reviewer.md}",
"color": "#0088AA"
},
"harness-optimizer": {
"description": "Agent harness optimizer \u2014 analyzes and improves agent configuration for reliability, cost efficiency, and throughput",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/harness-optimizer.md}",
"color": "#7C4FE0"
},
"loop-operator": {
"description": "Autonomous loop operator \u2014 operates, monitors, and intervenes in autonomous agent loops with quality gates",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/loop-operator.md}",
"color": "#EC4899"
},
"docs-lookup": {
"description": "Documentation lookup specialist \u2014 fetches current library and API documentation via MCP with code examples",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/docs-lookup.md}",
"color": "#4F52B0"
},
"agent-engineer": {
"description": "AI Agent Engineer \u2014 builds agent orchestration systems, evaluation harnesses, autonomous loops, and safety guardrails",
"mode": "subagent",
"prompt": "{file:.opencode/prompts/agents/agent-engineer.md}",
"color": "#6D28D9"
}
}
}