🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

RedHat Code Refactor Engine

by @mzfshark

Refactor code safely without changing behavior.

Versionv1.0.0
⚑ When to Use
TriggerAction
- Duplicate logic appears across modules.
- Tests exist (or can be added) to protect behavior.
πŸ’‘ Examples

Goal: Ò€œExtract request validation from controller into validators/ and add unit tests.Ò€ Validation: pnpm test after each extraction step.

πŸ”’ Constraints

  • Behavior is preserved (tests pass; outputs unchanged for known cases).
  • Public interfaces remain stable (or are versioned/migrated explicitly).
  • Complexity decreases measurably (smaller functions, fewer branches, less duplication).
  • View on ClawHub
    TERMINAL
    clawhub install axodus-refactor-engine

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’