What problem does it solve?
This Skill provides a comprehensive guide to universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development, ensuring code readability, maintainability, and performance.
Core Features & Use Cases
- Code Quality Principles: Outlines key principles like readability, simplicity, DRY, and YAGNI.
- TypeScript/JavaScript Standards: Covers variable naming, function naming, immutability, error handling, async/await best practices, and type safety.
- React Best Practices: Focuses on component structure, custom hooks, state management, and conditional rendering.
- API Design Standards: Defines REST API conventions, response format, and input validation.
- File Organization: Provides a clear project structure and file naming conventions.
- Comments & Documentation: Offers guidelines for effective code comments and JSDoc.
- Performance Best Practices: Covers memoization, lazy loading, and efficient database queries.
- Testing Standards: Emphasizes AAA test structure and clear test naming.
- Code Smell Detection: Identifies common anti-patterns like long functions, deep nesting, and magic numbers.
Quick Start
Use the coding-standards skill to check the quality of your codebase and follow best practices for TypeScript and JavaScript development.