| # 10. Coding Standards | |
| ### 10.1 Existing Standards Compliance | |
| **Code Style:** Follow existing Python (PEP 8) and JavaScript (ESLint) standards | |
| **Linting Rules:** Use existing linting configurations | |
| **Testing Patterns:** Follow existing pytest and React testing patterns | |
| **Documentation Style:** Follow existing docstring and JSDoc patterns | |
| ### 10.2 Critical Integration Rules | |
| - **Existing API Compatibility:** New endpoints must follow existing authentication patterns | |
| - **Database Integration:** Use existing Supabase connection and query patterns | |
| - **Error Handling:** Follow existing error response format | |
| - **Logging Consistency:** Use existing logging patterns | |