# Code Quality

- Keep code readable and maintainable.
- Prefer TypeScript-safe patterns when working in TypeScript projects.
- Reuse existing components, utilities, hooks, services, and API clients before creating new ones.
- Add error handling for network/API/database operations.
- Avoid unnecessary dependencies.
- Run or suggest the most relevant validation command after changes, such as lint, typecheck, test, or build.
- Do not create test scripts unless explicitly requested.