Refactoring

Use when the user asks to refactor, restructure, or modularize an existing codebase. Extracts monolithic files into well-organized modules following single-responsibility principles, audits multi-repository workspaces, creates tests first (TDD), and ensures extracted code is documented, logged, and verified. Always analyze and plan module boundaries before touching code.

mikaeltorni 2beed0a 9.8 KB Updated

File contents

mikaeltorni/programming_prompts/tree/main/skills/refactoring commit 2beed0a681

Frequently asked questions

npx skillmds@latest add mikaeltorni/refactoring