---
name: ciembor-refactoring
description: "Apply Martin Fowler-inspired refactoring rules when improving existing code structure while preserving observable behavior."
license: "MIT"
metadata:
  decimalai-skill-id: "b13b8fb7-af2f-4fac-91b4-4e2343a2fb61"
  decimalai-version-id: "626900d8-24c5-4d99-83ef-a6b83b74b92d"
  decimalai-version: "1"
  decimalai-body-sha256: "1ecb963f37671478e579b91979f4c8fd32f5fca8ec19d9337bac0ee74b68c6ee"
  decimalai-name: "ciembor/refactoring"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "coding"
  decimalai-source: "https://app.decimal.ai/s/ciembor-refactoring@1/SKILL.md"
---
# Refactoring Skill

Use this skill when a task involves behavior-preserving code improvement, code smells, small refactoring steps, test-backed cleanup, or separating refactoring from feature changes.

Before making design or code decisions, read and apply [refactoring.mini.md](refactoring.mini.md). Use [refactoring.md](refactoring.md) only as a deeper reference when the mini rules are not enough for the current refactoring tradeoff.
