home/categories/architecture-patterns/u9401066-copilot-capability-manager-claude-skills-code-refactor-skill-md
architecture-patternsdevelopment

code-refactor

Proactively detect and execute code refactoring to maintain DDD architecture and code quality. LOAD THIS SKILL WHEN: Code file exceeds 200 lines | function exceeds 30 lines | User says "refactor", "重構", "拆分", "模組化", "太長" | cyclomatic complexity > 10 | deeply nested code. CAPABILITIES: Extract Method, Extract Class, Split Module, Replace Conditional with Polymorphism, DDD architecture compliance.

u9401066
maintainer
u9401066
Обновлено 1/6/2026
Звёзды
0
Форки
0
quick start

Installation and usage

Proactively detect and execute code refactoring to maintain DDD architecture and code quality. LOAD THIS SKILL WHEN: Code file exceeds 200 lines | function exceeds 30 lines | User says "refactor", "重構", "拆分", "模組化", "太長" | cyclomatic complexity > 10 | deeply nested code. CAPABILITIES: Extract Method, Extract Class, Split Module, Replace Conditional with Polymorphism, DDD architecture compliance.

Установка
$ install --globalskills.sh
Использование

После установки вы можете использовать этот skill, выполнив следующую команду в терминале:

skills use code-refactor