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, simplicity (KISS), reusability (DRY), and avoiding premature implementation (YAGNI).
- Language-Specific Standards: Detailed guidelines for naming conventions, immutability, error handling, and async operations in TypeScript/JavaScript.
- Framework Best Practices: Recommendations for React component structure, custom hooks, state management, and conditional rendering.
- API Design: Standards for RESTful API conventions, consistent response formats, and input validation using Zod.
- File Organization & Documentation: Guidelines for project structure, file naming, and effective commenting (JSDoc).
- Performance & Testing: Best practices for memoization, lazy loading, efficient database queries, and structured testing (AAA pattern).
- Code Smell Detection: Identifies and advises against common anti-patterns like 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 serves as a definitive guide, ensuring consistency and reducing onboarding time.
Quick Start
Review the coding standards for TypeScript and React development.