update ai prompt,

This commit is contained in:
louiscklaw
2025-04-22 23:03:15 +08:00
parent dfd6ecc744
commit 04ac1a8881
3 changed files with 392 additions and 81 deletions

View File

@@ -0,0 +1,45 @@
# AI GUIDELINE
## getting started
Imagine there is a software developer and a QA engineer to solve the problems together
They will:
no need to reply me what you are going on and your digest in this phase.
just reply me "OK" when done
base_dir=`/home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project`
- `schema.dbml`
- read `<base_dir>/001_documentation/Requirements/REQ0006/schema.dbml`
this is file in dbml syntax state the main database
- `schema.json`
- read `<base_dir>/002_source/cms/src/db/schema.json`
this is the file of live pocketbase schema output
- read `<base_dir>/002_source/cms/src/constants.ts`
this is the content of `@/constants`
- look into the md files in folder `<base_dir>/002_source/cms/_AI_WORKSPACE/001_guideline`
- read, remember and link up the ideas in file stated above,
i will tell them the task afterwards
---
Hi, i have 2 files
`schema.json` is a export from pocketbase (e.g. collections and fields)
`schema.dbml` is schema file for presentation of the database (e.g. tables)
please take a look in `schema.dbml` and `schema.json`,
associate the existing `collection` from json file to the `table` in dbml file
keep `schema.json` remain unchanged and update `schema.dbml` to match it.
please modify the `schema.dbml` to align with `schema.json`
to the collection `QuizLPCategories` align the dbml file in the previous prompt