oma-refactor SKILL.md skillA

oma-refactor from first-fluke/oh-my-agent is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add first-fluke/oh-my-agent/oma-refactor@git:20261022.c9edb95

Pins git:20261022.c9edb95 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
first-fluke/oh-my-agent
Path
.agents/skills/oma-refactor/SKILL.md
Versions recorded
11
Latest version
git:20261022.c9edb95, committed Oct 22, 2026
First version recorded
Jun 11, 2026
Size
14,439 bytes
Repository stars
1,374
License
MIT

Restructure existing code while preserving observable behavior. Use for targeted technical debt or hotspot work with characterization tests.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Refactor Agent - Behavior-Preserving Restructuring Specialist

## Scheduling

### Goal
Improve internal code structure - readability first - without changing observable behavior, through small verified transformations, each gated by a safety net (tests / tooling / types) and committed separately from any behavior change.

### Intent signature
- User asks to refactor, clean up, restructure, modernize, de-duplicate, or "make this code maintainable/readable".
- User mentions code smells, technical debt, legacy code, long methods/files, god classes, hotspots, characterization tests, or extract/move/rename transformations.
- User asks "where should we refactor first?" or wants a refactoring plan/priority for a codebase.

### When to use
- Executing a refactoring on specific files/modules (extract, move, rename, decompose, pattern/idiom alignment)
- Preparatory refactoring before a feature ("make the change easy, then make the easy change")
- Legacy (brownfield) rescue: seam discovery + characterization tests, then restructuring
- Refactoring target selection and prioritization (smells + SATD + hotspot = churn x complexity)
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add first-fluke/oh-my-agent/oma-refactor@sha256:74a8244d39355cd8

The line at the top of this page pins the label git:20261022.c9edb95, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_x6yoswwfabanidml.svg)](https://markdownregistry.com/a/art_x6yoswwfabanidml)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 11 versions of this file, between Jun 11, 2026 and Oct 22, 2026, about one every 13 days.

versioncommittedcommitsizeaudit
git:20261022.c9edb95 latest2026-10-22 c9edb95 14,439 BA view · diff
git:20261007.91794602026-10-07 9179460 12,874 BA view · diff
git:20261004.ff11f052026-10-04 ff11f05 12,667 BA view · diff
git:20260923.53796102026-09-23 5379610 12,658 BA view · diff
git:20260912.7e4c0d12026-09-12 7e4c0d1 12,546 BA view · diff
git:20260909.093aa3d2026-09-09 093aa3d 12,784 BA view · diff
git:20260909.0c00b0b2026-09-09 0c00b0b 12,906 BA view · diff
git:20260717.2b519632026-07-17 2b51963 12,570 BA view · diff
git:20260707.1b14c182026-07-07 1b14c18 12,294 BA view · diff
git:20260612.c9a7b672026-06-12 c9a7b67 12,266 BA view · diff
git:20260611.53f1d882026-06-11 53f1d88 12,173 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (14439 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

first-fluke/oh-my-agent · 1,374 stars · license MIT · pushed 2026-11-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_x6yoswwfabanidml
GET https://markdownregistry.com/api/v1/resolve?ref=first-fluke/oh-my-agent/oma-refactor
GET https://markdownregistry.com/api/v1/blob/74a8244d39355cd8459ced75fba48496f1aafcf1445513c7644e763a2986d88f

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from first-fluke/oh-my-agent

oma-academic-writing SKILL.md skill
first-fluke/oh-my-agent · .agents/skills/oma-academic-writing/SKILL.md · Draft and revise academic prose against a rubric, evidence, and citation requirements. Use for essays, reports…
git:20261004.ff11f05 · audit A · 1,374 stars
oma-architecture SKILL.md skill
first-fluke/oh-my-agent · .agents/skills/oma-architecture/SKILL.md · Evaluate system boundaries and architectural tradeoffs. Use for architecture decisions, design reviews, and ADRs.
git:20261015.c9169af · audit A · 1,374 stars
oma-backend SKILL.md skill
first-fluke/oh-my-agent · .agents/skills/oma-backend/SKILL.md · Implement server APIs, authentication, and application data access. Schema modeling and query tuning use oma-db.
git:20261004.ff11f05 · audit A · 1,374 stars
oma-brainstorm SKILL.md skill
first-fluke/oh-my-agent · .agents/skills/oma-brainstorm/SKILL.md · Explore goals, constraints, and alternative approaches before choosing a design. Use when the user requests ideation or…
git:20261015.c9169af · audit A · 1,374 stars
oma-coordination SKILL.md skill
first-fluke/oh-my-agent · .agents/skills/oma-coordination/SKILL.md · Coordinate assigned specialist tasks and handoffs manually. Use when supervising a multi-agent project step by step.
git:20261024.6dc64fa · audit A · 1,374 stars
oma-db SKILL.md skill
first-fluke/oh-my-agent · .agents/skills/oma-db/SKILL.md · Design schemas and migrations, tune queries, or plan vector retrieval and database operations. Application API…
git:20261016.464232d · audit A · 1,374 stars
oma-debug SKILL.md skill
first-fluke/oh-my-agent · .agents/skills/oma-debug/SKILL.md · Diagnose a reproducible failure, fix its cause, and verify the regression. Use for crashes, incorrect behavior, and…
git:20261004.ff11f05 · audit A · 1,374 stars
oma-design SKILL.md skill
first-fluke/oh-my-agent · .agents/skills/oma-design/SKILL.md · Define or review a visual system, DESIGN.md, or redesign direction. Use for typography, layout, color, motion, and…
git:20261009.742b594 · audit A · 1,374 stars
oma-dev-workflow SKILL.md skill
first-fluke/oh-my-agent · .agents/skills/oma-dev-workflow/SKILL.md · Configure development tasks, git hooks, CI/CD, or release automation. Use when creating or fixing a repository…
git:20261017.3f45f1e · audit B · 1,374 stars
oma-docs SKILL.md skill
first-fluke/oh-my-agent · .agents/skills/oma-docs/SKILL.md · Check documentation references, sync docs to code changes, and detect translation drift. Use for documentation…
git:20261002.90a1acd · audit A · 1,374 stars
oma-explanation SKILL.md skill
first-fluke/oh-my-agent · .agents/skills/oma-explanation/SKILL.md · Create an offline HTML explanation of a code change (diff, PR, branch) or of a topic, system, or question. Use when a…
git:20261015.f2b2342 · audit A · 1,374 stars
oma-frontend SKILL.md skill
first-fluke/oh-my-agent · .agents/skills/oma-frontend/SKILL.md · Implement or modify web UI in React, Next.js, or Angular. Use for components, pages, styles, forms, and frontend state…
git:20261103.64510f8 · audit A · 1,374 stars

Every file in first-fluke/oh-my-agent

Other files named oma-refactor

oma-refactor SKILL.md skill
first-fluke/oh-my-agent · .claude-plugin/domains/security/skills/oma-refactor/SKILL.md · Restructure existing code while preserving observable behavior. Use
git:20261108.44c9c39 · audit A · 1,374 stars
oma-refactor SKILL.md skill
first-fluke/oh-my-agent · skills/oma-refactor/SKILL.md · Restructure existing code while preserving observable behavior. Use
git:20261022.c9edb95 · audit A · 1,374 stars
oma-refactor SKILL.md skill
first-fluke/oh-my-agent · .claude-plugin/directory/skills/oma-refactor/SKILL.md · Restructure existing code while preserving observable behavior. Use
git:20261030.bd2e575 · audit A · 1,374 stars

Browse by kind, by grade A, or by owner.