make-refactor-target-compliant SKILL.md skillA

make-refactor-target-compliant from motleyai/living-architecture is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add motleyai/living-architecture/make-refactor-target-compliant@git:20261114.e35ca3e

Pins git:20261114.e35ca3e in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
motleyai/living-architecture
Path
plugin/skills/make-refactor-target-compliant/SKILL.md
Versions recorded
5
Latest version
git:20261114.e35ca3e, committed Nov 14, 2026
First version recorded
Oct 1, 2026
Size
2,315 bytes
Repository stars
14
License
MIT

Use BEFORE renaming a symbol/attribute (Python or TypeScript) to make its blast radius verifiable — type the code that might reference it (untyped params/vars that could hold the class, classes with matching attribute names, overrides not marked as such) so the post-rename type-check gate is sound.

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

**Preflight:** run `la-doctor --plugin <this skill's base directory>` once per session before using any `la-*` or `dr-*` command; if it fails, stop and show the user its output.

# Make a refactor's blast radius compliant

A rename is only provable over code the type checker can resolve. This closes
the blind spots first, so the `la:deterministic-refactor` gate afterwards is sound.
The idioms for each language are in
`<this skill's base directory>/../../languages/<language>.md`.

## Steps

1. **Identify the target:** the symbol, and for a member rename the attribute
   NAME and its owning class.
2. **Enumerate blind spots:**
   - `dr-compliance --select attr-blindspot --attr NAME <repo>` (one `--attr`
     per name a rename map renames) → `x.NAME`, `getattr(x, "NAME")` and the
     like where `x` is untyped. Each names the receiver to type.
   - A `dr-refactor` dry-run of the rename lists the stand-ins: classes outside
     the hierarchy that declare NAME. Make a real implementation a subclass or
     a `Protocol` implementation now, or classify it at the rename (`--with` /
     `--without`, see `la:deterministic-refactor`).
3. **Make them resolvable (do NOT rename yet):**
…

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_w2vl67pj7piy37x4/b1431ea1bda865492a3dff29f2b2510a668002f9e1d2f502c3465e5ea042b5d9.json

Then /plugin install make-refactor-target-compliant@markdownregistry-w2vl67pj7piy37x4 in Claude Code. It installs git:20261114.e35ca3e, the one graded A here, pinned to the commit it was graded at, and leaves it there.

The exact contents, by fingerprint
mdr add motleyai/living-architecture/make-refactor-target-compliant@sha256:b1431ea1bda86549

The line at the top of this page pins the label git:20261114.e35ca3e, 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_w2vl67pj7piy37x4.svg)](https://markdownregistry.com/a/art_w2vl67pj7piy37x4)

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 motleyai/living-architecture/make-refactor-target-compliant 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 make-refactor-target-compliant from somewhere else? Ask it: where did my make-refactor-target-compliant 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 5 versions of this file, between Oct 1, 2026 and Nov 14, 2026, about one every 11 days.

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

versioncommittedcommitsizeaudit
git:20261114.e35ca3e latest2026-11-14 e35ca3e 2,315 BA view · diff
git:20261114.4ec274c2026-11-14 4ec274c 2,272 BA view · diff
git:20261005.4057a532026-10-05 4057a53 2,367 BA view · diff
git:20261005.1d349d32026-10-05 1d349d3 2,303 BA view · diff
git:20261001.eb098102026-10-01 eb09810 2,279 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  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 (2315 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

motleyai/living-architecture · 14 stars · license MIT · pushed 2026-11-17 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_w2vl67pj7piy37x4
GET https://markdownregistry.com/api/v1/resolve?ref=motleyai/living-architecture/make-refactor-target-compliant
GET https://markdownregistry.com/api/v1/blob/b1431ea1bda865492a3dff29f2b2510a668002f9e1d2f502c3465e5ea042b5d9

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 motleyai/living-architecture

AGENTS.md AGENTS.md file
motleyai/living-architecture · AGENTS.md
git:20261113.1daeeef · audit A · 14 stars
CLAUDE.md CLAUDE.md file
motleyai/living-architecture · CLAUDE.md
git:20261001.5723e5d · audit B · 14 stars
arch-cleanup SKILL.md skill
motleyai/living-architecture · plugin/skills/arch-cleanup/SKILL.md · Use to carve or tighten ONE architecture boundary in a repo with the living-architecture setup — take a coherent batch…
git:20261109.ade696f · audit A · 14 stars
arch-init SKILL.md skill
motleyai/living-architecture · plugin/skills/arch-init/SKILL.md · Build a repo's first living-architecture model — write the language sections of architecture/index.yaml, scaffold the…
git:20261116.1f99fe6 · audit A · 14 stars
codex-review SKILL.md skill
motleyai/living-architecture · plugin/skills/codex-review/SKILL.md · Use the codex MCP server to review the current git diff. Focus on correctness, regressions, security issues, tests, and…
git:20261005.633cc9a · audit A · 14 stars
concise-comments SKILL.md skill
motleyai/living-architecture · plugin/skills/concise-comments/SKILL.md · Rules for concise code comments/docstrings, plus a pass to trim verbose ones. Use when writing or reviewing code, or…
git:20261005.4057a53 · audit A · 14 stars
deterministic-refactor SKILL.md skill
motleyai/living-architecture · plugin/skills/deterministic-refactor/SKILL.md · Use to rename or move a module/class/function/method/attribute (Python or TypeScript) and update all…
git:20261117.dfb8d44 · audit A · 14 stars
fetch-coderabbit-threads SKILL.md skill
motleyai/living-architecture · plugin/skills/fetch-coderabbit-threads/SKILL.md · Use when the user asks to fetch / list / read / show unresolved CodeRabbit review threads on a GitHub PR. Pulls thread…
git:20261005.1d349d3 · audit A · 14 stars
fetch-failed-pr-checks SKILL.md skill
motleyai/living-architecture · plugin/skills/fetch-failed-pr-checks/SKILL.md · Use when the user asks to check / fetch / list / show failed CI checks (GitHub Actions, external CI) on a GitHub PR —…
git:20261109.1aa4181 · audit A · 14 stars
init SKILL.md skill
motleyai/living-architecture · plugin/skills/init/SKILL.md · Onboard a repo to the la plugin — detect its tracker, test/lint/type-check commands, Codex, Sonar and any existing…
git:20261116.1f99fe6 · audit A · 14 stars
living-architecture SKILL.md skill
motleyai/living-architecture · plugin/skills/living-architecture/SKILL.md · Reference for the living-architecture layer (LikeC4 structure model + arc42 principles + model-truth import enforcement…
git:20261109.a70fad3 · audit A · 14 stars
make-diff-compliant SKILL.md skill
motleyai/living-architecture · plugin/skills/make-diff-compliant/SKILL.md · Use to bring exactly the source files a PR/branch touches up to the deterministic-refactor compliance conditions…
git:20261005.4057a53 · audit A · 14 stars

Every file in motleyai/living-architecture

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