# Refactoring

> Change structure without changing behaviour: identifying the seam, characterising with tests first, and stopping before the refactor becomes a rewrite.

- Skill: `gulmezeren2-byte/refactoring` (Agent Skill)
- Install (CLI): `npx skillmds@latest add gulmezeren2-byte/refactoring`
- Raw SKILL.md: https://api.skillmd.com/api/skills/gulmezeren2-byte/refactoring/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: gulmezeren2-byte (https://skillmd.com/u/gulmezeren2-byte)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/gulmezeren2-byte/refactoring

---


# refactoring

Change structure without changing behaviour: identifying the seam,
characterising with tests first, and stopping before the refactor becomes a
rewrite.

