refactor SKILL.md skillA

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

Install it, pinned
mdr add catherine1401/agent-skills/refactor@git:20261006.7b63a26

Pins git:20261006.7b63a26 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
catherine1401/agent-skills
Path
skills/refactor/SKILL.md
Versions recorded
5
Latest version
git:20261006.7b63a26, committed Oct 6, 2026
First version recorded
Sep 26, 2026
Size
1,536 bytes
Repository stars
3
License
MIT

Verify changes against user-level and project-level AGENTS.md and CLAUDE.md rules through an isolated subagent, only when the user explicitly invokes this skill.

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

- Run only when explicitly invoked by the user; never select this skill automatically because files changed or verification is needed.
- When invoked, start a read-only subagent named `verify` with a fresh context; do not inherit the conversation history. Give it the task objective, authorized scope, project root, applicable user-level instruction locations, and the exact current-task changes, including untracked and generated files. Identify pre-existing changes separately so they are not attributed to the task.
- Direct the subagent to read and follow [references/verify.md](references/verify.md). Keep that reference and full rule text out of the main context; receive only the compact verification result.
- Fix reported violations within the authorized scope, run required checks, and have the subagent re-check the resulting changes before reporting completion. Stop and report unresolved conflicts or fixes that require additional authorization; do not expand scope or silently waive rules. Report completion only after the latest re-check returns `PASS`; `FAIL` or `INCOMPLETE` blocks completion.
…

Read the whole file at its exact version.

How to install

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_fvzlpk7vuy5vqi7u/c423123dd099d11e7923d2fad45f9dfbfa2ee09652a636506d52089366c773d3.json

Then /plugin install refactor@markdownregistry-fvzlpk7vuy5vqi7u in Claude Code. It installs git:20261006.7b63a26, the one graded A here, pinned to the commit it was graded at, and leaves it there.

The exact contents, by fingerprint
mdr add catherine1401/agent-skills/refactor@sha256:c423123dd099d11e

The line at the top of this page pins the label git:20261006.7b63a26, 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_fvzlpk7vuy5vqi7u.svg)](https://markdownregistry.com/a/art_fvzlpk7vuy5vqi7u)

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

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in catherine1401/agent-skills/refactor since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of refactor from somewhere else? Ask it: where did my refactor come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

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

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20261006.7b63a26 latest2026-10-06 7b63a26 1,536 BA view · diff
git:20261005.97422af2026-10-05 97422af 1,458 BA view · diff
git:20260929.f7b26352026-09-29 f7b2635 1,427 BA view · diff
git:20260927.ec28a072026-09-27 ec28a07 1,320 BA view · diff
git:20260926.683e9ff2026-09-26 683e9ff 1,082 BA view
Keep it current by itself, install once

Committed this skill to a repository? Install the markdownregistry skill updates app on it, or on all of them. When the registry saves a newer version, a pull request brings your copy to it within minutes, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

Install on GitHub

It asks to read and write contents and pull requests, and to read metadata. No workflow file, no Actions setting, nothing runs on your runners. Uninstall it and everything the registry kept about your repository is deleted.

Keep it current by itself

Committed this skill to a repository? Add one workflow file, and when a newer version is saved, a pull request brings your copy to it, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

mkdir -p .github/workflows && curl -fsSL https://markdownregistry.com/ci/skill-updates.yml -o .github/workflows/skill-updates.yml

It runs daily on GitHub Actions, no key and no account. Read the workflow before you add it.

Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

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 (1536 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

catherine1401/agent-skills · 3 stars · license MIT · pushed 2026-11-02 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_fvzlpk7vuy5vqi7u
GET https://markdownregistry.com/api/v1/resolve?ref=catherine1401/agent-skills/refactor
GET https://markdownregistry.com/api/v1/blob/c423123dd099d11e7923d2fad45f9dfbfa2ee09652a636506d52089366c773d3

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 catherine1401/agent-skills

AGENTS.md AGENTS.md file
catherine1401/agent-skills · AGENTS.md
git:20261006.8297ef6 · audit A · 3 stars
be-ms SKILL.md skill
catherine1401/agent-skills · skills/be-ms/SKILL.md · Draft a message to send to the backend (BE) team about an issue, ready to paste into chat. Use when asked to draft…
git:20261028.fccaf90 · audit A · 3 stars
commit SKILL.md skill
catherine1401/agent-skills · skills/commit/SKILL.md · Prepare focused Git commits when asked to commit or split commits. Never stage unrelated changes or run git commit…
git:20261022.870e460 · audit A · 3 stars
learn SKILL.md skill
catherine1401/agent-skills · skills/learn/SKILL.md · Capture useful lessons from the current session as clear, reusable notes for the user. Use when asked to learn from a…
git:20260925.38de6cb · audit A · 3 stars
ok SKILL.md skill
catherine1401/agent-skills · skills/ok/SKILL.md · Give blanket approval to the agent's latest pending confirmation request, or confirm the agent's latest result worked…
git:20260929.190173f · audit A · 3 stars
quizz SKILL.md skill
catherine1401/agent-skills · skills/quizz/SKILL.md · Convert a multiple-choice question bank with an answer key (PDF, DOCX, or similar) into Wayground (Quizizz) import…
git:20261102.9fed59e · audit A · 3 stars
report SKILL.md skill
catherine1401/agent-skills · skills/report/SKILL.md · Create or update a searchable task context handoff when the user asks to report, save context, hand off work, or…
git:20260928.88bc606 · audit A · 3 stars
skill-creator-pj SKILL.md skill
catherine1401/agent-skills · skills/skill-creator-pj/SKILL.md · Create or update an agent skill scoped to a single project's own skill directory (.claude/skills or .codex/skills), not…
git:20260930.e72ab40 · audit A · 3 stars
skill-creator SKILL.md skill
catherine1401/agent-skills · skills/skill-creator/SKILL.md · Create or update an agent skill with appropriately scoped instructions and necessary resources. Use for skills; not…
git:20260927.37d968d · audit A · 3 stars
sync SKILL.md skill
catherine1401/agent-skills · skills/sync/SKILL.md · Two-way sync the current Git branch with its upstream using merge (pull with merge, then push). Use when asked to sync…
git:20261028.23a83e2 · audit A · 3 stars
test-driven-development SKILL.md skill
catherine1401/agent-skills · skills/test-driven-development/SKILL.md · Use when implementing any feature or bugfix, before writing implementation code
git:20261021.2dadd08 · audit A · 3 stars
test SKILL.md skill
catherine1401/agent-skills · skills/test/SKILL.md · After writing or changing code, guide the user through testing the changed behavior. Provide runnable mocks when the…
git:20260927.1c56870 · audit A · 3 stars

Every file in catherine1401/agent-skills

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,938 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 · 931 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 · 652 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 · 644 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 · 582 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:20261110.245cb1e · audit A · 457 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:20261110.245cb1e · audit A · 457 stars
refactor SKILL.md skill
justxor/claude-code-pro-course · starter-kit/.claude/skills/refactor/SKILL.md · Безопасный рефакторинг маленькими шагами без изменения поведения. Используй, когда просят отрефакторить, упростить…
git:20260930.76c4189 · audit A · 353 stars

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