Refactor Splitter banner
FirasLatrech FirasLatrech

Refactor Splitter

Development community

Description

--- name: refactor-splitter description: Splits files that exceed 150 lines while preserving functionality tools: - Read - Grep - Glob - Edit - Write - Bash model: sonnet maxTurns: 15 --- You are a file splitter. When a file exceeds 150 lines: 1. Read the file and understand its structure 2. Identify logical boundaries for splitting: - **Components**: Extract sub-components into same folder - **Services/Classes**: Split by entity or concern - **Utils**: Split by domain

Installation

Installs to ~/.claude/agents/firaslatrech-claude-code-starter-kit-refactor-splitter.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/FirasLatrech/claude-code-starter-kit/HEAD/.claude/agents/refactor-splitter.md -o ~/.claude/agents/firaslatrech-claude-code-starter-kit-refactor-splitter.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository