Apply named refactoring transformations to improve code structure without changing behavior. Use when the user mentions "refactor this", "code smells", "extract method", "replace conditional", "technical debt", "move method", "inline variable", "decompose conditional", or "clean up this messy code". Also trigger when cleaning up legacy code, preparing code for new features by restructuring, or identifying which transformation fits a specific code smell. Covers smell-driven refactoring, safe tran
NewSkillScoreNo evidence yet — run a verified benchmark or accrue evaluated production traces to earn a SkillScore.
0 ptsBenchmark lift
CodingGitHub19/23 cases—0 users · lifetime · 0 times used · lifetime
You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its quality, maintainability, and performance.
SkillScore8282 — bench 82 · live — (needs ≥10 evaluated traces) · AI — (needs ≥10 rated traces)
+41 ptsBenchmark lift
CodingGitHub18/22 cases—0 users · lifetime · 0 times used · lifetime
You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its quality, maintainability, and performance.
NewSkillScoreNo evidence yet — run a verified benchmark or accrue evaluated production traces to earn a SkillScore.—CodingGitHub——0 users · lifetime · 0 times used · lifetime
Plan, implement, or review refactor work in an existing codebase with compatibility, security, and verification controls. Use when the user explicitly requests refactor work.
NewSkillScoreNo evidence yet — run a verified benchmark or accrue evaluated production traces to earn a SkillScore.—CodingGitHub——0 users · lifetime · 0 times used · lifetime
Applies safe, incremental, behavior-preserving refactorings (extract function/variable, rename, inline, decompose conditionals, remove duplication, replace conditional with polymorphism, introduce parameter object) using a test-protected, small-step workflow. Use this skill when the user asks to "refactor", "clean up", "simplify", "extract a method/function", "rename", "remove duplication", "reduce nesting", "break up a god class/long function", "improve readability", "untangle" code, "make this
NewSkillScoreNo evidence yet — run a verified benchmark or accrue evaluated production traces to earn a SkillScore.—CodingGitHub22/24 cases—0 users · lifetime · 0 times used · lifetime
You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its quality, maintainability, and performance.
NewSkillScoreNo evidence yet — run a verified benchmark or accrue evaluated production traces to earn a SkillScore.—CodingGitHub——0 users · lifetime · 0 times used · lifetime
You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its quality, maintainability, and performance.
SkillScore2323 — bench 23 · live — (needs ≥10 evaluated traces) · AI — (needs ≥10 rated traces)
+23 ptsBenchmark lift
CodingGitHub22 cases—0 users · lifetime · 0 times used · lifetime
You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its quality, maintainability, and performance.
NewSkillScoreNo evidence yet — run a verified benchmark or accrue evaluated production traces to earn a SkillScore.—CodingGitHub——0 users · lifetime · 0 times used · lifetime
You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its quality, maintainability, and performance.
SkillScore9595 — bench 91 · live 99 · AI — (needs ≥10 rated traces)
+5 ptsBenchmark lift
CodingGitHub20/22 cases99% pass Live pass · lifetime4 users · lifetime · 85 times used · lifetime
You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its quality, maintainability, and performance.
NewSkillScoreNo evidence yet — run a verified benchmark or accrue evaluated production traces to earn a SkillScore.—CodingGitHub——0 users · lifetime · 0 times used · lifetime
You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its quality, maintainability, and performance.
SkillScore5555 — bench 55 · live — (needs ≥10 evaluated traces) · AI — (needs ≥10 rated traces)
+32 ptsBenchmark lift
CodingGitHub22 cases—0 users · lifetime · 0 times used · lifetime
Review and refactor code in your project according to defined instructions
NewSkillScoreNo evidence yet — run a verified benchmark or accrue evaluated production traces to earn a SkillScore.—CodingGitHub22 cases—0 users · lifetime · 0 times used · lifetime
Refactor code to reduce cyclomatic complexity so it stays readable, maintainable, and aligned with the long-term vision of the codebase, not just optimized for AI comprehension. Use whenever the user asks to refactor, simplify, clean up, or review code quality; mentions complexity, maintainability, readability, spaghetti code, deeply nested logic, or god functions; or asks to check AI-generated code before merging. Also use proactively after writing any nontrivial function with heavy branching.
NewSkillScoreNo evidence yet — run a verified benchmark or accrue evaluated production traces to earn a SkillScore.—CodingGitHub17/23 cases—0 users · lifetime · 0 times used · lifetime
Explore a codebase to find opportunities for architectural improvement, focusing on making the codebase more testable by deepening shallow modules. Use when user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more AI-navigable.
NewSkillScoreNo evidence yet — run a verified benchmark or accrue evaluated production traces to earn a SkillScore.—CodingGitHub3/22 cases—1 user · lifetime · 3 times used · lifetime
Refactor user-facing UIStrings and localization comments in a DevTools module folder according to UX writing guidelines (child task of b/40799900). Use when simplifying wording, checking sentence case, or improving L10n comments in UIStrings for a specific folder or issue. Don’t use for general code changes or non-UIStrings files.
SkillScore8282 — bench 82 · live — (needs ≥10 evaluated traces) · AI — (needs ≥10 rated traces)
+36 ptsBenchmark lift
FrontendGitHub18/22 cases—0 users · lifetime · 0 times used · lifetime
Refactor cleanly instead of layering sediment. Use when a change reveals duplicated concepts, local adapters, obsolete owners, compatibility wrappers, parallel abstractions, an over-large module that has accreted many responsibilities, or "just tack this on" pressure in any code area.
NewSkillScoreNo evidence yet — run a verified benchmark or accrue evaluated production traces to earn a SkillScore.—CodingGitHub19/24 cases—0 users · lifetime · 0 times used · lifetime