- Keep answers short and concise.
- Don't start implementing, designing, or modifying code unless explicitly asked to.
- Use newspaper style: public/primary functions at the top of the file, private/utility functions at the bottom of the file.
- Comment sparsely. Comments should explain the WHY behind the code, not the code itself.
- Add imports at the top of the file. Valid exceptions: dynamic
import(). - No
anytype unless absolutely necessary. Instead, preferunknownorneverwhere a narrow type cannot be provided.
- No hardcoded text in the user interface. Instead, use
react-i18nextand a translation label in./locales/en.json. - No inline styles. Valid exceptions: dynamic CSS variables.