diff --git a/.cursor/rules/general.mdc b/.cursor/rules/general.mdc index 545b96d..1721dab 100644 --- a/.cursor/rules/general.mdc +++ b/.cursor/rules/general.mdc @@ -5,4 +5,9 @@ alwaysApply: true When working with this project, follow these rules: - NEVER do anything i didn't ask you for! -- Use double quotes ("") for strings. \ No newline at end of file +- Use double quotes ("") for strings. +- Do NOT "test the implementation" when you are done. The only exception is when you + need to typecheck or build the app, in that case: + + - To typecheck, run "npm run frontend:typecheck". + - To build, run "npm run frontend:build". \ No newline at end of file diff --git a/.cursor/rules/ui.mdc b/.cursor/rules/ui.mdc index 737cd03..c414568 100644 --- a/.cursor/rules/ui.mdc +++ b/.cursor/rules/ui.mdc @@ -4,6 +4,6 @@ alwaysApply: true When you work with UI: -1. Use MDUI components as HTML elements +1. Use MDUI components as HTML elements with the name "mdui-***". In JSX/TSX use the same elements and props as in HTML. 2. Do NOT dynamically create HTML if it's going to be loaded when the page loads, instead put it statically in the HTML. 3. The supporting text slot for MDUI lists is "description". \ No newline at end of file