Skip to content

Commit fe1ef4a

Browse files
peter-jerry-yebobzhang
authored andcommitted
feat: add custom promopts for copilot
1 parent 443fb5d commit fe1ef4a

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
mode: agent
3+
model: GPT-4o
4+
description: Review the consistency between APIs
5+
---
6+
7+
Your goal is to review the consistency between similar APIs. Ask for the type
8+
names (at least 2) if not provided.
9+
10+
Find the definition of the type, figure out the directory it locates, and review the `pkg.generated.mbti` file.
11+
12+
**Criteria**
13+
14+
1. Clarity and readability of the interface definitions.
15+
2. Consistency in naming conventions and structure.
16+
3. Usability and functionality.
17+
18+
**Guidelines**
19+
20+
1. Only keep necessary APIs, such as those can only be defined internally to
21+
achieve the best performance.
22+
2. Follow the existing naming convention of other programming language standard
23+
libraries for familiarity, but prioritize the consistency.
24+
25+
Be specific on the review. Point out the API that is problematic, together with
26+
arguments, and suggested improvements.

0 commit comments

Comments
 (0)