refactoring-pilot SKILL.md skillA

refactoring-pilot from nseney1/aegis-guardrails is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add nseney1/aegis-guardrails/refactoring-pilot@git:20261016.53cd475

Pins git:20261016.53cd475 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 19 of 19 checks passed
Kind
SKILL.md skill
Repository
nseney1/aegis-guardrails
Path
skills/refactoring-pilot/SKILL.md
Versions recorded
4
Latest version
git:20261016.53cd475, committed Oct 16, 2026
First version recorded
Oct 14, 2026
Size
2,368 bytes
Repository stars
5
License
Apache-2.0

Guides safe multi-file refactoring using the Mikado Method to eliminate cascading breakage.

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

# Senior Refactoring Specialist

When activated, adopt the persona of a **Senior Software Engineer specializing in systematic refactoring**. Your job is to restructure code without breaking a single test.

## Workflow

### 1. Scope & Impact Analysis
- Identify all files that will change
- Map the dependency graph (who imports what)
- Search for all usages of functions/classes being modified (`${SLOT.TOOL_SEARCH}`)
- Classify changes: rename, extract, move, inline, change signature
- Estimate blast radius: how many callers are affected?

### 2. Safety Net Setup
- Verify existing test coverage on affected code
- If coverage gaps exist: **write characterization tests FIRST**
- Ensure all tests pass green before any refactoring begins
- This is non-negotiable — no safety net, no refactoring

### 3. Incremental Execution (Mikado Method)
- Make ONE refactoring move at a time
- Run tests after each move
- If tests fail: **revert and investigate** before proceeding
- Never batch multiple refactoring moves between test runs
- Commit or checkpoint after each green test run

### 4. Interface Migration (Strangler Fig Pattern)
When changing a public interface:
…

Read the whole file at its exact version.

How to install

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_j2jpblzdpgy675h3/5e911137a9d977ba9fa04223308163389c0f1abf46c3b0603b67d95ce9b8fc8b.json

Then /plugin install refactoring-pilot@markdownregistry-j2jpblzdpgy675h3 in Claude Code. It installs git:20261016.53cd475, the one graded A here, pinned to the commit it was graded at, and leaves it there.

The exact contents, by fingerprint
mdr add nseney1/aegis-guardrails/refactoring-pilot@sha256:5e911137a9d977ba

The line at the top of this page pins the label git:20261016.53cd475, 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_j2jpblzdpgy675h3.svg)](https://markdownregistry.com/a/art_j2jpblzdpgy675h3)

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

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in nseney1/aegis-guardrails/refactoring-pilot since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of refactoring-pilot from somewhere else? Ask it: where did my refactoring-pilot come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 4 versions of this file, between Oct 14, 2026 and Oct 16, 2026, more than one a day.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20261016.53cd475 latest2026-10-16 53cd475 2,368 BA view · diff
git:20261016.7c4fc7b2026-10-16 7c4fc7b 2,513 BA view · diff
git:20261015.22556342026-10-15 2255634 2,505 BA view · diff
git:20261014.59dbfe22026-10-14 59dbfe2 2,326 BA view
Keep it current by itself, install once

Committed this skill to a repository? Install the markdownregistry skill updates app on it, or on all of them. When the registry saves a newer version, a pull request brings your copy to it within minutes, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

Install on GitHub

It asks to read and write contents and pull requests, and to read metadata. No workflow file, no Actions setting, nothing runs on your runners. Uninstall it and everything the registry kept about your repository is deleted.

Keep it current by itself

Committed this skill to a repository? Add one workflow file, and when a newer version is saved, a pull request brings your copy to it, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

mkdir -p .github/workflows && curl -fsSL https://markdownregistry.com/ci/skill-updates.yml -o .github/workflows/skill-updates.yml

It runs daily on GitHub Actions, no key and no account. Read the workflow before you add it.

Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

Audit of the latest version

A  19 of 19 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 (2368 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 encoded command decoded and run in a shell
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No decoded text run in 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

nseney1/aegis-guardrails · 5 stars · license Apache-2.0 · pushed 2026-11-18 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_j2jpblzdpgy675h3
GET https://markdownregistry.com/api/v1/resolve?ref=nseney1/aegis-guardrails/refactoring-pilot
GET https://markdownregistry.com/api/v1/blob/5e911137a9d977ba9fa04223308163389c0f1abf46c3b0603b67d95ce9b8fc8b
GET https://markdownregistry.com/api/v1/list?kind=skill

Every file of this kind listed here, most starred first, in pages: send each page's next back as cursor. JSON, no key.

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 nseney1/aegis-guardrails

Adaptive Review Orchestrator SKILL.md skill
nseney1/aegis-guardrails · skills/adaptive-reviewer/SKILL.md · Autonomously selects review protocols and dispatches nested subagents based on Sentry finding severity.
git:20261016.53cd475 · audit A · 5 stars
Domain Researcher SKILL.md skill
nseney1/aegis-guardrails · skills/domain-researcher/SKILL.md · Compiles verified external facts, API documentation, and technical literature grounded in the active project.
git:20261016.53cd475 · audit A · 5 stars
Genesis — Codebase Onboarding Reconnaissance SKILL.md skill
nseney1/aegis-guardrails · skills/genesis/SKILL.md · Four-stage read-only reconnaissance protocol mapping structure, history, architecture, and governance in unfamiliar…
git:20261016.53cd475 · audit A · 5 stars
Governance Auditor SKILL.md skill
nseney1/aegis-guardrails · skills/governance-auditor/SKILL.md · Audits session transcripts against governance rules to produce a per-rule PASS/FAIL verdict table.
git:20261016.53cd475 · audit A · 5 stars
incident-debug SKILL.md skill
nseney1/aegis-guardrails · skills/incident-debug/SKILL.md · Systematic incident debugging and root-cause analysis following structured reproduce, isolate, diagnose, fix, verify…
git:20261016.53cd475 · audit A · 5 stars
performance-audit SKILL.md skill
nseney1/aegis-guardrails · skills/performance-audit/SKILL.md · Profiles and analyzes hot-path allocations, algorithmic complexity, GC pressure, and resource utilization.
git:20261016.53cd475 · audit A · 5 stars
post-mortem SKILL.md skill
nseney1/aegis-guardrails · skills/post-mortem/SKILL.md · Conducts blameless retrospectives of sessions or incidents to extract patterns and process improvements.
git:20261016.53cd475 · audit A · 5 stars
readme-writer SKILL.md skill
nseney1/aegis-guardrails · skills/readme-writer/SKILL.md · Generates polished developer READMEs featuring quick-start guides, architecture overviews, and visual hierarchy.
git:20261016.53cd475 · audit A · 5 stars
security-audit SKILL.md skill
nseney1/aegis-guardrails · skills/security-audit/SKILL.md · Audits application code against OWASP Top 10 vulnerabilities, injection risks, and exposed secrets.
git:20261016.53cd475 · audit A · 5 stars
Session Monitor SKILL.md skill
nseney1/aegis-guardrails · skills/session-monitor/SKILL.md · Real-time session monitoring tracking waste trajectory, dispatching periodic probes, and alerting on regressions.
git:20261016.53cd475 · audit A · 5 stars
Session Pre-flight Probe SKILL.md skill
nseney1/aegis-guardrails · skills/session-preflight/SKILL.md · Probes environment health at session start, catching venv drift, git status, and broken tests.
git:20261016.53cd475 · audit A · 5 stars
Spec Synthesizer SKILL.md skill
nseney1/aegis-guardrails · skills/spec-synthesizer/SKILL.md · Synthesizes multiple review reports and analyses into a single prioritized, actionable implementation plan.
git:20261016.53cd475 · audit A · 5 stars

Every file in nseney1/aegis-guardrails

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