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, KISS, DRY, and YAGNI.
- Language-Specific Standards: Details best practices for variable/function naming, immutability, error handling, and async operations in TypeScript/JavaScript.
- React Best Practices: Covers component structure, custom hooks, state management, and conditional rendering.
- API Design Standards: Outlines conventions for REST APIs, response formats, and input validation using Zod.
- Performance & Testing: Includes guidelines for memoization, lazy loading, database query optimization, and test structure (AAA pattern).
- Use Case: A new developer joins a project and needs to understand the established coding conventions. They can refer to this Skill to quickly grasp the team's standards for writing clean, efficient, and maintainable code.
Quick Start
Explain the principle of 'Don't Repeat Yourself' (DRY) in coding.