Checkpoint/.cursor/rules/coding-practices.mdc

16 lines
596 B
Text

---
description:
globs:
alwaysApply: true
---
# Code Quality Standards
- Follow established industry best practices for each programming language
- Maintain consistent code style throughout the project
- Write self-documenting code with descriptive variable and function names
- Keep functions small and focused on a single responsibility
- Add appropriate error handling where necessary
- Include comments only for complex logic that requires additional context
- Write DRY (Don't Repeat Yourself) code that minimizes duplication
- Consider performance implications of implemented solutions