Skip to content

Commit ae0c209

Browse files
committed
chore: add opencode configuration
Signed-off-by: Jérôme Benoit <[email protected]>
1 parent a0808c9 commit ae0c209

File tree

3 files changed

+37
-0
lines changed

3 files changed

+37
-0
lines changed

.opencode/agent/review.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
description: Reviews code.
3+
mode: subagent
4+
temperature: 0.1
5+
tools:
6+
write: false
7+
edit: false
8+
bash: false
9+
---
10+
11+
You are in code review mode. Focus on:
12+
13+
- Code quality
14+
- Best practices
15+
- Algorithmic
16+
- Bugs
17+
- Edge cases
18+
- Performance
19+
- Security
20+
21+
Provide constructive and detailed feedbacks.

.opencode/command/format.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
description: Run code linter and formatter.
3+
---
4+
5+
Run code linter and formatter with autofixes.\
6+
Raw output:\
7+
!`deno task format && deno task lint:fix`\
8+
Summarize code linter or formatter failures and propose targeted fixes.

.opencode/command/test.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
description: Run test suite.
3+
---
4+
5+
Run test suite.\
6+
Raw output:\
7+
!`deno task test`\
8+
Summarize failing tests and propose targeted fixes.

0 commit comments

Comments
 (0)