refactor SKILL.md skillA

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

Install it, pinned
mdr add utsavbalar1231/oh-my-claudeagent/refactor@git:20261015.c0bb9cf

Pins git:20261015.c0bb9cf in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
utsavbalar1231/oh-my-claudeagent
Path
skills/refactor/SKILL.md
Versions recorded
5
Latest version
git:20261015.c0bb9cf, committed Oct 15, 2026
First version recorded
Sep 22, 2026
Size
2,141 bytes
Repository stars
3
License
MIT

Use when restructuring code without changing its behavior, such as extracting a module or migrating off an API. Maps the affected code, plans the steps, and runs the tests after each change.

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

Preserve behavior while restructuring the requested target. Establish scope and intent before editing; ask about materially different interpretations. Accept a file, symbol, or pattern, such as "all functions using deprecated API". Default to module scope and a safe strategy; honor `--scope=file|module|project` and `--strategy=safe|aggressive` without treating aggressive as permission to change behavior.

Map definitions, callers, imports, and tests. Run a baseline; if behavior lacks coverage, propose characterization tests before restructuring and refuse aggressive changes until that coverage exists. For project-wide investigations, delegate independent search areas only if the current role permits it. Leaf workers search directly.

Plan small, independently verifiable steps in dependency order, with file targets and a way to undo each step. Use `ast_search` for structural references and preview `ast_replace` with `dry_run` before applying. Read version-matched documentation for a requested API migration.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add utsavbalar1231/oh-my-claudeagent/refactor@sha256:88651d19200f83dd

The line at the top of this page pins the label git:20261015.c0bb9cf, 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_v4sl5g7fuzrh3t3q.svg)](https://markdownregistry.com/a/art_v4sl5g7fuzrh3t3q)

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

Versions

The registry has recorded 5 versions of this file, between Sep 22, 2026 and Oct 15, 2026, about one every 6 days.

versioncommittedcommitsizeaudit
git:20261015.c0bb9cf latest2026-10-15 c0bb9cf 2,141 BA view · diff
git:20261006.526f3232026-10-06 526f323 4,634 BA view · diff
git:20261003.db017752026-10-03 db01775 4,635 BA view · diff
git:20261003.c8ef9992026-10-03 c8ef999 4,587 BA view · diff
git:20260922.a8e060b2026-09-22 a8e060b 4,573 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 (2141 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

utsavbalar1231/oh-my-claudeagent · 3 stars · license MIT · pushed 2026-11-01 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_v4sl5g7fuzrh3t3q
GET https://markdownregistry.com/api/v1/resolve?ref=utsavbalar1231/oh-my-claudeagent/refactor
GET https://markdownregistry.com/api/v1/blob/88651d19200f83ddb60669c81ef1ae489272ed7d578e7bf61af2036b6158f8c6

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 utsavbalar1231/oh-my-claudeagent

AGENTS.md AGENTS.md file
utsavbalar1231/oh-my-claudeagent · AGENTS.md
git:20261101.b22e828 · audit A · 3 stars
AGENTS.md@hooks AGENTS.md file
utsavbalar1231/oh-my-claudeagent · hooks/AGENTS.md
git:20261101.2ada52d · audit A · 3 stars
AGENTS.md@opencode AGENTS.md file
utsavbalar1231/oh-my-claudeagent · opencode/AGENTS.md
git:20261016.2c892bc · audit A · 3 stars
AGENTS.md@scripts AGENTS.md file
utsavbalar1231/oh-my-claudeagent · scripts/AGENTS.md
git:20261016.a891e46 · audit A · 3 stars
AGENTS.md@servers AGENTS.md file
utsavbalar1231/oh-my-claudeagent · servers/AGENTS.md
git:20261016.a2712e8 · audit A · 3 stars
AGENTS.md@skills AGENTS.md file
utsavbalar1231/oh-my-claudeagent · skills/AGENTS.md
git:20261006.526f323 · audit A · 3 stars
analyzer SKILL.md skill
utsavbalar1231/oh-my-claudeagent · skills/analyzer/SKILL.md · Pre-planning analysis via the analyzer. Catches gaps, identifies risks, surfaces hidden requirements.
git:20261015.c0bb9cf · audit A · 3 stars
build-fixer SKILL.md skill
utsavbalar1231/oh-my-claudeagent · skills/build-fixer/SKILL.md · Use when a build, type check or dependency install fails, or the user pastes a compiler error or says "fix build". Runs…
git:20261015.c0bb9cf · audit A · 3 stars
consolidate-memory SKILL.md skill
utsavbalar1231/oh-my-claudeagent · skills/consolidate-memory/SKILL.md · Use when a plan finishes or agent memories have piled up. Merges agent project memories and notepad learnings into the…
git:20261003.db01775 · audit A · 3 stars
debugging SKILL.md skill
utsavbalar1231/oh-my-claudeagent · skills/debugging/SKILL.md · Use for runtime bugs: crashes, wrong output, intermittent or silent failures, flaky tests, code that works locally but…
git:20261015.c0bb9cf · audit A · 3 stars
git-master SKILL.md skill
utsavbalar1231/oh-my-claudeagent · skills/git-master/SKILL.md · MUST USE for ANY git operations. Atomic commits, rebase/squash, history search (blame, bisect, log -S). Triggers…
git:20261015.c0bb9cf · audit A · 3 stars
github-triage SKILL.md skill
utsavbalar1231/oh-my-claudeagent · skills/github-triage/SKILL.md · Use to triage open GitHub issues and PRs in parallel, read-only, one executor per item ("triage issues", "review open…
git:20261022.ad189a8 · audit A · 3 stars

Every file in utsavbalar1231/oh-my-claudeagent

Other files named refactor

refactor SKILL.md skill
code-yeongyu/oh-my-openagent · packages/shared-skills/skills/refactor/SKILL.md · Guides a refactor, cleanup, or restructure with the right decomposition. Use when the user asks to refactor, simplify…
git:20261023.af359db · audit A · 70,648 stars
refactor SKILL.md skill
sethgammon/citadel · skills/refactor/SKILL.md · Safe multi-file refactoring with automatic rollback. Establishes a type/test baseline, plans all changes, executes…
git:20260611.0f3f8e7 · audit A · 929 stars
refactor SKILL.md skill
dcouple/pane · main/src/services/paneChatBundle/skills/refactor/SKILL.md · Post-PR refactor pass. Sizes the diff against the remote default branch, fans out refactor-simple (and refactor-deep on…
git:20260924.c3bd4b5 · audit A · 601 stars
refactor SKILL.md skill
greenfield-inc/pane · main/src/services/paneChatBundle/skills/refactor/SKILL.md · Post-PR refactor pass. Sizes the diff against the remote default branch, fans out refactor-simple (and refactor-deep on…
git:20260924.c3bd4b5 · audit A · 600 stars
refactor SKILL.md skill
rsmdt/the-startup · plugins/start/skills/refactor/SKILL.md · Refactor, simplify, or clean up code for improved maintainability without changing business logic
git:20261011.48bd3ee · audit A · 577 stars
refactor SKILL.md skill
boshu2/agentops · skills/refactor/SKILL.md · Restructure or clean up code with no behavior change, proved by before-and-after checks. Use when: asked to clean up…
git:20261031.73cbeae · audit A · 453 stars
refactor SKILL.md skill
boshu2/agentops · plugin/skills/refactor/SKILL.md · Restructure or clean up code with no behavior change, proved by before-and-after checks. Use when: asked to clean up…
git:20261026.1b5f59a · audit A · 453 stars
refactor SKILL.md skill
justxor/claude-code-pro-course · starter-kit/.claude/skills/refactor/SKILL.md · Безопасный рефакторинг маленькими шагами без изменения поведения. Используй, когда просят отрефакторить, упростить…
git:20260930.76c4189 · audit A · 334 stars

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