-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clinerules
27 lines (22 loc) · 1.02 KB
/
.clinerules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# .clinerules
## Project: Rubric Generate LLM
### General
- The project has been migrated to Next.js and integrated with Neon DB.
- The Gemini API is used for rubric generation.
- The project uses Tailwind CSS for styling.
- The project uses Clerk.dev for authentication.
### Tool Usage
- Use `search_files` to find import statements and update them.
- Use `write_to_file` to create new files and directories.
- Use `search_and_replace` to update import paths and other code changes.
- Use `execute_command` to run `npm install` and `npm run build`.
### Challenges
- PostCSS configuration errors during build.
- Type errors related to import paths.
### Solutions
- Created `next-env.d.ts` to resolve `import.meta.env` errors.
- Created `src/hooks/use-toast.ts` to resolve import errors.
- Created `src/lib/rubricGenerator.ts` to resolve import errors.
- Added `"use client"` directive to client components.
- Added explicit type casting to resolve type errors.
- Added checks for null and undefined values.