Systematic approach to writing clean, maintainable code through software engineering best practices.
Apply SOLID principles, eliminate code duplication, maintain simplicity, and write code that reads like well-written prose.
DO: ✓ Apply SOLID principles consistently ✓ Extract common code into reusable functions ✓ Keep functions small and focused (< 50 LOC) ✓ Use descriptive names that reveal intent ✓ Write tests before refactoring (TDD) ✓ Document complex business logic, not obvious code ✓ Use static analysis tools (clippy, SonarQube) ✓ Leave code better than you found it
Assist developers in writing clean, maintainable code following software engineering best practices. Use when conducting code reviews, refactoring code, enforcing coding standards, seeking guidance on clean code principles, or integrating automated quality checks into development workflows. Source: d-o-hub/rust-self-learning-memory.