Skip to main content
Run any Skill in Manus
with one click

refactor

Stars1
Forks0
UpdatedMarch 12, 2026 at 18:21

Apply this skill whenever the user asks to refactor, clean up, restructure, or improve existing code — regardless of language or framework. Triggers include: "refactor this", "clean up my code", "this file is too long", "this function is hard to read", "reduce duplication", "decouple this", "improve maintainability", "apply design patterns", or any request to improve code quality without changing observable behavior. Also trigger when reviewing code that has obvious smells: god files, deeply nested logic, long parameter lists, duplicated blocks, or functions exceeding ~30 lines.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly