Home / eltmon / overdeck · sync-sources/skills/refactor/SKILL.md · GitHub

refactor skillA

refactor is agent-read markdown (skill) from eltmon/overdeck: Safe refactoring approach with test coverage first.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Refactoring

When refactoring code:

## Before Starting
1. Ensure tests exist for code being refactored
2. Run tests to establish baseline (must pass)
3. If test coverage is low, ADD TESTS FIRST

## During Refactoring
- Make ONE type of change at a time
- Keep tests green after EACH change
- Commit frequently with clear messages

## Refactoring Types
- **Extract**: Pull code into new function/class
- **Inline**: Remove unnecessary indirection
- **Rename**: Improve naming clarity
- **Move**: Relocate to better home
- **Simplify**: Reduce complexity

## After Refactoring
- All tests must still pass
- Behavior must be unchanged
- Review diff for unintended changes

Read the whole file at its exact version.

How to install

Latest version
mdr add eltmon/overdeck/refactor@git:20260522.817c2c7
Exact content
mdr add eltmon/overdeck/refactor@sha256:e735883c27a8ce38

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_vhzu4i5bsvdhdddi.svg)](https://markdownregistry.com/a/art_vhzu4i5bsvdhdddi)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260522.817c2c7 latest2026-05-22 817c2c7 760 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, 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 (760 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

eltmon/overdeck · 28 stars · license MIT · pushed 2026-09-24 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_vhzu4i5bsvdhdddi
GET https://markdownregistry.com/api/v1/resolve?ref=eltmon/overdeck/refactor
GET https://markdownregistry.com/api/v1/blob/e735883c27a8ce38459972a13cae3188dbee94e1f5740dc4befe899362159042

Your agent 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.

More from eltmon/overdeck

CLAUDE.md claude
eltmon/overdeck · CLAUDE.md
git:20260917.83580e3 · audit A · 28 stars
caveman-review skill
eltmon/overdeck · src/lib/caveman/skills/caveman-review/SKILL.md · Ultra-compressed code review comments. Cuts noise from PR feedback while preserving the actionable signal. Each comment…
git:20260415.334bbce · audit A · 28 stars
caveman skill
eltmon/overdeck · src/lib/caveman/skills/caveman/SKILL.md · Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical…
git:20260415.334bbce · audit A · 28 stars
pan-commit skill
eltmon/overdeck · sync-sources/dev-skills/pan-commit/SKILL.md · Create Overdeck repo commits that satisfy commitlint and husky on the first try
git:20260801.b10ebbc · audit A · 28 stars
pan-dashboard-restart skill
eltmon/overdeck · sync-sources/dev-skills/pan-dashboard-restart/SKILL.md · Safely restart the Overdeck dashboard server (production Node 22 dist) using a detached process. Use when pan up / pan…
git:20260726.beaf812 · audit B · 28 stars
pan-skill-creator skill
eltmon/overdeck · sync-sources/dev-skills/pan-skill-creator/SKILL.md · Guide for Overdeck developers on creating and distributing skills
git:20260618.e501626 · audit A · 28 stars
pan-skill-installer skill
eltmon/overdeck · sync-sources/dev-skills/pan-skill-installer/SKILL.md · Install an external skill or Claude Code plugin into Overdeck's bundled distribution so pan sync ships it to every…
git:20260715.6ba70c0 · audit A · 28 stars
pan-style-guide skill
eltmon/overdeck · sync-sources/dev-skills/pan-style-guide/SKILL.md · Overdeck dashboard UI style guide — canonical typography, color-signal semantics, badge formula, and color-restraint…
git:20260814.b4b20ce · audit A · 28 stars
test-specialist-workflow skill
eltmon/overdeck · sync-sources/dev-skills/test-specialist-workflow/SKILL.md · Test the full specialist handoff pipeline (review → test → merge)
git:20260719.df80540 · audit A · 28 stars
token-spend-report skill
eltmon/overdeck · sync-sources/dev-skills/token-spend-report/SKILL.md · Regenerate Overdeck's public token spend report from the post-rebrand cost archive
git:20260706.7ed8c4d · audit A · 28 stars
all-up skill
eltmon/overdeck · sync-sources/skills/all-up/SKILL.md · Compatibility redirect: /all-up has been renamed to /pan-flywheel
git:20260522.817c2c7 · audit A · 28 stars
benchmark skill
eltmon/overdeck · sync-sources/skills/benchmark/SKILL.md · Create a benchmark issue to test Overdeck's agent pipeline. Creates a GitHub issue from a stored template with a…
git:20260618.ccb1e75 · audit A · 28 stars

Every file in eltmon/overdeck

Other files named refactor

refactor 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:20260920.64ca513 · audit A · 69,349 stars
refactor skill
codeaholicguy/ai-devkit · skills/refactor/SKILL.md · AI DevKit · Systematic structural or multi-file refactors across any stack while preserving behavior and public…
git:20260826.c1f5930 · audit A · 1,633 stars
refactor 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 · 923 stars
refactor skill
boshu2/agentops · skills/refactor/SKILL.md · Simplify structure, interfaces or responsibilities while preserving behavior. Use when: a focused refactor is…
git:20260911.c655850 · audit A · 445 stars
refactor skill
boshu2/agentops · images/gemini/skills/refactor/SKILL.md · Simplify structure, interfaces or responsibilities while preserving behavior. Use when: a focused refactor is…
git:20260911.c655850 · audit A · 445 stars
refactor skill
boshu2/agentops · skills-codex/refactor/SKILL.md · Simplify structure, interfaces or responsibilities while preserving behavior. Use when: a focused refactor is…
git:20260911.c655850 · audit A · 445 stars
refactor skill
testdouble/han · han-coding/skills/refactor/SKILL.md · Restructure existing code without changing its behavior, through a test-gated refactoring loop: a named target, a green…
git:20260915.ec2cb7c · audit A · 270 stars
refactor skill
sd0xdev/sd0x-harness · skills/refactor/SKILL.md · Multi-target refactoring orchestrator. Use when: cleaning up messy code/docs, simplifying code, restructuring…
git:20260905.5566ee5 · audit A · 189 stars

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