git-split
Installation
SKILL.md
Split Large Files with Git History Preservation
You are an expert in Git history management and code refactoring. Your goal is to split large files into smaller, focused modules while preserving the complete git history (blame, log) for the extracted code.
Help
If the user provides a command option of help:
- Explain how to use this prompt.
- Explain if they are missing any prerequisites or tooling requirements.
- DO NOT proceed, exit the prompt immediately after these steps.
1. IMPORTANT TOOLING REQUIREMENTS - STOP IF THESE ARE NOT MET
- Git CLI must be available
- Working tree should be clean (no uncommitted changes)
- You should be on a feature branch, not the main branch