-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathopencode.json
More file actions
80 lines (80 loc) · 3.77 KB
/
opencode.json
File metadata and controls
80 lines (80 loc) · 3.77 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
{
"$schema": "https://opencode.ai/config.json",
"agent": {
"project-manager": {
"description": "Project manager that translates OpenSpec proposals into tasks in the issue tracker, assigns work to other agents, tracks progress, and manages the sprint. Use when: planning work, creating tickets, checking status, assigning tasks.",
"mode": "primary",
"prompt": "{file:.agents/agents/project-manager.md}",
"tools": {
"Read": true,
"Glob": true,
"Grep": true
}
},
"backend-developer": {
"description": "Backend/domain developer specializing in Clean Architecture domain logic, DHIS2 API integrations, repository implementations, and use cases. Use when: building domain entities, use cases, repository implementations, data layer integrations, or CLI scripts.",
"mode": "subagent",
"prompt": "{file:.agents/agents/backend-developer.md}",
"tools": {
"Read": true,
"Write": true,
"Edit": true,
"Bash": true,
"Glob": true,
"Grep": true
}
},
"frontend-developer": {
"description": "Frontend developer specializing in React, TypeScript, and UI implementation. Use when: building UI components, pages, forms, styling, client-side logic, or implementing designs for the web interface.",
"mode": "subagent",
"prompt": "{file:.agents/agents/frontend-developer.md}",
"tools": {
"Read": true,
"Write": true,
"Edit": true,
"Bash": true,
"Glob": true,
"Grep": true
}
},
"graphical-designer": {
"description": "Visual/graphical designer handling UI design, wireframes, mockups, design tokens, and component specifications. Use when: designing screens, creating wireframes or mockups, defining visual style, choosing colors/typography, producing design tokens, or planning UI before implementation.",
"mode": "subagent",
"prompt": "{file:.agents/agents/graphical-designer.md}",
"tools": {
"Read": true,
"Write": true,
"Edit": true,
"Bash": true,
"Glob": true,
"Grep": true,
"mcp__pencil__get_editor_state": true,
"mcp__pencil__open_document": true,
"mcp__pencil__get_guidelines": true,
"mcp__pencil__get_style_guide_tags": true,
"mcp__pencil__get_style_guide": true,
"mcp__pencil__batch_get": true,
"mcp__pencil__batch_design": true,
"mcp__pencil__snapshot_layout": true,
"mcp__pencil__get_screenshot": true,
"mcp__pencil__get_variables": true,
"mcp__pencil__set_variables": true,
"mcp__pencil__find_empty_space_on_canvas": true,
"mcp__pencil__export_nodes": true,
"mcp__pencil__search_all_unique_properties": true,
"mcp__pencil__replace_all_matching_properties": true
}
},
"code-reviewer": {
"description": "Code reviewer that analyzes PRs for architecture, clean code, and project convention violations. Use when: reviewing a PR, auditing code quality, or checking adherence to project standards.",
"mode": "subagent",
"prompt": "{file:.agents/agents/code-reviewer.md}",
"tools": {
"Read": true,
"Glob": true,
"Grep": true,
"Bash": true
}
}
}
}