Coding Standards
Code Quality Standards
- Write clean, readable code
- Follow language-specific style guides
- Include comprehensive tests
- Document complex logic
- Use meaningful variable and function names
- Keep functions small and focused
- Avoid code duplication
Testing Requirements
- Unit tests for business logic
- Integration tests for API endpoints
- End-to-end tests for critical user flows
- All tests must pass before PR merge
- Maintain good test coverage
Code Review Guidelines
- Review for functionality, not just style
- Check for security vulnerabilities
- Ensure proper error handling
- Verify test coverage
- Provide constructive feedback
- Approve only when confident in the changes