-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.jsonc
More file actions
418 lines (418 loc) · 19.7 KB
/
opencode.jsonc
File metadata and controls
418 lines (418 loc) · 19.7 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
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
{
"$schema": "https://opencode.ai/config.json",
"theme": "opencode",
"model": "anthropic/claude-sonnet-4-5",
"autoupdate": true,
"instructions": [
".bmad-core/core-config.yaml",
".bmad-creative-writing/config.yaml",
".bmad-infrastructure-devops/config.yaml"
],
"agent": {
"ux-expert": {
"prompt": "{file:./.bmad-core/agents/ux-expert.md}",
"mode": "all",
"tools": {
"write": true,
"edit": true,
"bash": true
},
"description": "Use for UI/UX design, wireframes, prototypes, front-end specifications, and user experience optimization"
},
"sm": {
"prompt": "{file:./.bmad-core/agents/sm.md}",
"mode": "all",
"tools": {
"write": true,
"edit": true,
"bash": true
},
"description": "Use for story creation, epic management, retrospectives in party-mode, and agile process guidance"
},
"qa": {
"prompt": "{file:./.bmad-core/agents/qa.md}",
"mode": "all",
"tools": {
"write": true,
"edit": true,
"bash": true
},
"description": "Use for comprehensive test architecture review, quality gate decisions, and code improvement. Provides thorough analysis including requirements traceability, risk assessment, and test strategy. Advisory only - teams choose their quality bar."
},
"po": {
"prompt": "{file:./.bmad-core/agents/po.md}",
"mode": "all",
"tools": {
"write": true,
"edit": true,
"bash": true
},
"description": "Use for backlog management, story refinement, acceptance criteria, sprint planning, and prioritization decisions"
},
"pm": {
"prompt": "{file:./.bmad-core/agents/pm.md}",
"mode": "all",
"tools": {
"write": true,
"edit": true,
"bash": true
},
"description": "Use for creating PRDs, product strategy, feature prioritization, roadmap planning, and stakeholder communication"
},
"dev": {
"prompt": "{file:./.bmad-core/agents/dev.md}",
"mode": "all",
"tools": {
"write": true,
"edit": true,
"bash": true
},
"description": "'Use for code implementation, debugging, refactoring, and development best practices'"
},
"bmad-orchestrator": {
"prompt": "{file:./.bmad-core/agents/bmad-orchestrator.md}",
"mode": "primary",
"tools": {
"write": true,
"edit": true,
"bash": true
},
"description": "Use for workflow coordination, multi-agent tasks, role switching guidance, and when unsure which specialist to consult"
},
"bmad-master": {
"prompt": "{file:./.bmad-core/agents/bmad-master.md}",
"mode": "all",
"tools": {
"write": true,
"edit": true,
"bash": true
},
"description": "Use when you need comprehensive expertise across all domains, running 1 off tasks that do not require a persona, or just wanting to use the same agent for many things."
},
"architect": {
"prompt": "{file:./.bmad-core/agents/architect.md}",
"mode": "all",
"tools": {
"write": true,
"edit": true,
"bash": true
},
"description": "Use for system design, architecture documents, technology selection, API design, and infrastructure planning"
},
"analyst": {
"prompt": "{file:./.bmad-core/agents/analyst.md}",
"mode": "all",
"tools": {
"write": true,
"edit": true,
"bash": true
},
"description": "Use for market research, brainstorming, competitive analysis, creating project briefs, initial project discovery, and documenting existing projects (brownfield)"
},
"bmad-creative-writing-world-builder": {
"prompt": "{file:./.bmad-creative-writing/agents/world-builder.md}",
"mode": "all",
"tools": {
"write": true,
"edit": true,
"bash": true
},
"description": "Use for creating consistent worlds, magic systems, cultures, and immersive settings"
},
"bmad-creative-writing-plot-architect": {
"prompt": "{file:./.bmad-creative-writing/agents/plot-architect.md}",
"mode": "all",
"tools": {
"write": true,
"edit": true,
"bash": true
},
"description": "Use for story structure, plot development, pacing analysis, and narrative arc design"
},
"bmad-creative-writing-narrative-designer": {
"prompt": "{file:./.bmad-creative-writing/agents/narrative-designer.md}",
"mode": "all",
"tools": {
"write": true,
"edit": true,
"bash": true
},
"description": "Use for branching narratives, player agency, choice design, and interactive storytelling"
},
"bmad-creative-writing-genre-specialist": {
"prompt": "{file:./.bmad-creative-writing/agents/genre-specialist.md}",
"mode": "all",
"tools": {
"write": true,
"edit": true,
"bash": true
},
"description": "Use for genre requirements, trope management, market expectations, and crossover potential"
},
"bmad-creative-writing-editor": {
"prompt": "{file:./.bmad-creative-writing/agents/editor.md}",
"mode": "all",
"tools": {
"write": true,
"edit": true,
"bash": true
},
"description": "Use for line editing, style consistency, grammar correction, and structural feedback"
},
"bmad-creative-writing-dialog-specialist": {
"prompt": "{file:./.bmad-creative-writing/agents/dialog-specialist.md}",
"mode": "all",
"tools": {
"write": true,
"edit": true,
"bash": true
},
"description": "Use for dialog refinement, voice distinction, subtext development, and conversation flow"
},
"bmad-creative-writing-cover-designer": {
"prompt": "{file:./.bmad-creative-writing/agents/cover-designer.md}",
"mode": "all",
"tools": {
"write": true,
"edit": true,
"bash": true
},
"description": "Use to generate AI‑ready cover art prompts and assemble a compliant KDP package (front, spine, back)."
},
"bmad-creative-writing-character-psychologist": {
"prompt": "{file:./.bmad-creative-writing/agents/character-psychologist.md}",
"mode": "all",
"tools": {
"write": true,
"edit": true,
"bash": true
},
"description": "Use for character creation, motivation analysis, dialog authenticity, and psychological consistency"
},
"bmad-creative-writing-book-critic": {
"prompt": "{file:./.bmad-creative-writing/agents/book-critic.md}",
"mode": "all",
"tools": {
"write": true,
"edit": true,
"bash": true
},
"description": "Use to obtain a thorough, professional review of a finished manuscript or chapter, including holistic and category‑specific ratings with detailed rationale."
},
"bmad-creative-writing-bmad-orchestrator": {
"prompt": "{file:./.bmad-creative-writing/agents/bmad-orchestrator.md}",
"mode": "primary",
"tools": {
"write": true,
"edit": true,
"bash": true
},
"description": "Use for workflow coordination, multi-agent tasks, role switching guidance, and when unsure which specialist to consult"
},
"bmad-creative-writing-beta-reader": {
"prompt": "{file:./.bmad-creative-writing/agents/beta-reader.md}",
"mode": "all",
"tools": {
"write": true,
"edit": true,
"bash": true
},
"description": "Use for reader perspective, plot hole detection, confusion points, and engagement analysis"
},
"bmad-infrastructure-devops-infra-devops-platform": {
"prompt": "{file:./.bmad-infrastructure-devops/agents/infra-devops-platform.md}",
"mode": "all",
"tools": {
"write": true,
"edit": true,
"bash": true
}
}
},
"command": {
"validate-next-story": {
"template": "{file:./.bmad-core/tasks/validate-next-story.md}",
"description": "To comprehensively validate a story draft before implementation begins, ensuring it is complete, accurate, and provides sufficient context for successful development. This task identifies issues and gaps that need to be addressed, preventing hallucinations and ensuring implementation readiness."
},
"trace-requirements": {
"template": "{file:./.bmad-core/tasks/trace-requirements.md}",
"description": "Create a requirements traceability matrix that ensures every acceptance criterion has corresponding test coverage. This task helps identify gaps in testing and ensures all requirements are validated."
},
"test-design": {
"template": "{file:./.bmad-core/tasks/test-design.md}",
"description": "Design a complete test strategy that identifies what to test, at which level (unit/integration/e2e), and why. This ensures efficient test coverage without redundancy while maintaining appropriate test boundaries."
},
"shard-doc": {
"template": "{file:./.bmad-core/tasks/shard-doc.md}",
"description": "Split a large document into multiple smaller documents based on level 2 sections Create a folder structure to organize the sharded documents Maintain all content integrity including code blocks, diagrams, and markdown formatting"
},
"risk-profile": {
"template": "{file:./.bmad-core/tasks/risk-profile.md}",
"description": "Identify, assess, and prioritize risks in the story implementation. Provide risk mitigation strategies and testing focus areas based on risk levels."
},
"review-story": {
"template": "{file:./.bmad-core/tasks/review-story.md}"
},
"qa-gate": {
"template": "{file:./.bmad-core/tasks/qa-gate.md}",
"description": "Generate a standalone quality gate file that provides a clear pass/fail decision with actionable feedback. This gate serves as an advisory checkpoint for teams to understand quality status."
},
"nfr-assess": {
"template": "{file:./.bmad-core/tasks/nfr-assess.md}",
"description": "Assess non-functional requirements for a story and generate:"
},
"kb-mode-interaction": {
"template": "{file:./.bmad-core/tasks/kb-mode-interaction.md}",
"description": "Provide a user-friendly interface to the BMad knowledge base without overwhelming users with information upfront."
},
"index-docs": {
"template": "{file:./.bmad-core/tasks/index-docs.md}",
"description": "This task maintains the integrity and completeness of the docs/index.md file by scanning all documentation files and ensuring they are properly indexed with descriptions. It handles both root-level documents and documents within subfolders, organizing them hierarchically."
},
"generate-ai-frontend-prompt": {
"template": "{file:./.bmad-core/tasks/generate-ai-frontend-prompt.md}",
"description": "To generate a masterful, comprehensive, and optimized prompt that can be used with any AI-driven frontend development tool (e.g., Vercel v0, Lovable.ai, or similar) to scaffold or generate significant portions of a frontend application."
},
"facilitate-brainstorming-session": {
"template": "{file:./.bmad-core/tasks/facilitate-brainstorming-session.md}"
},
"execute-checklist": {
"template": "{file:./.bmad-core/tasks/execute-checklist.md}"
},
"document-project": {
"template": "{file:./.bmad-core/tasks/document-project.md}",
"description": "Generate comprehensive documentation for existing projects optimized for AI development agents. This task creates structured reference materials that enable AI agents to understand project context, conventions, and patterns for effective contribution to any codebase."
},
"create-next-story": {
"template": "{file:./.bmad-core/tasks/create-next-story.md}",
"description": "To identify the next logical story based on project progress and epic definitions, and then to prepare a comprehensive, self-contained, and actionable story file using the Story Template."
},
"create-doc": {
"template": "{file:./.bmad-core/tasks/create-doc.md}"
},
"create-deep-research-prompt": {
"template": "{file:./.bmad-core/tasks/create-deep-research-prompt.md}",
"description": "Generate well-structured research prompts that:"
},
"create-brownfield-story": {
"template": "{file:./.bmad-core/tasks/create-brownfield-story.md}",
"description": "Create detailed, implementation-ready stories for brownfield projects where traditional sharded PRD/architecture documents may not exist. This task bridges the gap between various documentation formats (document-project output, brownfield PRDs, epics, or user documentation) and executable stories for the Dev agent."
},
"correct-course": {
"template": "{file:./.bmad-core/tasks/correct-course.md}",
"description": "Guide a structured response to a change trigger using the .bmad-core/checklists/change-checklist."
},
"brownfield-create-story": {
"template": "{file:./.bmad-core/tasks/brownfield-create-story.md}",
"description": "Create a single user story for very small brownfield enhancements that can be completed in one focused development session. This task is for minimal additions or bug fixes that require existing system integration awareness."
},
"brownfield-create-epic": {
"template": "{file:./.bmad-core/tasks/brownfield-create-epic.md}",
"description": "Create a single epic for smaller brownfield enhancements that don't require the full PRD and Architecture documentation process. This task is for isolated features or modifications that can be completed within a focused scope."
},
"apply-qa-fixes": {
"template": "{file:./.bmad-core/tasks/apply-qa-fixes.md}",
"description": "Read QA outputs for a story (gate YAML + assessment markdowns) Create a prioritized, deterministic fix plan Apply code and test changes to close gaps and address issues Update only the allowed story sections for the Dev agent"
},
"advanced-elicitation": {
"template": "{file:./.bmad-core/tasks/advanced-elicitation.md}",
"description": "Provide optional reflective and brainstorming actions to enhance content quality Enable deeper exploration of ideas through structured elicitation techniques Support iterative refinement through multiple analytical perspectives Usable during template-driven document creation or any chat conversation"
},
"bmad:creative-writing:workshop-dialog": {
"template": "{file:./.bmad-creative-writing/tasks/workshop-dialog.md}",
"description": "Refine dialog for authenticity, character voice, and dramatic effectiveness."
},
"bmad:creative-writing:select-next-arc": {
"template": "{file:./.bmad-creative-writing/tasks/select-next-arc.md}"
},
"bmad:creative-writing:quick-feedback": {
"template": "{file:./.bmad-creative-writing/tasks/quick-feedback.md}"
},
"bmad:creative-writing:publish-chapter": {
"template": "{file:./.bmad-creative-writing/tasks/publish-chapter.md}"
},
"bmad:creative-writing:provide-feedback": {
"template": "{file:./.bmad-creative-writing/tasks/provide-feedback.md}"
},
"bmad:creative-writing:outline-scenes": {
"template": "{file:./.bmad-creative-writing/tasks/outline-scenes.md}"
},
"bmad:creative-writing:kb-mode-interaction": {
"template": "{file:./.bmad-creative-writing/tasks/kb-mode-interaction.md}",
"description": "Provide a user-friendly interface to the BMad knowledge base without overwhelming users with information upfront."
},
"bmad:creative-writing:incorporate-feedback": {
"template": "{file:./.bmad-creative-writing/tasks/incorporate-feedback.md}"
},
"bmad:creative-writing:generate-scene-list": {
"template": "{file:./.bmad-creative-writing/tasks/generate-scene-list.md}"
},
"bmad:creative-writing:generate-cover-prompts": {
"template": "{file:./.bmad-creative-writing/tasks/generate-cover-prompts.md}"
},
"bmad:creative-writing:generate-cover-brief": {
"template": "{file:./.bmad-creative-writing/tasks/generate-cover-brief.md}"
},
"bmad:creative-writing:final-polish": {
"template": "{file:./.bmad-creative-writing/tasks/final-polish.md}"
},
"bmad:creative-writing:expand-synopsis": {
"template": "{file:./.bmad-creative-writing/tasks/expand-synopsis.md}"
},
"bmad:creative-writing:expand-premise": {
"template": "{file:./.bmad-creative-writing/tasks/expand-premise.md}"
},
"bmad:creative-writing:execute-checklist": {
"template": "{file:./.bmad-creative-writing/tasks/execute-checklist.md}"
},
"bmad:creative-writing:develop-character": {
"template": "{file:./.bmad-creative-writing/tasks/develop-character.md}"
},
"bmad:creative-writing:critical-review": {
"template": "{file:./.bmad-creative-writing/tasks/critical-review.md}"
},
"bmad:creative-writing:create-draft-section": {
"template": "{file:./.bmad-creative-writing/tasks/create-draft-section.md}"
},
"bmad:creative-writing:create-doc": {
"template": "{file:./.bmad-creative-writing/tasks/create-doc.md}"
},
"bmad:creative-writing:character-depth-pass": {
"template": "{file:./.bmad-creative-writing/tasks/character-depth-pass.md}"
},
"bmad:creative-writing:build-world": {
"template": "{file:./.bmad-creative-writing/tasks/build-world.md}"
},
"bmad:creative-writing:brainstorm-premise": {
"template": "{file:./.bmad-creative-writing/tasks/brainstorm-premise.md}"
},
"bmad:creative-writing:assemble-kdp-package": {
"template": "{file:./.bmad-creative-writing/tasks/assemble-kdp-package.md}"
},
"bmad:creative-writing:analyze-story-structure": {
"template": "{file:./.bmad-creative-writing/tasks/analyze-story-structure.md}",
"description": "Perform comprehensive structural analysis of a narrative work to identify strengths, weaknesses, and improvement opportunities."
},
"bmad:creative-writing:analyze-reader-feedback": {
"template": "{file:./.bmad-creative-writing/tasks/analyze-reader-feedback.md}"
},
"bmad:creative-writing:advanced-elicitation": {
"template": "{file:./.bmad-creative-writing/tasks/advanced-elicitation.md}",
"description": "Provide optional reflective and brainstorming actions to enhance content quality Enable deeper exploration of ideas through structured elicitation techniques Support iterative refinement through multiple analytical perspectives Usable during template-driven document creation or any chat conversation"
},
"bmad:infrastructure-devops:validate-infrastructure": {
"template": "{file:./.bmad-infrastructure-devops/tasks/validate-infrastructure.md}",
"description": "To comprehensively validate platform infrastructure changes against security, reliability, operational, and compliance requirements before deployment. This task ensures all platform infrastructure meets organizational standards, follows best practices, and properly integrates with the broader BMad ecosystem."
},
"bmad:infrastructure-devops:review-infrastructure": {
"template": "{file:./.bmad-infrastructure-devops/tasks/review-infrastructure.md}",
"description": "To conduct a thorough review of existing infrastructure to identify improvement opportunities, security concerns, and alignment with best practices. This task helps maintain infrastructure health, optimize costs, and ensure continued alignment with organizational requirements."
},
"bmad:infrastructure-devops:execute-checklist": {
"template": "{file:./.bmad-infrastructure-devops/tasks/execute-checklist.md}"
},
"bmad:infrastructure-devops:create-doc": {
"template": "{file:./.bmad-infrastructure-devops/tasks/create-doc.md}"
}
}
}