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

refactor-to-pattern

Stars0
Forks0
UpdatedApril 27, 2026 at 17:37

Use when the user pastes messy, repetitive, tightly-coupled, or hard-to-maintain JavaScript code. Identifies the core structural problem, selects an appropriate design pattern (Module, Observer, Factory, Strategy, etc.), and refactors with inline explanations.

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