cyberneticlibrary

Plan and execute safe refactoring

Refactor Safelyskillsetup L26
chuanghiduoc/nestjs-fastify-nx
What it does

Refactor code safely with automated validation

Best for

When you need to refactor code automatically with safety guarantees from test coverage and semantic validation.

Inputs
  • · Source code
  • · Refactoring rules
  • · Test suite
Outputs
  • · Refactored code
  • · Test results
  • · Change summary
Preconditions
  • · Source code with existing test coverage
  • · AST/refactoring tool installed
  • · Linter configuration
Failure modes
  • · Incomplete test coverage masks side effects
  • · AST manipulation loses code formatting
  • · Unsafe refactoring without semantic analysis