-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.json
More file actions
116 lines (109 loc) · 3.31 KB
/
Copy pathopencode.json
File metadata and controls
116 lines (109 loc) · 3.31 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
{
"$schema": "https://opencode.ai/config.json",
"agent": {
"pr-reviewer": {
"description": "Orchestrates a multi-lens PR review by dispatching specialist subagents and synthesizing their reports",
"mode": "primary",
"model": "anthropic/claude-opus-4-6",
"prompt": "{file:./prompts/pr-reviewer-orchestrator.md}",
"permission": {
"read": "allow",
"edit": "deny",
"bash": "allow",
"glob": "allow",
"grep": "allow",
"task": "allow",
"webfetch": "deny",
"todowrite": "allow",
"todoread": "allow"
}
},
"pr-review-design": {
"description": "Reviews PR changes through the lens of design and approach",
"mode": "subagent",
"model": "anthropic/claude-sonnet-4-6",
"prompt": "{file:./prompts/pr-review-design.md}",
"hidden": true,
"permission": {
"read": "allow",
"edit": "deny",
"bash": "allow",
"glob": "allow",
"grep": "allow",
"task": "deny",
"webfetch": "deny"
}
},
"pr-review-solid": {
"description": "Reviews PR changes through the lens of SOLID principles and code structure",
"mode": "subagent",
"model": "anthropic/claude-sonnet-4-6",
"prompt": "{file:./prompts/pr-review-solid.md}",
"hidden": true,
"permission": {
"read": "allow",
"edit": "deny",
"bash": "allow",
"glob": "allow",
"grep": "allow",
"task": "deny",
"webfetch": "deny"
}
},
"pr-review-security": {
"description": "Reviews PR changes through the lens of security vulnerabilities and OWASP Top 10",
"mode": "subagent",
"model": "anthropic/claude-sonnet-4-6",
"prompt": "{file:./prompts/pr-review-security.md}",
"hidden": true,
"permission": {
"read": "allow",
"edit": "deny",
"bash": "allow",
"glob": "allow",
"grep": "allow",
"task": "deny",
"webfetch": "deny"
}
},
"pr-review-consistency": {
"description": "Reviews PR changes through the lens of codebase consistency",
"mode": "subagent",
"model": "anthropic/claude-sonnet-4-6",
"prompt": "{file:./prompts/pr-review-consistency.md}",
"hidden": true,
"permission": {
"read": "allow",
"edit": "deny",
"bash": "allow",
"glob": "allow",
"grep": "allow",
"task": "deny",
"webfetch": "deny"
}
},
"pr-review-testing": {
"description": "Reviews PR changes through the lens of test coverage and quality",
"mode": "subagent",
"model": "anthropic/claude-sonnet-4-6",
"prompt": "{file:./prompts/pr-review-testing.md}",
"hidden": true,
"permission": {
"read": "allow",
"edit": "deny",
"bash": "allow",
"glob": "allow",
"grep": "allow",
"task": "deny",
"webfetch": "deny"
}
}
},
"command": {
"review": {
"description": "Review PRs or changes in the current branch",
"template": "Review changes for the pr $ARGUMENTS. Fall back to the pull request of the current branch. If there is no existing pull request, review changes in the current branch against main (or master).",
"agent": "pr-reviewer"
}
}
}