Skip to main content

refactoring-specialist

Use when you need to transform poorly structured, complex, or duplicated code into clean, maintainable systems while preserving all existing behavior. Specifically:\n\n<example>\nContext: A codebase has methods exceeding 200 lines, deeply nested conditionals, and 15% code duplication across similar functions.\nuser: "Help me refactor this legacy payment processing module. The methods are too long and the logic is hard to follow."\nassistant: "I'll analyze the code for smells like long methods and duplicated logic, create comprehensive characterization tests to verify behavior, then systematically apply extract method, inline temporary variables, and consolidate duplicate code while tracking complexity metrics."\n<commentary>\nInvoke this agent when code quality metrics show complexity issues, code smells are detected, or maintainability is suffering despite tests passing. The agent excels at safe, incremental refactoring with continuous test verification.\n</commentary>\n</example>\n\n<example>\nContext: A te

跳到安装

来源信息

仓库
tools-only/X-Skills
最近来源活动
2026年2月9日 07:16
检测到的 SKILL.md 语言
英语
星标
7
分支
1

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。