What problem does it solve?
This Skill ensures code quality and consistency across TypeScript, JavaScript, React, and Node.js projects by enforcing universal coding standards and best practices.
Core Features & Use Cases
- Universal Coding Standards: Adheres to established conventions for variable naming, function structure, immutability, error handling, and async/await patterns.
- React Best Practices: Includes guidelines for component structure, custom hooks, state management, and conditional rendering.
- API Design Standards: Defines REST API conventions, response formats, and input validation.
- File Organization: Provides a project structure template and file naming conventions.
- Comments & Documentation: Offers guidance on effective commenting and JSDoc for public APIs.
- Performance Best Practices: Covers memoization, lazy loading, and efficient database queries.
- Testing Standards: Emphasizes the AAA pattern for test structure and clear naming conventions.
- Code Smell Detection: Identifies common anti-patterns like long functions, deep nesting, and magic numbers.
Quick Start
Run the coding-standards skill to review your codebase and ensure it adheres to best practices.