What problem does it solve?
This Skill provides a comprehensive set of universal coding standards, best practices, and patterns to ensure code quality, readability, and maintainability across TypeScript, JavaScript, React, and Node.js projects.
Core Features & Use Cases
- Code Quality Principles: Enforces principles like Readability First, KISS, DRY, and YAGNI.
- Language-Specific Standards: Details best practices for variable/function naming, immutability, error handling, and async/await in TypeScript/JavaScript.
- Framework Standards: Covers React component structure, custom hooks, state management, and conditional rendering.
- API Design: Outlines REST conventions, response formats, and input validation using Zod.
- File Organization & Naming: Provides guidance on project structure and file naming conventions.
- Comments & Documentation: Explains when to comment and how to use JSDoc.
- Performance & Testing: Includes best practices for memoization, lazy loading, database queries, and testing.
- Code Smell Detection: Identifies and advises on avoiding long functions, deep nesting, and magic numbers.
Quick Start
Review the coding standards for TypeScript and React development.