What problem does it solve?
Maintaining high code quality across a project is challenging, requiring consistent checks for linting, type safety, unused code, and common code smells. This Skill provides automated tools and patterns to streamline code quality reviews.
Core Features & Use Cases
- Linting Analysis: Runs linting tools to identify style violations, potential errors, and auto-fix suggestions.
- Type Safety Analysis: Detects TypeScript type errors, missing annotations, and other type-related issues.
- Unused Code Detection: Identifies unused exports, dependencies, and dead code to reduce bundle size and improve clarity.
- Code Smell Detection: Provides patterns to find long functions, deep nesting, missing error handling, poor type safety (
any usage), and debug statements.
- Use Case: Perform a comprehensive code quality review of the
src/ directory, identifying linting errors, type errors, unused code, and debug statements, then suggest improvements to elevate the codebase.
Quick Start
Run bash ~/.claude/plugins/cache/review/scripts/review-lint.sh to get a linting report for the project.