---
title: "Safe refactoring - Air Market"
description: "You want to reshape working code without changing what it does. This handles the risky kinds: renames that reach everywhere, splitting one piece into two, moving to a different API, changes around st…"
canonical: "https://airmarket.ai/app/safe-refactoring"
---

[Air Market](/) / [Developer Tools](/category/devtools) / Safe refactoring

Skill by [ageerle](/@ageerle)

# Safe refactoring

Restructure code without breaking what quietly depended on it

## What this does

You want to reshape working code without changing what it does. This handles the risky kinds: renames that reach everywhere, splitting one piece into two, moving to a different API, changes around state or concurrency. Reach for it when other people's unrelated work is in the tree and quiet assumptions could break.

### Top 3 things it does for you

- Rename something across many files
- Pull a service or component out of a big one
- Migrate to a new API

## Information

**Safe refactoring at a glance**

|  |  |
| --- | --- |
| Kind | Skill |
| Publisher | [ageerle](/@ageerle) |
| Category | [Developer Tools](/category/devtools) |
| Works with | Agent Skills - an open standard supported by 40+ agents |
| Size | 2 KB |
| Licence | MIT |
| Repository | [ageerle/ruoyi-ai](https://github.com/ageerle/ruoyi-ai/tree/997548dd4b5a569a7e404a7835696130a2dd6b87/ruoyi-modules/ruoyi-chat/src/main/resources/coding-harness/skills/safe-refactoring) |
| GitHub stars | 5,661 (as of Nov 2026) |

## Security report

**Verified.** AIR scanned this exact version of Safe refactoring and flagged nothing. AIR's verdict: **safe**.

**What Safe refactoring's check was run against**

|  |  |
| --- | --- |
| Commit | 997548dd4b5a569a7e404a7835696130a2dd6b87 |
| Content hash | 75ecc99b21f9052bb6fc671a8a529a0faf19769f4dec0798dc5dedc027595c18 |
| Files read | [Browse the files at this exact commit](https://github.com/ageerle/ruoyi-ai/blob/997548dd4b5a569a7e404a7835696130a2dd6b87/ruoyi-modules/ruoyi-chat/src/main/resources/coding-harness/skills/safe-refactoring/SKILL.md) |

A scan is named by the exact content it read, not by a version number. A different version is a different artifact, and nothing here applies to a version AIR has not scanned.

[Read the full security report for Safe refactoring](/security/safe-refactoring)

## About Safe refactoring

This carries out refactors that either preserve behavior or change it only where you intended. It is built for the harder cases: renames across many files, extracting a component or service, changes to state management, API migrations, and concurrency work.

It is also for any change where unrelated user work has to be preserved and where subtle contracts could be broken without anyone noticing.

## What's inside

- SKILL.md - instructions

## Questions

### Is Safe refactoring safe to install?

AIR scanned this exact version of Safe refactoring and flagged nothing. AIR's verdict: safe. The verdict is named by the content that was read, at commit 997548dd4b5a, so it cannot drift onto a version nobody scanned. The full report is at https://airmarket.ai/security/safe-refactoring.

### How do I install Safe refactoring?

Open https://airmarket.ai/app/safe-refactoring on Air Market and use the install action: Air Market hands Claude a prompt naming this exact skill, and Claude sets it up. Source, pinned to the exact commit this listing describes: https://github.com/ageerle/ruoyi-ai/tree/997548dd4b5a569a7e404a7835696130a2dd6b87/ruoyi-modules/ruoyi-chat/src/main/resources/coding-harness/skills/safe-refactoring. Install from that link, not the branch.

## Related on Air Market

- [More Developer Tools listings](/category/devtools)
- [Everything by ageerle](/@ageerle)

---

Canonical URL: <https://airmarket.ai/app/safe-refactoring>
