Skip to content

Commit 7b427ad

Browse files
committed
ai: configure repomix
1 parent a4ac520 commit 7b427ad

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

.cursor/rules/code-review.mdc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
description:
3+
globs:
4+
alwaysApply: true
5+
---
6+
Run this command to get a code review and help from another LLM, and do it often. Be specific and detailed about the problem and solutions you have already tried. Remind it to remind you to stay focused.
7+
8+
"repomix --style plain . && cat repomix-output.txt | llm -s "You are a senior software engineer doing a thorough code review. This is a CLI tool that combines repomix and llm to analyze codebases. Help the user fix their specific problem. Remind the user to stay focused, not to add extraneous code, features or functionality unless it's required or requested. " -m gemini-2.0-flash "{{Add a description of your problem here}}""

.cursor/rules/suggest-lodash.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ description:
33
globs: *.ts
44
alwaysApply: false
55
---
6-
When you suggest code changes that need to use utility functions such as Object.values, Object.entries, etc., please default to using lodash (_) instead of the Object. syntax. Do this unless I tell you otherwise.
6+
When you suggest code snippets that contain utility functions such as `Object.values`, `Object.entries`, etc., use lodash (_) instead of the `Object.` syntax. Do so unless I tell you otherwise.

repomix.config.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"$schema": "https://repomix.com/schemas/latest/schema.json",
3+
"output": {
4+
"filePath": "repomix-output.txt",
5+
"style": "plain"
6+
},
7+
"ignore": {
8+
"useGitignore": true,
9+
"useDefaultPatterns": true,
10+
"customPatterns": []
11+
},
12+
"include": ["{scripts,src,tests}/**"],
13+
"security": {
14+
"enableSecurityCheck": true
15+
}
16+
}

0 commit comments

Comments
 (0)