---
title: "Refactoring Patterns Framework - Air Market"
description: "You have code that works and is unpleasant to change. This applies named refactoring moves - extract a method, move a method, inline a variable, decompose a conditional - so the structure improves wh…"
canonical: "https://airmarket.ai/app/refactoring-patterns"
---

[Air Market](/) / [Developer Tools](/category/devtools) / Refactoring Patterns Framework

Skill by [wondelai](/@wondelai)

# Refactoring Patterns Framework

Clean up messy code without changing what it does

## What this does

You have code that works and is unpleasant to change. This applies named refactoring moves - extract a method, move a method, inline a variable, decompose a conditional - so the structure improves while the behaviour stays the same, with tests as your guard. Reach for it before building on top of legacy code.

### Top 3 things it does for you

- Restructure code before adding a feature to it
- Break up a tangled conditional
- Pick the right transformation for a code smell

## Information

**Refactoring Patterns Framework at a glance**

|  |  |
| --- | --- |
| Kind | Skill |
| Publisher | [wondelai](/@wondelai) |
| Category | [Developer Tools](/category/devtools) |
| Works with | Agent Skills - an open standard supported by 40+ agents |
| Version | 1.4.1 |
| Size | 92 KB |
| Licence | MIT |
| Repository | [wondelai/skills](https://github.com/wondelai/skills/tree/326b3801223ad277ae7082ff85435ba1d36e1903/refactoring-patterns) |
| GitHub stars | 2,004 (as of Nov 2026) |
| Installs | 6,745, counted by skills.sh (Nov 2026) |

## Security report

**Verified.** AIR scanned this exact version of Refactoring Patterns Framework and flagged nothing. AIR's verdict: **safe**.

**What Refactoring Patterns Framework's check was run against**

|  |  |
| --- | --- |
| Commit | 326b3801223ad277ae7082ff85435ba1d36e1903 |
| Content hash | b15c70b4804aeee38d14629636c9bcb09e6face9d7f1f59d32bc6fc9b8558f8a |
| Files read | [Browse the files at this exact commit](https://github.com/wondelai/skills/blob/326b3801223ad277ae7082ff85435ba1d36e1903/refactoring-patterns/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 Refactoring Patterns Framework](/security/refactoring-patterns)

## About Refactoring Patterns Framework

This skill applies named refactoring transformations to improve code structure without changing behavior.

It covers smell-driven refactoring, safe transformation sequences, and testing guards, along with specific moves like extract method, move method, inline variable, replace conditional and decompose conditional. Use it when cleaning up legacy code, restructuring before adding new features, or working out which transformation fits a particular code smell.

For code-quality foundations see clean-code; for managing complexity see software-design-philosophy.

## What's inside

- SKILL.md - instructions
- references/composing-methods.md - reference
- references/moving-features.md - reference
- references/organizing-data.md - reference
- references/refactoring-workflow.md - reference
- references/simplifying-conditionals.md - reference
- references/smell-catalog.md - reference

## Questions

### Is Refactoring Patterns Framework safe to install?

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

### How do I install Refactoring Patterns Framework?

Open https://airmarket.ai/app/refactoring-patterns 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/wondelai/skills/tree/326b3801223ad277ae7082ff85435ba1d36e1903/refactoring-patterns. Install from that link, not the branch.

## Related on Air Market

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

---

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