refactor SKILL.md skillA

This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.

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

Install it, pinned
mdr add greenfield-inc/pane/refactor@git:20260924.c3bd4b5

Pins git:20260924.c3bd4b5 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
greenfield-inc/pane
Path
main/src/services/paneChatBundle/skills/refactor/SKILL.md
Versions recorded
4
Latest version
git:20260924.c3bd4b5, committed Sep 24, 2026
First version recorded
Sep 24, 2026
Size
9,225 bytes
Repository stars
575
License
a license file GitHub does not identify

Post-PR refactor pass. Sizes the diff against the remote default branch, fans out refactor-simple (and refactor-deep on large changes) as fresh subagents that run blind to each other, merges their plans once with max-severity rules, shows the merged report, and hands it to refactor-apply on the user's word. Use after a PR is open, or whenever the user asks to refactor or clean up the branch.

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

One command for the post-PR quality pass. It sizes the change, runs the right
analyses independently, merges once, stops for the user, then applies. It
is a manual post-PR quality pass. It changes the head, so run it before
QA when QA evidence must be current-head evidence.

## Why the analyses run blind

Two analyses that see each other's findings converge into one opinion. Run
independently, `refactor-simple` and `refactor-deep` overlap on about half
their findings, the other half is complementary, and the severe correctness
findings tend to come from one of them alone. So each analysis runs in a
fresh subagent with no access to the other's output, and the merge happens
exactly once, here, after both are done. Repeated runs on the same diff
converge on the same findings, and averaging them has demoted real Criticals;
one run per analysis is the rule.

## Process

### 1. Size the change

Resolve the PR/current branch's relevant remote and that remote's default
branch before running these commands. If either is ambiguous or unavailable,
report the blocked comparison; do not guess a remote or silently review an
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add greenfield-inc/pane/refactor@sha256:caecdf5d57b02f53

The line at the top of this page pins the label git:20260924.c3bd4b5, 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_hlrgxn7vv2ipinxr.svg)](https://markdownregistry.com/a/art_hlrgxn7vv2ipinxr)

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

Versions

The registry has recorded 4 versions of this file, all committed on Sep 24, 2026.

versioncommittedcommitsizeaudit
git:20260924.c3bd4b5 latest2026-09-24 c3bd4b5 9,225 BA view · diff
git:20260924.17234b52026-09-24 17234b5 9,256 BA view · diff
git:20260924.3aceaab2026-09-24 3aceaab 6,848 BA view · diff
git:20260924.cff7f052026-09-24 cff7f05 8,582 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 (9225 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

greenfield-inc/pane · 575 stars · license a license file GitHub does not identify · pushed 2026-10-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_hlrgxn7vv2ipinxr
GET https://markdownregistry.com/api/v1/resolve?ref=greenfield-inc/pane/refactor
GET https://markdownregistry.com/api/v1/blob/caecdf5d57b02f53c05459d4728905b515700f755c9e221d6f021e8779a47629

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 greenfield-inc/pane

AGENTS.md AGENTS.md file
greenfield-inc/pane · AGENTS.md
git:20261021.6241651 · audit A · 575 stars
CLAUDE.md CLAUDE.md file
greenfield-inc/pane · CLAUDE.md
git:20261003.d9dc984 · audit B · 575 stars
babysit-pr SKILL.md skill
greenfield-inc/pane · main/src/services/paneChatBundle/skills/babysit-pr/SKILL.md · Use after a pull request is open to watch its CI and review-bot comments until it is ready. Fixes real findings…
git:20260924.17234b5 · audit A · 575 stars
brief SKILL.md skill
greenfield-inc/pane · main/src/services/paneChatBundle/skills/brief/SKILL.md · Use when a problem, idea, or change of intent is worth capturing as a long-form page, or the person asks to write it…
git:20260924.44e305d · audit A · 575 stars
bug-intake SKILL.md skill
greenfield-inc/pane · main/src/services/paneChatBundle/skills/bug-intake/SKILL.md · Use when the person reports broken behaviour or starts a session to file a bug. Reproduces and reports. Never fixes.
git:20260924.17234b5 · audit A · 575 stars
codebase-design SKILL.md skill
greenfield-inc/pane · main/src/services/paneChatBundle/skills/codebase-design/SKILL.md · Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find…
git:20260924.17234b5 · audit A · 575 stars
codebase-explorer SKILL.md skill
greenfield-inc/pane · main/src/services/paneChatBundle/skills/codebase-explorer/SKILL.md · Explore the codebase to locate files, trace behavior, and document existing patterns with precise file references. Use…
git:20260924.c3bd4b5 · audit A · 575 stars
cold-read SKILL.md skill
greenfield-inc/pane · main/src/services/paneChatBundle/skills/cold-read/SKILL.md · Have a fresh agent walk through something with zero context (a PR body, a landing page, a document, a process…
git:20260924.8f96a6a · audit A · 575 stars
create-ticket SKILL.md skill
greenfield-inc/pane · main/src/services/paneChatBundle/skills/create-ticket/SKILL.md · Capture work and evolving intent during discussion as one or more GitHub tickets, Grain briefs, or both. Use for ticket…
git:20261003.a1132bf · audit A · 575 stars
discussion SKILL.md skill
greenfield-inc/pane · main/src/services/paneChatBundle/skills/discussion/SKILL.md · Have an interactive discussion about a topic, approach, feature, or bug without making code changes. Researches the…
git:20260924.17234b5 · audit A · 575 stars
eli5 SKILL.md skill
greenfield-inc/pane · main/src/services/paneChatBundle/skills/eli5/SKILL.md · Teach an unfamiliar topic from first principles with a picture-first HTML explanation, saved in Grain when connected…
git:20260924.17234b5 · audit A · 575 stars
excalidraw-pr-diagrams SKILL.md skill
greenfield-inc/pane · main/src/services/paneChatBundle/skills/excalidraw-pr-diagrams/SKILL.md · Create Excalidraw diagram JSON files and PR visual overviews that make visual arguments. Use when the user wants to…
git:20260924.17234b5 · audit A · 575 stars

Every file in greenfield-inc/pane

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:20260929.9a41ccb · audit A · 70,277 stars
refactor SKILL.md 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,648 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 · 925 stars
refactor SKILL.md skill
dcouple/pane · main/src/services/paneChatBundle/skills/refactor/SKILL.md · Post-PR refactor pass. Sizes the diff against the remote default branch, fans out refactor-simple (and refactor-deep on…
git:20260924.c3bd4b5 · audit A · 562 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:20261005.4fda294 · audit A · 450 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:20261010.407c70b · audit A · 450 stars
refactor SKILL.md 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 · 319 stars
refactor SKILL.md skill
justxor/claude-code-pro-course · starter-kit/.claude/skills/refactor/SKILL.md · Безопасный рефакторинг маленькими шагами без изменения поведения. Используй, когда просят отрефакторить, упростить…
git:20260930.76c4189 · audit A · 311 stars

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