What problem does it solve?
Inconsistent code quality, unformatted files, linting errors, or failing tests can lead to technical debt and slow down development. This Skill acts as a comprehensive quality gate, automating all necessary checks to ensure code meets project standards before any commit, pull request, or release.
Core Features & Use Cases
- Mandatory Checks: Enforces formatting (Prettier), linting (ESLint), unit tests (Jest), code coverage (≥ 80%), and i18n synchronization, ensuring a high standard.
- Sequential Workflow: Guides through a step-by-step process to efficiently identify and fix quality issues, streamlining your development.
- Pre-Commit Validation: Ensures that no low-quality code makes it into the repository, maintaining a high standard across the project and reducing review cycles.
- Use Case: Before pushing your changes for a code review, activate this Skill to automatically verify all quality aspects. It will format your code, fix linting issues, run tests, check coverage, and ensure translations are in sync, giving you confidence in your submission.
Quick Start
Run all quality checks in sequence
npm run format:check
npm run lint
npm test
npm run i18n:compare
Or use the combined verification script
npm run verify