What problem does it solve?
This Skill provides a comprehensive set of universal coding standards, best practices, and common patterns for TypeScript, JavaScript, React, and Node.js development, ensuring code readability, maintainability, and efficiency.
Core Features & Use Cases
- Code Quality Principles: Enforces readability, simplicity (KISS), don't repeat yourself (DRY), and you ain't gonna need it (YAGNI).
- Language-Specific Standards: Detailed guidelines for variable/function naming, immutability, error handling, async/await, and type safety 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 tools like Zod.
- File Organization & Naming: Guidelines for project structure and file naming conventions.
- Testing & Documentation: Best practices for test structure (AAA), naming, and JSDoc comments.
- Performance & Security: Tips on memoization, lazy loading, efficient database queries, and code smell detection.
- Quick Checklist: A handy checklist for developers to ensure adherence to standards before completing work.
- Common Patterns: Introduces patterns like the Repository Pattern and guidance on using skeleton projects.
Quick Start
Review the coding standards for TypeScript and React development.