---
title: "Safe refactor - Air Market"
description: "Your code works, but its shape bothers you: something wants extracting, merging, or handing to someone else. Changes like those can quietly alter what the program does. This skill restructures the co…"
canonical: "https://airmarket.ai/app/safe-refactor"
---

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

Skill by [Julius Brussee](/@juliusbrussee)

# Safe refactor

Untangle, move, and tidy code without breaking anything

## What this does

Your code works, but its shape bothers you: something wants extracting, merging, or handing to someone else. Changes like those can quietly alter what the program does. This skill restructures the code while keeping behavior the same, and verifies the work around each structural edit. Reach for it when cleanup has to be safe, not hopeful.

### Top 3 things it does for you

- Extract code that needs to live somewhere else
- Consolidate code that belongs together
- Shift code to different owners

## Information

**Safe refactor at a glance**

|  |  |
| --- | --- |
| Kind | Skill |
| Publisher | [Julius Brussee](/@juliusbrussee) |
| Category | [Developer Tools](/category/devtools) |
| Works with | Agent Skills - an open standard supported by 40+ agents |
| Size | 906 bytes |
| Licence | _Not recorded_ |
| Repository | [juliusbrussee/caveman](https://github.com/juliusbrussee/caveman/tree/a0109974ea3258a14aadaef1ed1f8ff2837d30d5/skills/safe-refactor) |
| GitHub stars | 118,504 (as of Nov 2026) |

## Security report

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

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

|  |  |
| --- | --- |
| Commit | a0109974ea3258a14aadaef1ed1f8ff2837d30d5 |
| Content hash | 92e0d24eb6e965b32156e8ac8e4181fa6e5ef5e85f273bb8ee3c3e6da81adf47 |
| Files read | [Browse the files at this exact commit](https://github.com/juliusbrussee/caveman/blob/a0109974ea3258a14aadaef1ed1f8ff2837d30d5/skills/safe-refactor/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 refactor](/security/safe-refactor)

## About Safe refactor

This skill restructures code while keeping its behavior unchanged. It is built for changes that rearrange how code is organized rather than what the code does.

The intended jobs are extraction, consolidation, moves of ownership, and cleanup. These are the edits where the structure shifts and the goal is for everything else to stay put.

It suits work where verification has to bracket the structural edits, so each change gets confirmed rather than merely assumed.

## What's inside

- SKILL.md - instructions
- agents/openai.yaml - data

## Questions

### Is Safe refactor safe to install?

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

### How do I install Safe refactor?

Open https://airmarket.ai/app/safe-refactor 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/juliusbrussee/caveman/tree/a0109974ea3258a14aadaef1ed1f8ff2837d30d5/skills/safe-refactor. Install from that link, not the branch.

## Related on Air Market

- [More Developer Tools listings](/category/devtools)
- [Everything by Julius Brussee](/@juliusbrussee)

---

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