What problem does it solve?
This Skill provides a comprehensive guide to universal coding standards, best practices, and patterns, ensuring code readability, maintainability, and efficiency across TypeScript, JavaScript, React, and Node.js projects.
Core Features & Use Cases
- Code Quality Principles: Covers readability, KISS, DRY, and YAGNI.
- Language-Specific Standards: Details best practices for TypeScript/JavaScript (naming, immutability, error handling, async/await, type safety) and React (component structure, custom hooks, state management, conditional rendering).
- API Design: Outlines REST conventions, response formats, and input validation.
- 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: Covers memoization, lazy loading, database query optimization, and testing patterns.
- Code Smell Detection: Identifies and advises on avoiding long functions, deep nesting, and magic numbers.
- Use Case: A new developer joins a project and needs to quickly understand the team's coding conventions. They consult this Skill to align their work with established standards for TypeScript, React, and API design.
Quick Start
Review the coding standards for TypeScript and React components.