refactor SKILL.md skillA

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

Install it, pinned
mdr add jongio/skills/refactor@v1.0.0

Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
jongio/skills
Path
skills/refactor/SKILL.md
Versions recorded
3
Latest version
v1.0.0, committed Oct 23, 2026
First version recorded
Oct 21, 2026
Size
8,211 bytes
Repository stars
18
License
MIT

Plan behavior-preserving refactoring with explicit scope, depth and risk choices. USE FOR: small wins, code cleanup, refactor assessment, local restructuring, cross-module refactoring, idiomatic cleanup. DO NOT USE FOR: product changes, bug fixes, dependency upgrades (use deps-doctor), security reviews, formatting-only passes, or unapproved implementation.

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

`refactor [path or ledger]` proposes one coherent, behavior-preserving chunk.
Start a fresh bounded assessment or resume a supplied ledger.
Work directly; do not spawn agents. Do not implement the plan.

## Workflow

### 1. Agree on scope, depth and risk

Read trusted instructions and the request; reuse explicit choices rather than asking again.
Collect only missing choices in one short interview:

- Scope: a path, module, named subsystem, or explicit repository-wide assessment.
- Depth: Level 1 (default), Level 2, or Level 3 from the table below.
- Risk: exclude sensitive contracts by default; any exception requires item-specific review.

If interaction is unavailable, keep explicit choices; default missing depth to Level 1
and missing risk choices to excluding sensitive contracts.
Use the supplied path or ledger; otherwise propose a named module from a shallow
inventory and report the scope choice as pending, without starting an unbounded audit.
Repository-wide breadth never authorizes deeper changes. For an explicitly broad
assessment, inventory first, inspect sequentially by module, and report coverage gaps.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add jongio/skills/refactor@sha256:e2f4da2042d912d9

The line at the top of this page pins the label v1.0.0, 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_jif34hw6ewwth4aj.svg)](https://markdownregistry.com/a/art_jif34hw6ewwth4aj)

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

Versions

The registry has recorded 3 versions of this file, between Oct 21, 2026 and Oct 23, 2026, more than one a day.

versioncommittedcommitsizeaudit
v1.0.0 latest2026-10-23 fed9fcd 8,211 BA view · diff
v1.0.02026-10-22 5c610e8 7,934 BA view · diff
git:20261021.419b5b12026-10-21 419b5b1 7,905 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 (8211 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

jongio/skills · 18 stars · license MIT · pushed 2026-11-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_jif34hw6ewwth4aj
GET https://markdownregistry.com/api/v1/resolve?ref=jongio/skills/refactor
GET https://markdownregistry.com/api/v1/blob/e2f4da2042d912d9d87d89f63d002b93d8a9b55a34d8d14b777dadb6ed5ef1c9

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 jongio/skills

backlog-groom SKILL.md skill
jongio/skills · skills/backlog-groom/SKILL.md · **WORKFLOW SKILL** - Groom GitHub backlogs across issue and source repositories, with or without Projects, using scoped…
v1.1.0 · audit A · 18 stars
ci-hound SKILL.md skill
jongio/skills · skills/ci-hound/SKILL.md · **WORKFLOW SKILL** - Continuously monitor GitHub Actions workflows with a zero-token ETag-cached background daemon…
v1.1.0 · audit A · 18 stars
create-canvas-app SKILL.md skill
jongio/skills · skills/create-canvas-app/SKILL.md · Build a GitHub Copilot App canvas extension the right way, fast. Use when the user wants to create, scaffold, or…
v1.1.0 · audit A · 18 stars
create-gh-pages-site SKILL.md skill
jongio/skills · skills/create-gh-pages-site/SKILL.md · Scaffold a working GitHub Pages website from a vetted template and wire it to deploy automatically. Use when the user…
v1.1.0 · audit A · 18 stars
create-session-board-canvas SKILL.md skill
jongio/skills · skills/create-session-board-canvas/SKILL.md · Open and maintain a live canvas for the current session's plan, kanban tasks, primary/subagent team, progress…
v1.0.1 · audit A · 18 stars
create-skill SKILL.md skill
jongio/skills · skills/create-skill/SKILL.md · **WORKFLOW SKILL** - Create and register a complete portable agent skill in a managed skills-repo.config.json…
v1.1.1 · audit A · 18 stars
create-skills-repo SKILL.md skill
jongio/skills · skills/create-skills-repo/SKILL.md · **WORKFLOW SKILL** - Create or safely maintain a portable skills marketplace repository for multiple AI coding agents…
v1.1.2 · audit A · 18 stars
create-skill SKILL.md skill
jongio/skills · skills/create-skills-repo/templates/repository/skills/create-skill/SKILL.md · **WORKFLOW SKILL** - Create and register a complete portable agent skill in a managed skills-repo.config.json…
v1.1.1 · audit A · 18 stars
deps-doctor SKILL.md skill
jongio/skills · skills/deps-doctor/SKILL.md · Audit, update, and secure project dependencies across npm, pnpm, Yarn, pip, Pipenv, Poetry, uv, Go, Cargo, Bundler…
v1.0.0 · audit A · 18 stars
dns-doctor SKILL.md skill
jongio/skills · skills/dns-doctor/SKILL.md · Evidence-first DNS and domain health audit covering delegation, records, DNSSEC, CAA, website routing, TLS, CDN…
v1.0.0 · audit A · 18 stars
doc-doctor SKILL.md skill
jongio/skills · skills/doc-doctor/SKILL.md · Check documentation against code. USE FOR: doc-doctor, check docs, stale docs, broken links, README accuracy. DO NOT…
v1.0.0 · audit A · 18 stars
eli5 SKILL.md skill
jongio/skills · skills/eli5/SKILL.md · Explain the subject already in context using simple, respectful language, a familiar analogy, the proper grown-up…
v1.0.0 · audit A · 18 stars

Every file in jongio/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,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.