What problem does it solve?
This Skill provides a comprehensive set of universal coding standards, best practices, and patterns to ensure high-quality, readable, and maintainable code across TypeScript, JavaScript, React, and Node.js projects.
Core Features & Use Cases
- Code Quality Principles: Enforces readability, KISS, DRY, and YAGNI principles.
- Language-Specific Standards: Detailed guidelines for TypeScript/JavaScript (naming, immutability, error handling, async/await, type safety), React (component structure, hooks, state management, conditional rendering), and API design (REST conventions, response formats, validation).
- File Organization & Documentation: Best practices for project structure, file naming, commenting, and JSDoc.
- Performance & Testing: Recommendations for memoization, lazy loading, efficient database queries, and testing methodologies.
- 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 understand the established coding conventions. They can refer to this Skill to quickly align with the team's standards for writing new code or refactoring existing code.
Quick Start
Review the coding standards for TypeScript and React development.