code-refactor
FeaturedRefactor code có hệ thống dựa trên phương pháp luận của Martin Fowler. Sử dụng khi người dùng yêu cầu refactor code, cải thiện cấu trúc code, giảm nợ kỹ thuật, dọn code legacy, loại bỏ code smells, hoặc cải thiện khả năng duy trì code. Skill này hướng dẫn qua cách tiếp theo từng giai đoạn với nghiên cứu, lập kế hoạch, và triển khai tăng dần an toàn.
Install
Quality Score: 93/100
Skill Content
Details
- Author
- luongnv89
- Repository
- luongnv89/claude-howto
- Created
- 1 years ago
- Last Updated
- yesterday
- Language
- Python
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
refactor
Restructure existing code without changing its behavior (extract, inline, rename, move, split large functions or modules, reduce complexity, remove duplication and dead code). Pins behavior with tests first, maps the contract and its consumers, and moves in small verified steps. Use when the user asks to refactor, restructure, split, extract, rename, or untangle code, in English or Vietnamese ("refactor", "tái cấu trúc", "tách hàm", "đổi tên", "dọn code", "giảm complexity"). Not for reviewing a finished diff (see verifier) or for rewrites meant to change behavior.
refactor
基于 Martin Fowler 方法论的系统化代码重构 skill。适用于用户请求重构代码、改进代码结构、减少技术债、清理旧代码、消除 code smell 或提升可维护性时。这个 skill 采用分阶段、带研究与计划的安全增量实施方式。
refactor
Guide safe, disciplined code refactoring. Always use this skill when asked to refactor, restructure, reorganize, clean up, or improve the design of existing code. Use when the user says "this code is messy", "help me clean this up", "this function does too much", "extract this", "break this apart", "this is hard to read", "the codebase is tangled", or any time code structure needs to change without changing behavior. Read this skill before making any structural code changes.