Initial commit
This commit is contained in:
10
.cursor/rules/architecture.mdc
Normal file
10
.cursor/rules/architecture.mdc
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
description: General structure of the app
|
||||
globs:
|
||||
---
|
||||
|
||||
# Structure
|
||||
|
||||
- Where possible, the app should be separated into an API and frontend components.
|
||||
- Tests should be written as the app is developed.
|
||||
- Use package.json to ensure you're using the correct packages to implement features and not installing redundant packages or reinventing the wheel.
|
||||
9
.cursor/rules/code.mdc
Normal file
9
.cursor/rules/code.mdc
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
description: Code rules
|
||||
globs:
|
||||
---
|
||||
|
||||
# Code
|
||||
|
||||
- This app uses Sveltekit. Where possible, the app should use reusable components and Svelte features for reactivity.
|
||||
- This app is written in Typescript.
|
||||
10
.cursor/rules/sql.mdc
Normal file
10
.cursor/rules/sql.mdc
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
description: Implementing database functions
|
||||
globs:
|
||||
---
|
||||
|
||||
# Your rule content
|
||||
|
||||
- This app uses DrizzleORM
|
||||
- The app should use transactions and connection pooling where possible
|
||||
- Utmost care needs to be taken to prevent SQL injection
|
||||
9
.cursor/rules/style.mdc
Normal file
9
.cursor/rules/style.mdc
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
description: Styling
|
||||
globs:
|
||||
---
|
||||
|
||||
# Styling
|
||||
|
||||
- Where possible, the app should use shadcn for svelte components
|
||||
= No plain CSS should be written - only Tailwind
|
||||
Reference in New Issue
Block a user