What problem does it solve?
This Skill establishes a comprehensive code quality workflow, automating checks for linting, formatting, and type safety before every commit and push. It ensures consistent code style, prevents common errors, and maintains a high standard of code health across the project.
Core Features & Use Cases
- Automated Git Hooks: Integrates Husky to run ESLint, Prettier, and TypeScript checks automatically on
git commit and git push.
- 2-Tier Type Safety: Defines strict type safety standards for production code and a pragmatic approach for tests/mocks, balancing rigor with practicality.
- Comprehensive Error Resolution: Provides detailed diagnostic steps and fixes for common type errors, linting issues, and hook failures, streamlining the debugging process.
- Use Case: Before creating a pull request, use this Skill to automatically format your code with Prettier, fix ESLint issues, and verify TypeScript types. This ensures your code adheres to project standards and passes CI checks on the first try.
Quick Start
Run all code quality checks (Prettier, ESLint, TypeScript) on the entire codebase. Auto-fix any formatting or linting issues found.