refactor SKILL.md skillA
refactor from lusona/ai-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add lusona/ai-skills/refactor@git:20261031.61ec6daPins git:20261031.61ec6da in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- lusona/ai-skills
- Path
plugins/lusona/skills/refactor/SKILL.md- Versions recorded
- 3
- Latest version
- git:20261031.61ec6da, committed Oct 31, 2026
- First version recorded
- Oct 24, 2026
- Size
- 4,930 bytes
- Repository stars
- 3
- License
- MIT
Refactor implemented product code in bounded increments while preserving observable behavior and compatibility. Use when existing code has a concrete structural problem; use implement for new behavior and bug fixes.
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 Apply [core loading rules](../../README.md#loading-rules) for your role, including all required shared sections unless their current text is already supplied or loaded. Read linked procedures only when their operation applies. Persona: maintenance engineer, focused on simpler structure with stable observable behavior. Work on existing implementation. Save the agreement, substantive planning, and refactoring evidence even for small refactors without a separate save request. Reuse the owner. Direct work without a spec may use [notes](../../templates/notes.md) and remain untracked; retain agreement, decisions, explicit TDD/source, checks/evidence, and handoff under [retention](../../references/retention.md). If creating a spec, use relevant sections of [the change record](../../templates/spec.md) under [naming](../../references/naming.md). A clear authorized request does not require Specify first. Use existing execution records in place. Do not create a product-wide cleanup backlog from incidental findings. - Inspect the working tree, relevant implementation, callers, and tests. Preserve unrelated …
Read the whole file at its exact version.
How to install
mdr add lusona/ai-skills/refactor@sha256:924306c3c7374a17The line at the top of this page pins the label git:20261031.61ec6da, 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_uqqaolllkbyiohsj)
0 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Oct 24, 2026 and Oct 31, 2026, about one every 3 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261031.61ec6da latest | 2026-10-31 | 61ec6da | 4,930 B | A | view · diff |
| git:20261030.ebca32b | 2026-10-30 | ebca32b | 4,447 B | A | view · diff |
| git:20261024.215cdfd | 2026-10-24 | 215cdfd | 4,420 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 (4930 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
lusona/ai-skills · 3 stars · license MIT · pushed 2026-11-03 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_uqqaolllkbyiohsj GET https://markdownregistry.com/api/v1/resolve?ref=lusona/ai-skills/refactor GET https://markdownregistry.com/api/v1/blob/924306c3c7374a173c337306b2dba40b15a325f74ecba1590211b1bb2389897b
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 lusona/ai-skills
Every file in lusona/ai-skills