What problem does it solve?
This Skill provides a comprehensive set of universal coding standards and best practices to ensure code quality, maintainability, and consistency across TypeScript, JavaScript, React, and Node.js projects.
Core Features & Use Cases
- Code Quality Enforcement: Establishes guidelines for readability, simplicity, DRY, and YAGNI principles.
- Language-Specific Standards: Details best practices for naming conventions, immutability, error handling, and async operations in TypeScript/JavaScript.
- React Best Practices: Covers component structure, custom hooks, state management, and conditional rendering.
- API Design: Outlines conventions for REST APIs, response formats, and input validation.
- File Organization & Documentation: Recommends project structure, file naming, and commenting strategies.
- Performance & Testing: Includes guidance on memoization, lazy loading, database queries, and testing methodologies.
- Use Case: When starting a new feature, use this Skill to review and apply the recommended standards to ensure the code is clean, efficient, and easy for other developers to understand.
Quick Start
Apply the coding standards to the provided TypeScript code snippet.