refactor-file
CommunityBehavior-preserving TS refactoring at scale.
Authoriradkot
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill provides a structured, safe, and scalable approach to refactoring TypeScript codebases while preserving existing behavior, tests, and interfaces. It emphasizes SOLID principles, performance-oriented design, and feature-folder organization to improve maintainability without introducing regressions.
Core Features & Use Cases
- Guided, behavior-preserving refactor process that preserves outputs, timing, and side effects.
- Focused on TypeScript projects with large files, long functions, and complex nesting, offering guidelines to extract constants, helpers, rename APIs, and restructure into feature folders.
- Supports updating tests, types, imports, and usages in a coordinated refactor workflow.
Quick Start
Identify the target file and run the structured refactor plan to extract helpers and constants while preserving behavior.
Dependency Matrix
Required Modules
None requiredComponents
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: refactor-file Download link: https://github.com/iradkot/shaniDms22/archive/main.zip#refactor-file Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.