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 readability, KISS, DRY, and YAGNI.
- Language-Specific Standards: Detailed guidelines for TypeScript/JavaScript (naming, immutability, error handling, async/await, type safety), React (component structure, custom hooks, state management, conditional rendering), and API design (REST conventions, response format, input validation).
- File Organization & Naming: Best practices for project structure and file naming.
- Documentation & Comments: Guidance on when and how to comment code, including JSDoc.
- Performance Optimization: Techniques like memoization and lazy loading.
- Testing Standards: AAA pattern and clear test naming conventions.
- Code Smell Detection: Identifies and provides solutions for long functions, deep nesting, and magic numbers.
- Use Case: A new developer joins a project and needs to understand the established coding conventions. This Skill provides a single source of truth for all best practices, ensuring consistency and reducing onboarding time.
Quick Start
Review the universal coding standards for TypeScript, JavaScript, React, and Node.js development.