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

refactor-codebase-with-types

// Finds refactoring opportunities that replace validation, partial functions, unsafe casts, primitive obsession, and scattered invariants with parsing, precise domain types, and correct-by-construction data. Use when the user wants to refactor a codebase using type-driven design, make illegal states unrepresentable, parse inputs at boundaries, remove redundant checks, or improve static guarantees.

$ git log --oneline --stat
stars:6
forks:1
updated:May 6, 2026 at 14:21
File Explorer
2 files
SKILL.md
readonly