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

refactor

Stars2
Forks0
UpdatedMay 30, 2026 at 11:37

TDD REFACTOR phase for ONE slice. With tests GREEN, improves the slice's code WITHOUT changing behavior so it adheres to the assessment rules: strict TypeScript (no any), lint-clean, mirrors the repo's conventions and the traced feature, reuses shared packages, no new deps, stays in scope. Keeps tests green after each step, then runs the full gate incl. the regression E2E suite. Commits the cleanup (skipped if nothing changed). Final step of /red → /green → /refactor. Trigger: /refactor (optionally /refactor slice-X).

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