Clean Code Diagnose Refactor

Diagnose and improve existing code through a clean-code and clean-architecture lens by identifying code smells, boundary violations, naming problems, oversized functions or classes, tangled dependencies, hidden side effects, and missing safety nets, then applying safe refactoring. Use when the request is about legacy code review, code quality diagnosis, structural cleanup, refactoring, dependency untangling, responsibility splitting, complexity reduction, readability improvement, testability improvement, maintainability improvement, or cleaning up existing behavior without intentionally adding new product features. Typical triggers include requests such as "why is this code so hard to change?", "separate responsibilities", "this function is too long", "the dependencies are tangled", and "keep the behavior the same and only improve the structure". Do not use as the primary skill when the main job is implementing a new feature from a requirement.

Hanjo92 2b96b6e 12 files · 76.5 KB Updated

File contents

Hanjo92/clean-code-architecture-skill-pack/tree/main/skills/clean-code-diagnose-refactor commit 2b96b6ed41

Frequently asked questions

npx skillmds@latest add hanjo92/clean-code-diagnose-refactor