|
38 | 38 | "description": "Expert planning specialist for complex features and refactoring. Use for implementation planning, architectural changes, or complex refactoring.", |
39 | 39 | "mode": "subagent", |
40 | 40 | "model": "anthropic/claude-opus-4-5", |
41 | | - "prompt": "{file:.opencode/prompts/agents/planner.txt}", |
| 41 | + "prompt": "{file:prompts/agents/planner.txt}", |
42 | 42 | "tools": { |
43 | 43 | "read": true, |
44 | 44 | "bash": true, |
|
50 | 50 | "description": "Software architecture specialist for system design, scalability, and technical decision-making.", |
51 | 51 | "mode": "subagent", |
52 | 52 | "model": "anthropic/claude-opus-4-5", |
53 | | - "prompt": "{file:.opencode/prompts/agents/architect.txt}", |
| 53 | + "prompt": "{file:prompts/agents/architect.txt}", |
54 | 54 | "tools": { |
55 | 55 | "read": true, |
56 | 56 | "bash": true, |
|
62 | 62 | "description": "Expert code review specialist. Reviews code for quality, security, and maintainability. Use immediately after writing or modifying code.", |
63 | 63 | "mode": "subagent", |
64 | 64 | "model": "anthropic/claude-opus-4-5", |
65 | | - "prompt": "{file:.opencode/prompts/agents/code-reviewer.txt}", |
| 65 | + "prompt": "{file:prompts/agents/code-reviewer.txt}", |
66 | 66 | "tools": { |
67 | 67 | "read": true, |
68 | 68 | "bash": true, |
|
74 | 74 | "description": "Security vulnerability detection and remediation specialist. Use after writing code that handles user input, authentication, API endpoints, or sensitive data.", |
75 | 75 | "mode": "subagent", |
76 | 76 | "model": "anthropic/claude-opus-4-5", |
77 | | - "prompt": "{file:.opencode/prompts/agents/security-reviewer.txt}", |
| 77 | + "prompt": "{file:prompts/agents/security-reviewer.txt}", |
78 | 78 | "tools": { |
79 | 79 | "read": true, |
80 | 80 | "bash": true, |
|
86 | 86 | "description": "Test-Driven Development specialist enforcing write-tests-first methodology. Use when writing new features, fixing bugs, or refactoring code. Ensures 80%+ test coverage.", |
87 | 87 | "mode": "subagent", |
88 | 88 | "model": "anthropic/claude-opus-4-5", |
89 | | - "prompt": "{file:.opencode/prompts/agents/tdd-guide.txt}", |
| 89 | + "prompt": "{file:prompts/agents/tdd-guide.txt}", |
90 | 90 | "tools": { |
91 | 91 | "read": true, |
92 | 92 | "write": true, |
|
98 | 98 | "description": "Build and TypeScript error resolution specialist. Use when build fails or type errors occur. Fixes build/type errors only with minimal diffs.", |
99 | 99 | "mode": "subagent", |
100 | 100 | "model": "anthropic/claude-opus-4-5", |
101 | | - "prompt": "{file:.opencode/prompts/agents/build-error-resolver.txt}", |
| 101 | + "prompt": "{file:prompts/agents/build-error-resolver.txt}", |
102 | 102 | "tools": { |
103 | 103 | "read": true, |
104 | 104 | "write": true, |
|
110 | 110 | "description": "End-to-end testing specialist using Playwright. Generates, maintains, and runs E2E tests for critical user flows.", |
111 | 111 | "mode": "subagent", |
112 | 112 | "model": "anthropic/claude-opus-4-5", |
113 | | - "prompt": "{file:.opencode/prompts/agents/e2e-runner.txt}", |
| 113 | + "prompt": "{file:prompts/agents/e2e-runner.txt}", |
114 | 114 | "tools": { |
115 | 115 | "read": true, |
116 | 116 | "write": true, |
|
122 | 122 | "description": "Documentation and codemap specialist. Use for updating codemaps and documentation.", |
123 | 123 | "mode": "subagent", |
124 | 124 | "model": "anthropic/claude-opus-4-5", |
125 | | - "prompt": "{file:.opencode/prompts/agents/doc-updater.txt}", |
| 125 | + "prompt": "{file:prompts/agents/doc-updater.txt}", |
126 | 126 | "tools": { |
127 | 127 | "read": true, |
128 | 128 | "write": true, |
|
134 | 134 | "description": "Dead code cleanup and consolidation specialist. Use for removing unused code, duplicates, and refactoring.", |
135 | 135 | "mode": "subagent", |
136 | 136 | "model": "anthropic/claude-opus-4-5", |
137 | | - "prompt": "{file:.opencode/prompts/agents/refactor-cleaner.txt}", |
| 137 | + "prompt": "{file:prompts/agents/refactor-cleaner.txt}", |
138 | 138 | "tools": { |
139 | 139 | "read": true, |
140 | 140 | "write": true, |
|
146 | 146 | "description": "Expert Go code reviewer specializing in idiomatic Go, concurrency patterns, error handling, and performance.", |
147 | 147 | "mode": "subagent", |
148 | 148 | "model": "anthropic/claude-opus-4-5", |
149 | | - "prompt": "{file:.opencode/prompts/agents/go-reviewer.txt}", |
| 149 | + "prompt": "{file:prompts/agents/go-reviewer.txt}", |
150 | 150 | "tools": { |
151 | 151 | "read": true, |
152 | 152 | "bash": true, |
|
158 | 158 | "description": "Go build, vet, and compilation error resolution specialist. Fixes Go build errors with minimal changes.", |
159 | 159 | "mode": "subagent", |
160 | 160 | "model": "anthropic/claude-opus-4-5", |
161 | | - "prompt": "{file:.opencode/prompts/agents/go-build-resolver.txt}", |
| 161 | + "prompt": "{file:prompts/agents/go-build-resolver.txt}", |
162 | 162 | "tools": { |
163 | 163 | "read": true, |
164 | 164 | "write": true, |
|
170 | 170 | "description": "PostgreSQL database specialist for query optimization, schema design, security, and performance. Incorporates Supabase best practices.", |
171 | 171 | "mode": "subagent", |
172 | 172 | "model": "anthropic/claude-opus-4-5", |
173 | | - "prompt": "{file:.opencode/prompts/agents/database-reviewer.txt}", |
| 173 | + "prompt": "{file:prompts/agents/database-reviewer.txt}", |
174 | 174 | "tools": { |
175 | 175 | "read": true, |
176 | 176 | "write": true, |
|
182 | 182 | "command": { |
183 | 183 | "plan": { |
184 | 184 | "description": "Create a detailed implementation plan for complex features", |
185 | | - "template": "{file:.opencode/commands/plan.md}\n\n$ARGUMENTS", |
| 185 | + "template": "{file:commands/plan.md}\n\n$ARGUMENTS", |
186 | 186 | "agent": "planner", |
187 | 187 | "subtask": true |
188 | 188 | }, |
189 | 189 | "tdd": { |
190 | 190 | "description": "Enforce TDD workflow with 80%+ test coverage", |
191 | | - "template": "{file:.opencode/commands/tdd.md}\n\n$ARGUMENTS", |
| 191 | + "template": "{file:commands/tdd.md}\n\n$ARGUMENTS", |
192 | 192 | "agent": "tdd-guide", |
193 | 193 | "subtask": true |
194 | 194 | }, |
195 | 195 | "code-review": { |
196 | 196 | "description": "Review code for quality, security, and maintainability", |
197 | | - "template": "{file:.opencode/commands/code-review.md}\n\n$ARGUMENTS", |
| 197 | + "template": "{file:commands/code-review.md}\n\n$ARGUMENTS", |
198 | 198 | "agent": "code-reviewer", |
199 | 199 | "subtask": true |
200 | 200 | }, |
201 | 201 | "security": { |
202 | 202 | "description": "Run comprehensive security review", |
203 | | - "template": "{file:.opencode/commands/security.md}\n\n$ARGUMENTS", |
| 203 | + "template": "{file:commands/security.md}\n\n$ARGUMENTS", |
204 | 204 | "agent": "security-reviewer", |
205 | 205 | "subtask": true |
206 | 206 | }, |
207 | 207 | "build-fix": { |
208 | 208 | "description": "Fix build and TypeScript errors with minimal changes", |
209 | | - "template": "{file:.opencode/commands/build-fix.md}\n\n$ARGUMENTS", |
| 209 | + "template": "{file:commands/build-fix.md}\n\n$ARGUMENTS", |
210 | 210 | "agent": "build-error-resolver", |
211 | 211 | "subtask": true |
212 | 212 | }, |
213 | 213 | "e2e": { |
214 | 214 | "description": "Generate and run E2E tests with Playwright", |
215 | | - "template": "{file:.opencode/commands/e2e.md}\n\n$ARGUMENTS", |
| 215 | + "template": "{file:commands/e2e.md}\n\n$ARGUMENTS", |
216 | 216 | "agent": "e2e-runner", |
217 | 217 | "subtask": true |
218 | 218 | }, |
219 | 219 | "refactor-clean": { |
220 | 220 | "description": "Remove dead code and consolidate duplicates", |
221 | | - "template": "{file:.opencode/commands/refactor-clean.md}\n\n$ARGUMENTS", |
| 221 | + "template": "{file:commands/refactor-clean.md}\n\n$ARGUMENTS", |
222 | 222 | "agent": "refactor-cleaner", |
223 | 223 | "subtask": true |
224 | 224 | }, |
225 | 225 | "orchestrate": { |
226 | 226 | "description": "Orchestrate multiple agents for complex tasks", |
227 | | - "template": "{file:.opencode/commands/orchestrate.md}\n\n$ARGUMENTS", |
| 227 | + "template": "{file:commands/orchestrate.md}\n\n$ARGUMENTS", |
228 | 228 | "agent": "planner", |
229 | 229 | "subtask": true |
230 | 230 | }, |
231 | 231 | "learn": { |
232 | 232 | "description": "Extract patterns and learnings from session", |
233 | | - "template": "{file:.opencode/commands/learn.md}\n\n$ARGUMENTS" |
| 233 | + "template": "{file:commands/learn.md}\n\n$ARGUMENTS" |
234 | 234 | }, |
235 | 235 | "checkpoint": { |
236 | 236 | "description": "Save verification state and progress", |
237 | | - "template": "{file:.opencode/commands/checkpoint.md}\n\n$ARGUMENTS" |
| 237 | + "template": "{file:commands/checkpoint.md}\n\n$ARGUMENTS" |
238 | 238 | }, |
239 | 239 | "verify": { |
240 | 240 | "description": "Run verification loop", |
241 | | - "template": "{file:.opencode/commands/verify.md}\n\n$ARGUMENTS" |
| 241 | + "template": "{file:commands/verify.md}\n\n$ARGUMENTS" |
242 | 242 | }, |
243 | 243 | "eval": { |
244 | 244 | "description": "Run evaluation against criteria", |
245 | | - "template": "{file:.opencode/commands/eval.md}\n\n$ARGUMENTS" |
| 245 | + "template": "{file:commands/eval.md}\n\n$ARGUMENTS" |
246 | 246 | }, |
247 | 247 | "update-docs": { |
248 | 248 | "description": "Update documentation", |
249 | | - "template": "{file:.opencode/commands/update-docs.md}\n\n$ARGUMENTS", |
| 249 | + "template": "{file:commands/update-docs.md}\n\n$ARGUMENTS", |
250 | 250 | "agent": "doc-updater", |
251 | 251 | "subtask": true |
252 | 252 | }, |
253 | 253 | "update-codemaps": { |
254 | 254 | "description": "Update codemaps", |
255 | | - "template": "{file:.opencode/commands/update-codemaps.md}\n\n$ARGUMENTS", |
| 255 | + "template": "{file:commands/update-codemaps.md}\n\n$ARGUMENTS", |
256 | 256 | "agent": "doc-updater", |
257 | 257 | "subtask": true |
258 | 258 | }, |
259 | 259 | "test-coverage": { |
260 | 260 | "description": "Analyze test coverage", |
261 | | - "template": "{file:.opencode/commands/test-coverage.md}\n\n$ARGUMENTS", |
| 261 | + "template": "{file:commands/test-coverage.md}\n\n$ARGUMENTS", |
262 | 262 | "agent": "tdd-guide", |
263 | 263 | "subtask": true |
264 | 264 | }, |
265 | 265 | "setup-pm": { |
266 | 266 | "description": "Configure package manager", |
267 | | - "template": "{file:.opencode/commands/setup-pm.md}\n\n$ARGUMENTS" |
| 267 | + "template": "{file:commands/setup-pm.md}\n\n$ARGUMENTS" |
268 | 268 | }, |
269 | 269 | "go-review": { |
270 | 270 | "description": "Go code review", |
271 | | - "template": "{file:.opencode/commands/go-review.md}\n\n$ARGUMENTS", |
| 271 | + "template": "{file:commands/go-review.md}\n\n$ARGUMENTS", |
272 | 272 | "agent": "go-reviewer", |
273 | 273 | "subtask": true |
274 | 274 | }, |
275 | 275 | "go-test": { |
276 | 276 | "description": "Go TDD workflow", |
277 | | - "template": "{file:.opencode/commands/go-test.md}\n\n$ARGUMENTS", |
| 277 | + "template": "{file:commands/go-test.md}\n\n$ARGUMENTS", |
278 | 278 | "agent": "tdd-guide", |
279 | 279 | "subtask": true |
280 | 280 | }, |
281 | 281 | "go-build": { |
282 | 282 | "description": "Fix Go build errors", |
283 | | - "template": "{file:.opencode/commands/go-build.md}\n\n$ARGUMENTS", |
| 283 | + "template": "{file:commands/go-build.md}\n\n$ARGUMENTS", |
284 | 284 | "agent": "go-build-resolver", |
285 | 285 | "subtask": true |
286 | 286 | }, |
287 | 287 | "skill-create": { |
288 | 288 | "description": "Generate skills from git history", |
289 | | - "template": "{file:.opencode/commands/skill-create.md}\n\n$ARGUMENTS" |
| 289 | + "template": "{file:commands/skill-create.md}\n\n$ARGUMENTS" |
290 | 290 | }, |
291 | 291 | "instinct-status": { |
292 | 292 | "description": "View learned instincts", |
293 | | - "template": "{file:.opencode/commands/instinct-status.md}\n\n$ARGUMENTS" |
| 293 | + "template": "{file:commands/instinct-status.md}\n\n$ARGUMENTS" |
294 | 294 | }, |
295 | 295 | "instinct-import": { |
296 | 296 | "description": "Import instincts", |
297 | | - "template": "{file:.opencode/commands/instinct-import.md}\n\n$ARGUMENTS" |
| 297 | + "template": "{file:commands/instinct-import.md}\n\n$ARGUMENTS" |
298 | 298 | }, |
299 | 299 | "instinct-export": { |
300 | 300 | "description": "Export instincts", |
301 | | - "template": "{file:.opencode/commands/instinct-export.md}\n\n$ARGUMENTS" |
| 301 | + "template": "{file:commands/instinct-export.md}\n\n$ARGUMENTS" |
302 | 302 | }, |
303 | 303 | "evolve": { |
304 | 304 | "description": "Cluster instincts into skills", |
305 | | - "template": "{file:.opencode/commands/evolve.md}\n\n$ARGUMENTS" |
306 | | - }, |
307 | | - "promote": { |
308 | | - "description": "Promote project instincts to global scope", |
309 | | - "template": "{file:.opencode/commands/promote.md}\n\n$ARGUMENTS" |
310 | | - }, |
311 | | - "projects": { |
312 | | - "description": "List known projects and instinct stats", |
313 | | - "template": "{file:.opencode/commands/projects.md}\n\n$ARGUMENTS" |
| 305 | + "template": "{file:commands/evolve.md}\n\n$ARGUMENTS" |
314 | 306 | } |
315 | 307 | }, |
316 | 308 | "permission": { |
|
0 commit comments