- After making changes, run
pnpm format && pnpm lint && pnpm testat the root of the project - Always run this command before finishing a task to ensure the application isn't broken
- Don't leave comments that don't add value
- Don't duplicate code unless there's a very good reason; keep the same logic in one place
- Anytime you make changes that affect copy or add new text, it has to be reflected in all translation files
- If there is a global singleton of a struct, only use it inside a method while properly initializing it, unless explicitly specified otherwise
- When modifying the UI, don't add random colors that are not controlled by
src/lib/themes.ts