/trmv:initfrom trmv
Onboards a repository to the trmv plugin by detecting test/type-check commands, proposing config, and optionally writing it. Also handles fast-path setup for repos without config and stealth mode for repos the user doesn't own.
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 — unless the only failure is the config this skill writes being missing or invalid. 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.
trmv reads one committed config file at the repo root: trmv.yaml, else living-architecture.yaml.
A repo that already has living-architecture.yaml keeps trmv's keys in it, so it has one file; both present is
refused. Keys and defaults are in docs/configuration.md of the plugin repo; trmv-config show prints the resolved
values.
Fast path. When another skill's preflight reports the missing config, run steps 1–4 only, then hand back to that
skill. A full run (the user invoked /trmv:init) continues to step 5.
Stealth setup. When the repo has no config, ask once (with PROS, CONS and a RECOMMENDATION) whether to set it up
in stealth mode: for a repo the user does not own, where nothing committed or pushed may show the tools were used. In
stealth mode step 3 writes <C>/trmv/trmv.yaml (<C> = git rev-parse --path-format=absolute --git-common-dir),
never a file at the repo root, and step 5 offers no baseline: trmv-typecheck compares with the merge base. Nothing
is committed. Details: docs/configuration.md, "Stealth mode".
Read, don't ask. For each key note the value and where it came from:
trmv.yaml or living-architecture.yaml exists, this run edits trmv's keys
in it in place: start from their values and leave every other key alone. Read it as raw YAML, not with
trmv-config, which rejects an invalid file.commands.test. From the package manifests (trmv-config get lang.<language>.markers), a Makefile, the CI
workflows and CLAUDE.md/AGENTS.md. It must be the full non-integration suite: the refactor gate runs it.commands.typecheck. Each language's checker. Propose an entry only where the default
(trmv-config get commands.typecheck.<language>) does not fit — a subdirectory project, or null for a checker that
is not compatible with the default (the language docs in <this skill's base directory>/../../languages/ give
examples).exempt. Propose globs for generated or vendored code and fixtures you find.refactor. Keep the defaults unless the repo's own instructions say otherwise.Show trmv's proposed keys, each on its own line with a trailing comment naming its source (# detected: Makefile,
# default, # your answer). Omit keys whose value equals the default only when the source is default. Leave out
format: step 3 adds it. Ask only about keys you could not detect, in one message.
Write trmv's keys into the existing config file, or into a new trmv.yaml at the repo root when
there is none. A new trmv.yaml starts with the line format: <version>, where <version> is the
format trmv-doctor --require-config names when the file declares none. Check it with trmv-config show.
Run trmv-doctor --plugin <this skill's base directory> --require-config. Fix whatever it reports (an invalid value, a
missing checker) and re-run until it passes.
If trmv-typecheck checks a language that has no baseline yet, offer (yes/no) trmv-typecheck --write-baseline. This is
the one legitimate recording: afterwards the baseline only shrinks.
Never wire CI. Do not commit: the user commits the config.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
trmv, repo-onboarding, config-setup, type-check, test-commands
npx claudepluginhub motleyai/living-architecture --plugin trmv4 skills in this plugin
/make-diff-compliantUse to bring exactly the source files a PR/branch touches up to the type-rename-move compliance conditions (typed, overrides marked, typed test doubles), so a future refactor over them is verifiable. Scoped to the diff — grows compliance monotonically, no repo-wide migration./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