update ai prompt,

This commit is contained in:
louiscklaw
2025-04-22 18:53:41 +08:00
parent 64b5f89fdf
commit 633a1d3a4c
19 changed files with 511 additions and 58 deletions

View File

@@ -0,0 +1,22 @@
Hi, i need your help.
i am working on a nextjs react typescript project
please read the code in directory `/home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project/002_source/cms/src/db/QuizLPQuestions` (denoted `QuizLPQuestions`)
i want you to:
- list files from directory `QuizLPQuestions` and use them as template
- understand the relations (e.g. `lp` -> `lp_categories`, `lp` -> `COL_QUIZ_LP_CATEGORIES`)
- review if any remaining `lp` or `mf` exist in `cr` directory and please help to do replace it to `cr`. (e.g. `COL_QUIZ_LP_CATEGORIES` -> `COL_QUIZ_CR_CATEGORIES` )
- please create if you find any missing files/codes/constants
- using template, create the similar code for `cr` named `QuizCRCategories`
thank you
---
- I proofed the code is working already, what you need to do is refactoring of the `variables`, `functions`, `classes`, `constants` (`lp` -> `cr`)
- compare the difference between `lp` and `mf`,
- remember the differences and
- draft the new type `cr` (e.g. modify the `import` locations, variables, functions, classes, constants name etc.)