summaryrefslogtreecommitdiff
path: root/.cursor
diff options
context:
space:
mode:
Diffstat (limited to '.cursor')
-rw-r--r--.cursor/rules/evcp-project-rules.mdc22
-rw-r--r--.cursor/rules/table-guide.mdc4
2 files changed, 26 insertions, 0 deletions
diff --git a/.cursor/rules/evcp-project-rules.mdc b/.cursor/rules/evcp-project-rules.mdc
new file mode 100644
index 00000000..cbd3e44d
--- /dev/null
+++ b/.cursor/rules/evcp-project-rules.mdc
@@ -0,0 +1,22 @@
+---
+alwaysApply: true
+---
+1. tech stacks: nextjs 15, postgres 17 with drizzle-orm, shadcn-ui, react 18.3.1 full stack
+2. user info: Intermediate English. Hardcoded text and comment can be written in English.
+
+specific:
+- Above Nextjs 15, exported server action functions should be async function.
+- Do not use shadcn ui ScrollArea Function in Dialog component. (It has error now.)
+- Most packages are already installed. If package installation required, check package.json file first.
+
+design:
+- If you can suppose some design patterns for solve the problem in prompt, notify it.
+- Check component/common/* for shared components.
+For these tasks, instruct the user rather than doing
+
+limit:
+- About CLI task, just notify. User will operate CLI. For example, 'npx drizzle-kit generate & migrate', 'npm run dev'.
+- You can't read and edit .env.* files.
+
+limit-solution:
+- For limited tasks, instruct the user rather than doing them yourself. \ No newline at end of file
diff --git a/.cursor/rules/table-guide.mdc b/.cursor/rules/table-guide.mdc
new file mode 100644
index 00000000..7b240413
--- /dev/null
+++ b/.cursor/rules/table-guide.mdc
@@ -0,0 +1,4 @@
+---
+alwaysApply: false
+---
+If table management is required, see @/components/client-table-v2/GUIDE-v3.md \ No newline at end of file