What problem does it solve?
Inconsistent naming, disorganized file structures, and lack of adherence to best practices lead to unreadable, unmaintainable, and error-prone code. This skill provides universal code quality standards to prevent these issues.
Core Features & Use Cases
- Naming Conventions: Defines standards for variables (camelCase), functions (verbNoun), classes (PascalCase), files (kebab-case), and constants (UPPER_SNAKE_CASE).
- File Structure: Recommends organizing by feature, limiting file size (max 200 lines), and co-locating related files.
- Best Practices: Covers DRY (Don't Repeat Yourself), SOLID principles, explicit error handling, and meaningful comments.
- Use Case: When writing new code or reviewing existing code, refer to this skill to ensure adherence to universal naming conventions, file structure guidelines, and best practices, promoting high-quality and maintainable code across the team.
Quick Start
Use the code-standards skill to review the naming conventions for functions and variables.