general-best-practices
Installation
SKILL.md
General Best Practices
A comprehensive collection of software development best practices applicable across various technology stacks and project types.
Code Quality
Readability and Maintainability
Write short, focused functions with a single responsibility.
Use clear, descriptive names for variables, functions, and classes.
Avoid deep nesting; prefer early returns and guard clauses.
Keep functions and methods to a reasonable length (typically under 30 lines).
Error Handling
Always handle errors explicitly rather than silently ignoring them.