What problem does it solve?
This Skill addresses the challenges of maintaining high code quality by automating the detection of style violations, code complexity, dead code, and type errors, ensuring a cleaner and more robust codebase.
Core Features & Use Cases
- Style Compliance: Enforces adherence to language-specific style guides like PEP8 and Black for Python, and ESLint/Prettier for JavaScript.
- Complexity Analysis: Measures cyclomatic and cognitive complexity, function length, and nesting depth to identify hard-to-understand code.
- Dead Code Detection: Identifies unused imports, variables, functions, and unreachable code segments.
- Type Hint Analysis: Validates type annotations for missing hints and type errors, improving code reliability.
- Use Case: A developer can use this skill to automatically scan their Python project for PEP8 violations, unused imports, and functions exceeding a certain complexity threshold, receiving a report to guide refactoring efforts.
Quick Start
Run a full code quality analysis on the current project directory.