refactor is agent-read markdown (skill) from reidemeister94/development-skills: Audit an existing project against its standards and apply selected improvements while preserving behavior..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Refactor
Bring an existing project closer to its standards without changing user-visible behavior.
This is the repository-convergence exception in the [development loop](../../shared/development-loop.md).
It can inspect the whole target but can change only an approved tranche.
`$ARGUMENTS` is a free-text focus, such as `database queries`, `src/orders`, or a planned feature.
With a focus, audit that area and its required dependencies. Without one, audit the whole project.
The audit is always read-only. The user chooses what to change afterwards.
The audit changes nothing in the target.
The frontmatter withholds write tools during the audit, but the rule holds even when the harness exposes them.
## 1. Audit
Apply the loop's Standards gate and the [engineering contract](../../shared/engineering.md).
Record the source paths you selected.
Use focused owners where their signal exists:
- `align-docs` in inspection-only mode for repository context and documentation;
- `staff-review` for code quality inside the scope.
Then inspect what these owners do not cover.
…
Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
GET https://markdownregistry.com/api/v1/artifacts/art_gixtamubwl2sfrsw
GET https://markdownregistry.com/api/v1/resolve?ref=reidemeister94/development-skills/refactor
GET https://markdownregistry.com/api/v1/blob/428fb4e790acdcd40ea9314beabb4ef773e5fca1d5f0a2d9ad269134ee6915fd
Your agent 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.
reidemeister94/development-skills · skills/ai-agent-bench/SKILL.md · Compare Claude Code and Codex on the same code task, with isolated worktrees, common checks, time, and cost.
reidemeister94/development-skills · skills/align-docs/SKILL.md · Align stale repository docs and task records; use --clean for a full documentation cleanup.
reidemeister94/development-skills · skills/best-practices/SKILL.md · Research current practices or compare approaches using primary evidence and the user's constraints.
reidemeister94/development-skills · skills/brainstorming/SKILL.md · Use when the user wants to brainstorm, choose an approach, design something, or clarify an ambiguous or consequential…
reidemeister94/development-skills · skills/bro/SKILL.md · Use when the user says an explanation was unclear, too technical, or full of jargon, or asks for plain language.
reidemeister94/development-skills · skills/changelog/SKILL.md · Add CHANGELOG.md entries, derive them from commits, or cut a Keep a Changelog and SemVer release.
reidemeister94/development-skills · skills/eval-regression/SKILL.md · Check skill routing or behavior, investigate a regression, or compare plugin changes with a base commit.
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…
codeaholicguy/ai-devkit · skills/refactor/SKILL.md · AI DevKit · Systematic structural or multi-file refactors across any stack while preserving behavior and public…
boshu2/agentops · skills/refactor/SKILL.md · Simplify structure, interfaces or responsibilities while preserving behavior. Use when: a focused refactor is…
boshu2/agentops · images/gemini/skills/refactor/SKILL.md · Simplify structure, interfaces or responsibilities while preserving behavior. Use when: a focused refactor is…
boshu2/agentops · skills-codex/refactor/SKILL.md · Simplify structure, interfaces or responsibilities while preserving behavior. Use when: a focused refactor is…
testdouble/han · han-coding/skills/refactor/SKILL.md · Restructure existing code without changing its behavior, through a test-gated refactoring loop: a named target, a green…