split-large-file

Community

Split large source files into clean modules

Authorbennybennison
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Large source files that exceed 300 lines become hard to navigate, test, and maintain, especially when they bundle multiple classes or responsibilities.

Core Features & Use Cases

  • Boundary Identification: Detect natural split points such as separate classes, API groups, or distinct responsibilities.
  • Planning & Mapping: Generate a map of public symbols and import relationships before any file changes.
  • Automated Barrel Creation: Produce a re‑export module so existing imports continue to work after the split.
  • Validation Checklist: Verify line limits, circular imports, and test suite success after refactoring.

Quick Start

Ask the skill to split the file pricing.py into separate modules based on its classes and update imports accordingly.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: split-large-file
Download link: https://github.com/bennybennison/agent-toolkit/archive/main.zip#split-large-file

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.