arbiterforge/codearbiter · plugins/ca-codex/routines/refactor/SKILL.md

refactor skillA

The behavior-preserving restructure gate. Routed to by /refactor for a rename, extract, inline, move, dedup, or internal-implementation swap. Six gated phases prove behavioral parity through unmodified pre-existing tests; any diff that classifies as `feat` is not a refactor and is routed to tdd. A modified pre-existing test is rejected as evidence — it is a behavior change in disguise.

Latest version
mdr add arbiterforge/codearbiter/refactor@git:20260830.00ec49f
Exact content
mdr add arbiterforge/codearbiter/refactor@sha256:0576e4e47467d136
Badge

mdr badge

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

0 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260830.00ec49f latest2026-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. Deterministic, no model, same answer every run.

Source

GitHub

arbiterforge/codearbiter · 142 stars · license AGPL-3.0 · pushed 2026-09-06 · 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/0576e4e47467d136e1b8d49161e73d71388975796dfeb4fa23d96e0945fee299