What problem does it solve?
The skill provides design principles and best practices to help developers write correct, maintainable code across coding tasks, reviews, and refactoring.
Core Features & Use Cases
- Prioritize pure functions and separate side effects to keep business logic clean.
- Use immutable data and type-level constraints to express valid states and prevent bugs.
- Apply dependency injection and boundary-layer design to improve testability and modularity.
- Favor early returns and block scoping to improve readability and reduce nesting.
- Adhere to core design principles: YAGNI, DRY (with pragmatic restraint), and single responsibility.
- Avoid common anti-patterns such as swallowing exceptions and mutable globals to improve reliability.
Quick Start
Apply these principles in your next coding task to ensure correct, maintainable code from day one.