refactor SKILL.md skillA

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

Install it, pinned
mdr add arbiterforge/codearbiter/refactor@git:20261025.6e96d09

Pins git:20261025.6e96d09 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
arbiterforge/codearbiter
Path
plugins/ca-codex/routines/refactor/SKILL.md
Versions recorded
12
Latest version
git:20261025.6e96d09, committed Oct 25, 2026
First version recorded
Jul 12, 2026
Size
11,604 bytes
Repository stars
152
License
AGPL-3.0

Restructure code without changing observable behavior: rename, extract, inline, move, deduplicate, or replace an internal implementation with an equivalent one. Prove parity through unchanged pre-existing tests. Not for new behavior, bug fixes, explanation-only questions, or committing finished work.

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

Select this owning procedure for a behavior-preserving restructure, whether requested
in plain language or through `/refactor`. Entry syntax is not an additional gate;
the authorized scope, parity, and verification requirements below still apply.
Externally observable behavior before equals after, proven rather than assumed.

## Entry boundaries

- Identify both the surface and the motivation. Phase 1 owns the precise surface
  table under existing authorization. Ask only about a missing consequential scope decision.
- New behavior, including a new error path, side effect, or public method beyond
  a Phase 3 seam, belongs to `/feature`. Incorrect existing behavior belongs to `/fix`.
- An explanation-only question stays in the non-mutating question-answer path,
  not this editing procedure and not a required help-command detour.
- Persisting an already-completed refactor belongs to the existing commit owner at
  [routines/commit-gate/SKILL.md](../commit-gate/SKILL.md), with its actual authorization and gates.
  No commit, push, or PR is implied merely by entering this refactor procedure.

## Pre-flight
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add arbiterforge/codearbiter/refactor@sha256:fb5d5e2401216ba9

The line at the top of this page pins the label git:20261025.6e96d09, 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_vj2rdjdcf3xsbuxw.svg)](https://markdownregistry.com/a/art_vj2rdjdcf3xsbuxw)

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

Versions

The registry has recorded 12 versions of this file, between Jul 12, 2026 and Oct 25, 2026, about one every 10 days.

versioncommittedcommitsizeaudit
git:20261025.6e96d09 latest2026-10-25 6e96d09 11,604 BA view · diff
git:20261018.44149052026-10-18 4414905 11,316 BA view · diff
git:20261016.79d996f2026-10-16 79d996f 10,837 BA view · diff
git:20261016.a9f63fc2026-10-16 a9f63fc 10,547 BA view · diff
git:20260926.2c7bcea2026-09-26 2c7bcea 10,342 BA view · diff
git:20260925.b075a612026-09-25 b075a61 9,941 BA view · diff
git:20260915.43b15042026-09-15 43b1504 9,046 BA view · diff
git:20260830.00ec49f2026-08-30 00ec49f 8,670 BA view · diff
git:20260808.362892a2026-08-08 362892a 8,630 BA view · diff
git:20260727.2d90a2c2026-07-27 2d90a2c 8,582 BA view · diff
git:20260726.c9c5cbc2026-07-26 c9c5cbc 8,273 BA view · diff
git:20260712.eee39492026-07-12 eee3949 7,571 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 (11604 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

arbiterforge/codearbiter · 152 stars · license AGPL-3.0 · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_vj2rdjdcf3xsbuxw
GET https://markdownregistry.com/api/v1/resolve?ref=arbiterforge/codearbiter/refactor
GET https://markdownregistry.com/api/v1/blob/fb5d5e2401216ba92da49230d55335d0739bc81a0fac73a6799bc15bb0f9cf83

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 arbiterforge/codearbiter

probe SKILL.md skill
arbiterforge/codearbiter · .github/fixtures/codex-skill-resources/skills/probe/SKILL.md · Report this absolute source path, then read the nested routine.
git:20260824.44989c5 · audit A · 152 stars
brainstorming SKILL.md skill
arbiterforge/codearbiter · core/surface/skills/brainstorming/SKILL.md · Refine feature and sprint intent into a useful specification. Capture scope, observable criteria and material choices…
git:20261025.6e96d09 · audit A · 152 stars
commit-gate SKILL.md skill
arbiterforge/codearbiter · core/surface/skills/commit-gate/SKILL.md · Create a verified local Git commit when committing changes is requested. Not for explaining commit history, drafting a…
git:20261102.27016cc · audit A · 152 stars
context-check SKILL.md skill
arbiterforge/codearbiter · core/surface/skills/context-check/SKILL.md · Inspect context drift and refresh selected source-backed documents under existing authorization.
git:20261030.9005fca · audit A · 152 stars
context-creation SKILL.md skill
arbiterforge/codearbiter · core/surface/skills/context-creation/SKILL.md · Build source-backed project context through bounded inspection, optional agents, and record-level knowledge writes.
git:20261101.11940bf · audit A · 152 stars
crypto-compliance SKILL.md skill
arbiterforge/codearbiter · core/surface/skills/crypto-compliance/SKILL.md · The banned-primitive gate. Routed to when changed code hashes, signs, encrypts, derives keys, generates…
git:20261025.6e96d09 · audit A · 152 stars
debug SKILL.md skill
arbiterforge/codearbiter · core/surface/skills/debug/SKILL.md · Investigate an unexplained defect or unexpected behavior without changing application code. Use for root-cause…
git:20261030.9005fca · audit A · 152 stars
decision-lifecycle SKILL.md skill
arbiterforge/codearbiter · core/surface/skills/decision-lifecycle/SKILL.md · Record user-decided ADRs or inspect their health read-only. Preserve attribution and acceptance evidence.
git:20260925.e1966d9 · audit A · 152 stars
decision-variance SKILL.md skill
arbiterforge/codearbiter · core/surface/skills/decision-variance/SKILL.md · Inspect architectural variances with SMARTS; record only explicit user choices. Report-only requests make no changes.
git:20260925.2530d1c · audit A · 152 stars
decompose SKILL.md skill
arbiterforge/codearbiter · core/surface/skills/decompose/SKILL.md · Develop greenfield intent or initialized brownfield target and delta in existing decomposition and knowledge records.
git:20261101.11940bf · audit A · 152 stars
dispatching-parallel-agents SKILL.md skill
arbiterforge/codearbiter · core/surface/skills/dispatching-parallel-agents/SKILL.md · The parallel fan-out primitive. Routed to by any skill or command that splits work across independent units and…
git:20260902.6e85bce · audit A · 152 stars
executing-plans SKILL.md skill
arbiterforge/codearbiter · core/surface/skills/executing-plans/SKILL.md · Assistive /feature coordinator. Select relevant tasks from a maintained spec/plan, delegate a useful batch when…
git:20261016.a9f63fc · audit A · 152 stars

Every file in arbiterforge/codearbiter

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.