refactor SKILL.md skillA

refactor from mickeyyaya/evolve-loop is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add mickeyyaya/evolve-loop/refactor@git:20260930.f27afd8

Pins git:20260930.f27afd8 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
mickeyyaya/evolve-loop
Path
skills/refactor/SKILL.md
Versions recorded
4
Latest version
git:20260930.f27afd8, committed Sep 30, 2026
First version recorded
Apr 7, 2026
Size
8,383 bytes
Repository stars
6
License
Apache-2.0

Use when the user asks to refactor code, review code quality, or fix code smells — orchestrates the full refactoring pipeline from detection through fix, with parallel worktree isolation per independent refactoring group.

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

# /evo:refactor — Full Refactoring Pipeline

> Orchestrate the complete refactoring workflow: detect smells, prioritize by weighted scoring, partition into independent groups, execute in parallel worktrees via subagents, merge and verify. Enhanced with cognitive complexity scoring, architecture analysis, and speed-optimized parallel scan pipelines.

## Contents

| Section | Purpose |
|---------|---------|
| [Auto Mode Detection](#auto-mode-detection) | Detect bypass/yolo mode for autonomous execution |
| [Git Isolation](#git-isolation-mandatory) | Worktree-based isolation for all refactoring work |
| [Workflow Summary](#workflow-summary) | 5-phase pipeline overview |
| [Quick Modes](#quick-modes) | Scoped invocations for targeted refactoring |
| [Cross-Reference Map](#cross-reference-map) | Skill routing by issue type |
| [Reference](#reference-read-on-demand) | Detailed phase docs, catalogs, techniques |

## Auto Mode Detection

Before starting, check if the user is in **bypass/yolo mode** (auto-accept permissions enabled). Detection signals:
- User explicitly said "yolo mode", "bypass permissions", or "auto-accept"
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add mickeyyaya/evolve-loop/refactor@sha256:a44003b66f7d0a89

The line at the top of this page pins the label git:20260930.f27afd8, 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_zudo4iaz664vvywv.svg)](https://markdownregistry.com/a/art_zudo4iaz664vvywv)

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

Versions

The registry has recorded 4 versions of this file, between Apr 7, 2026 and Sep 30, 2026, about one every 59 days.

versioncommittedcommitsizeaudit
git:20260930.f27afd8 latest2026-09-30 f27afd8 8,383 BA view · diff
git:20260624.c286c012026-06-24 c286c01 8,136 BA view · diff
git:20260516.21a7e602026-05-16 21a7e60 8,084 BA view · diff
git:20260407.eff17282026-04-07 eff1728 7,986 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 (8383 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

mickeyyaya/evolve-loop · 6 stars · license Apache-2.0 · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_zudo4iaz664vvywv
GET https://markdownregistry.com/api/v1/resolve?ref=mickeyyaya/evolve-loop/refactor
GET https://markdownregistry.com/api/v1/blob/a44003b66f7d0a8956af2d30f0b4e811d093345ee49b7aeca3ad857d5fa5e326

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 mickeyyaya/evolve-loop

AGENTS.md@.evolve/profiles AGENTS.md file
mickeyyaya/evolve-loop · .evolve/profiles/AGENTS.md
git:20261008.0936a73 · audit A · 6 stars
AGENTS.md AGENTS.md file
mickeyyaya/evolve-loop · AGENTS.md
git:20261106.54cad9b · audit A · 6 stars
CLAUDE.md CLAUDE.md file
mickeyyaya/evolve-loop · CLAUDE.md
git:20261106.54cad9b · audit A · 6 stars
AGENTS.md@agents AGENTS.md file
mickeyyaya/evolve-loop · agents/AGENTS.md
git:20260524.69626c6 · audit A · 6 stars
llms.txt@landing/shared llms.txt file
mickeyyaya/evolve-loop · landing/shared/llms.txt
git:20261106.88a0714 · audit B · 6 stars
adversarial-testing SKILL.md skill
mickeyyaya/evolve-loop · skills/adversarial-testing/SKILL.md · Use when authoring evals/predicates (Scout, TDD-Engineer), framing an audit (Auditor), or justifying which phases run…
git:20260914.80b348e · audit A · 6 stars
architecture-review SKILL.md skill
mickeyyaya/evolve-loop · skills/architecture-review/SKILL.md · Use when reviewing the structure of a code change read-only — single sources and duplicated beliefs, dependency…
git:20261007.f16bf48 · audit A · 6 stars
audit SKILL.md skill
mickeyyaya/evolve-loop · skills/audit/SKILL.md · Use after build has produced build-report.md. Validates the build with one adversarial auditor agent and produces the…
git:20261020.f4ba3ee · audit A · 6 stars
code-review-simplify SKILL.md skill
mickeyyaya/evolve-loop · skills/code-review-simplify/SKILL.md · Use when reviewing code changes for quality, security, performance, or maintainability issues and identifying…
git:20261007.e134ff4 · audit A · 6 stars
commit SKILL.md skill
mickeyyaya/evolve-loop · skills/commit/SKILL.md · Use when the user asks to commit changes (interactively, not inside an autonomous cycle). Runs code-simplifier + one…
git:20261105.2607b6e · audit A · 6 stars
diff-review SKILL.md skill
mickeyyaya/evolve-loop · skills/diff-review/SKILL.md · Budget-capped adversarial review + simplification pass over a STAGED DIFF only — one agent, two lenses, findings-first…
git:20261027.f0f1a5a · audit A · 6 stars
docs-review SKILL.md skill
mickeyyaya/evolve-loop · skills/docs-review/SKILL.md · Use when a change touches only documents (every changed path ends in .md) — research dossiers, plans, ADRs…
git:20261105.2607b6e · audit A · 6 stars

Every file in mickeyyaya/evolve-loop

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:20261106.b98a091 · audit A · 70,763 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 · 927 stars
refactor SKILL.md skill
greenfield-inc/pane · main/src/services/paneChatBundle/skills/refactor/SKILL.md · Quality pass on a branch against its remote default branch. Runs a simple analysis (conventions and smells) and, on…
git:20261105.60e9622 · audit A · 603 stars
refactor SKILL.md skill
dcouple/pane · main/src/services/paneChatBundle/skills/refactor/SKILL.md · Quality pass on a branch against its remote default branch. Runs a simple analysis (conventions and smells) and, on…
git:20261105.60e9622 · audit A · 603 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 · 341 stars

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