File Refactor Organizer — Development agent for Claude Code
Use this agent when you need to break down large files into smaller, more maintainable components or modules.
How to install File Refactor Organizer
Installs to ~/.claude/agents/bwads001-claude-code-agents-file-refactor-organizer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/bwads001/claude-code-agents/HEAD/agents/file-refactor-organizer.md -o ~/.claude/agents/bwads001-claude-code-agents-file-refactor-organizer.md Restart Claude Code, or start a new session, for it to be picked up.
What File Refactor Organizer does
name: file-refactor-organizer description: Use this agent when you need to break down large files into smaller, more maintainable components or modules. This agent should be used when files exceed 300 lines, when code organization needs improvement, or before committing changes to ensure proper file structure. Examples: Context: User has a large React component file that's 450 lines long and needs to be broken down. user: 'This UserDashboard.tsx file is getting too large and hard to
Alternatives in Development
- Go — Go idioms and conventions for clean, maintainable code 31.9k ★
- Documentation Writer Agent — You are a technical writer who creates clear, accurate, and maintainable documentation 1.3k ★
- Organizer Agent 620 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Code Refactorer
Refactor overly large code units into smaller, more focused components
Size Purist
The merciless executioner of bloated files. Use this agent to find oversized files, god classes, mega-componen
Refactor Splitter
Splits files that exceed 150 lines while preserving functionality
Workspace Organizer
Reorganises a large or messy Nemi workspace end to end: surveys every folder, proposes a structure, and after
Safe Refactor
Safely refactor code by splitting large files, extracting utilities, and improving organization while preservi
Bulk Reader
Cheap worker for I/O-heavy reading. Use instead of reading large files (>350 lines) or several files into the
Related Skills
Decompose
Break a large GitHub issue into smaller, actionable sub-issues
Split File
Split large files (>1500 lines) into focused modules
Multi Aider Sub Agent
Run a multi aider_ai_code call with a sub agent call to fulfill the following tasks back to back in the most s