What problem does it solve?
Codebases accumulate oversized files, duplicated logic, and bloated inline styles that make maintenance painful. This Skill reviews changed code for reuse, quality, and efficiency issues, scans the whole project for files exceeding per-language line limits, and proposes concrete split or simplification plans before fixing them with your confirmation.
Core Features & Use Cases
- Code Simplification Review: Detects duplicated code, over-abstraction, redundant logic, and dead code in changed files, then fixes the issues found.
- File Size Scanning: Scans the project (excluding node_modules, dist, build, and similar directories) against per-language thresholds such as 300 lines for Java/TypeScript/Python, 400 for Go, and 200 for Vue/TSX/JSX, producing a violation report with split suggestions.
- CSS Extraction Checks: Flags Vue/TSX/JSX files whose inline <style> blocks exceed 30 lines or use non-scoped global styles, recommending extraction to assets/styles/.
- Use Case: After a large feature branch, run a full-project scan to get a table of oversized files with split recommendations, confirm the fixes, and let the Skill split files while preserving original exports and running the project test suite.
Quick Start
Ask the AI to run a size check across the whole project and list every file exceeding its line-count threshold with split suggestions.