File tree Expand file tree Collapse file tree 2 files changed +26
-4
lines changed
Expand file tree Collapse file tree 2 files changed +26
-4
lines changed Original file line number Diff line number Diff line change @@ -38,17 +38,13 @@ const definition: AgentDefinition = {
3838 toolName : 'run_terminal_command' ,
3939 input : {
4040 command : 'git diff' ,
41- process_type : 'SYNC' ,
42- timeout_seconds : 30 ,
4341 } ,
4442 }
4543
4644 yield {
4745 toolName : 'run_terminal_command' ,
4846 input : {
4947 command : 'git log --oneline -10' ,
50- process_type : 'SYNC' ,
51- timeout_seconds : 30 ,
5248 } ,
5349 }
5450
Original file line number Diff line number Diff line change 1+ import type { AgentDefinition } from './types/agent-definition'
2+
3+ const definition : AgentDefinition = {
4+ id : 'simple-code-reviewer' ,
5+ displayName : 'Simple Code Reviewer' ,
6+ publisher : 'james' ,
7+ model : 'anthropic/claude-sonnet-4' ,
8+ toolNames : [
9+ 'read_files' ,
10+ 'code_search' ,
11+ 'run_terminal_command' ,
12+ 'spawn_agents' ,
13+ ] ,
14+ spawnableAgents : [ 'codebuff/file-explorer@0.0.2' ] ,
15+ spawnerPrompt : 'Spawn when you need to review local code changes' ,
16+ systemPrompt :
17+ 'You are an expert software developer. Your job is to review local code changes and give helpful feedback.' ,
18+ instructionsPrompt : `Instructions:
19+ 1. Use git diff to get the changes, but also get untracked files.
20+ 2. Read the files that have changed.
21+ 3. Spawn a file explorer to find all related and relevant files.
22+ 4. Read all the files that could be relevant to the changes.
23+ 5. Review the changes and suggest improvements.` ,
24+ }
25+
26+ export default definition
You can’t perform that action at this time.
0 commit comments