Skip to main content
在 Manus 中运行任何 Skill
一键导入
$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:2026年5月6日 14:21
文件资源管理器
2 个文件
SKILL.md
readonly