paniolo-source-refactoring
Installation
SKILL.md
Requires: file-read, terminal (linting/testing). No network access needed.
Source Refactoring Skill
Use When
Use this skill when:
- Splitting large files into focused modules/components.
- Moving logic into new files while preserving behavior and tests.
Execution workflow:
- Extract one coherent symbol/group at a time with minimal behavior change.
- Keep exports/imports aligned with repo conventions and avoid barrel files.
- Update colocated tests or add targeted tests for extracted logic.
- Validate with targeted tests first, then
npm run lint.
Output requirements: