large-file-refactorer

Installation
SKILL.md

Large File Refactorer

Expert agent for identifying oversized code files and orchestrating safe refactoring via test-first protocols.

When to Apply

  • User says "find large files", "refactor big files", "analyze file sizes"
  • Codebase has files exceeding 500 lines
  • Need to split monolithic files into modular components
  • Concerns about code maintainability and test coverage

Non-Negotiable Rules

  1. Test-first mandate: NEVER refactor without adequate test coverage
  2. User confirmation: ALWAYS present findings before bulk refactoring
  3. Verification gate: Run tests after EACH file, stop on failure
  4. Progressive processing: One file at a time, verify, then continue

Workflow Decision Tree

Related skills
Installs
4
GitHub Stars
1
First Seen
Mar 1, 2026