code-refactoring SKILL.md skillA
code-refactoring from akillness/jeo-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add akillness/jeo-skills/code-refactoring@v2.1Pins v2.1 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- akillness/jeo-skills
- Path
.agent-skills/code-refactoring/SKILL.md- Versions recorded
- 5
- Latest version
- v2.1, committed Jul 27, 2026
- First version recorded
- Apr 18, 2026
- Size
- 10,589 bytes
- Repository stars
- 52
- License
- none declared
Turn a cleanup packet into one behavior-preserving refactor brief. Use when simplifying a messy function/component/service, freezing behavior before touching fragile legacy code, splitting a cleanup-heavy diff into reviewable slices, or planning a repeated migration / codemod without changing intended behavior. Route diagnosis to debugging, review judgment to code-review, validation-program design to testing-strategies, bottleneck-led tuning to performance-optimization, and pure symbol…
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
# Code Refactoring Use this skill when the job is to **improve structure without changing intended behavior**. The center of the skill should stay small and repeatable: 1. identify the cleanup packet you actually have, 2. choose one refactor mode, 3. make the behavior guardrail explicit, 4. stage the work in reviewable slices, 5. verify and route remaining work honestly. Read these support docs before handling unfamiliar cleanup work: - [references/intake-packets-and-route-outs.md](references/intake-packets-and-route-outs.md) - [references/refactor-modes.md](references/refactor-modes.md) - [references/handoff-boundaries.md](references/handoff-boundaries.md) - [references/safe-refactor-checklist.md](references/safe-refactor-checklist.md) ## When to use this skill - A function, component, service, script, or module is too tangled and needs structural cleanup without a behavior change. - A legacy area needs a **freeze-first** cleanup because the current behavior is fragile or poorly understood. - The same API, naming, or structure change repeats across many files and needs a codemod / migration brief. …
Read the whole file at its exact version.
How to install
mdr add akillness/jeo-skills/code-refactoring@sha256:bdcf5f3be7f4628cThe line at the top of this page pins the label v2.1, 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.
[](https://markdownregistry.com/a/art_syisivpnd5fjybvy)
6 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Apr 18, 2026 and Jul 27, 2026, about one every 25 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v2.1 latest | 2026-07-27 | 056e3f8 | 10,589 B | A | view · diff |
| v2.1 | 2026-06-26 | 48fd3af | 10,076 B | A | view · diff |
| v2.1 | 2026-06-26 | 4f9b684 | 10,073 B | A | view · diff |
| v2.1 | 2026-06-16 | ceeea9d | 10,955 B | A | view · diff |
| v2.1 | 2026-04-18 | 2062957 | 10,957 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (10589 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
akillness/jeo-skills · 52 stars · license none declared · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_syisivpnd5fjybvy GET https://markdownregistry.com/api/v1/resolve?ref=akillness/jeo-skills/code-refactoring GET https://markdownregistry.com/api/v1/blob/bdcf5f3be7f4628cedbc0bd12f80b096830e9708e4206c9f1ef786fc30e0054f
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 akillness/jeo-skills
Every file in akillness/jeo-skills