refactoring-code

Installation
SKILL.md

Fast Refactoring with MorphLLM

MorphLLM edit_file provides semantic code merging at 10,500+ tokens/sec with 98% accuracy. Use the MorphLLM edit_file / batch refactoring workflow for broad changes. Refactoring here means behavior-preserving change or architecture deepening, not cosmetic churn.

Critical rule: preserve existing behavior unless the user explicitly asks for a behavior change. State the preservation target before editing.

Role-gated action

Detect your capability from your tools, not from prose:

  • Write-capable role (engineer): map the scope, apply the batch edits, run lint/test verification.
  • Read-only role (reviewer): map the scope and produce the refactor plan, then emit it in the Proposed Changes contract under Output. Apply nothing; run nothing — a reviewer has no edit or Bash tools.

Language detection

Detect the language from the file extensions in scope and preserve that language's idioms in the rewritten code. This skill has no per-language reference files — operate from the generic procedure.

When to Use edit_file

Installs
6
GitHub Stars
33
First Seen
Apr 14, 2026
refactoring-code — alexei-led/cc-thingz