/trmv:make-diff-compliantfrom trmv
Brings source files touched by a PR/branch up to type-rename-move compliance (typed, overrides marked, typed test doubles) so future refactors are verifiable. Scoped to the diff for incremental migration.
Ships in trmv. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Preflight: run trmv-doctor --plugin <this skill's base directory> once per session before using any trmv-* command; if it fails, stop and show the user its output. If trmv-doctor is not found, or reports the trmv tools older than the plugin, stop and give the user the install command at this plugin's version (in its .claude-plugin/plugin.json): la's install command when the repo has living-architecture.yaml, else uv tool install type-rename-move==<version> in a Python repo, npm install -g type-rename-move@<version> in a TS/JS repo.
Raise compliance one PR at a time instead of a big-bang migration: every diff leaves the files it touched fully refactor-verifiable.
git diff --name-only <base>...HEAD (base = the PR's target branch), kept to
the repo languages' sources (trmv-config get languages, then
trmv-config get lang.<language>.source_globs).trmv-compliance <changed files> — each file gets its language's
checks.<this skill's base directory>/../../languages/<language>.md; mark every
override among the changed methods.trmv-compliance <changed files> exits 0;trmv-typecheck shows no new errors;trmv-mock-lint <changed tests> passes.trmv-config get commands.test). Review. The user commits.Never weaken existing annotations. Keep edits within the diff's files unless a fix requires annotating an immediate caller.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub motleyai/living-architecture --plugin trmv4 skills in this plugin
/initOnboard a repo to the trmv plugin — detect its test and type-check commands and the paths that are not its own source, propose trmv's config with a source for every key, write it, then offer the type-check baseline. Also the fast path other trmv skills run when a repo has no config, and the steps another plugin's onboarding uses for trmv's keys./make-refactor-target-compliantUse 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./rename-moveUse to rename or move a module/class/function/method/attribute (Python or TypeScript) and update all imports/references, with a deterministic check that nothing was missed. Mutator = trmv-refactor; the guarantee = trmv-typecheck + trmv-mock-lint + the test suite. Only sound on a compliant target (see docs/rename-and-move.md).Other plugins' skills for the same job