preen-file-limits
Installation
SKILL.md
Preen File Limits
Proactively search for files exceeding project size limits (500 lines or 20,000 bytes) and refactor them into smaller, more modular components or modules.
When to Run
Run this skill when maintaining code quality or during slack time. It searches the entire codebase for files that exceed the project's size limits as defined in scripts/checks/checkFileLimits.sh.
Discovery Phase
Search all files for those exceeding size limits:
# Find all files exceeding 500 lines or 20,000 bytes
./scripts/checks/checkFileLimits.sh --all 2>&1 | head -40