refactoring
Installation
SKILL.md
Refactoring Skill
This skill helps identify code smells and apply refactoring techniques to improve code quality. The foundational principles are from Refactoring.guru, adapted for Chrome Extension projects using Vanilla JS, Modules, and Side Panel architecture.
Core Principles
- Clean Code: Easy to read, understand, and maintain.
- Dirty Code: Full of "smells", difficult to maintain and extend.
- Baby Steps: Make one small change at a time, ensuring tests pass.
Process
- Identify Smells: Observe the code and find characteristics matching "Code Smells".
- Select Technique: Choose an appropriate refactoring technique based on the smell type.
- Refactor: Modify the code.
- Verify: Ensure functionality is not affected (Manual Test / Unit Test).