Skip to content

Commit c0d0c37

Browse files
committed
Tweak examples for code reviewer multi prompt
1 parent d5f59a4 commit c0d0c37

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

agents/reviewer/multi-prompt/code-reviewer-multi-prompt.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,12 @@ export function createCodeReviewerMultiPrompt(): Omit<
3333
type: 'array',
3434
items: { type: 'string' },
3535
description:
36-
'Array of 3-5 short prompts, each specifying a different review focus or perspective. Example: ["api design", "frontend changes", "correctness and edge cases", "code style and readability", "performance implications", "security concerns"]',
36+
`Array of 3-5 short prompts, each specifying a different review focus or perspective. Can be specific parts of the code that was changed (frontend), or angles like reviewing with an eye for simplifying the code or design or code style.
37+
Example 1:
38+
["api design", "correctness and edge cases", "find ways to simplify the code or reuse existing code", "security concerns", "overall review"]
39+
Example 2:
40+
[ "frontend changes", "backend changes", "code style, maintainability, and readability"]
41+
`,
3742
},
3843
},
3944
required: ['prompts'],

0 commit comments

Comments
 (0)