File Refactor

Automatically optimize and split large files that exceed 600 lines. Use when a file is too large (over 600 lines), when you need to decouple a monolithic module, when a .tsx/.ts or .py file has mixed concerns (types, utils, hooks/components, CLI handlers, formatters), or when splitting a screen component or service module into smaller files. Applies to React/TypeScript frontends and Python backend modules.

yugasun c90c056 2 files · 10.4 KB Updated

File contents

yugasun/skills/tree/main/skills/file-refactor commit c90c056cab

Frequently asked questions

npx skillmds add yugasun/file-refactor