Repository navigation
Description
Problem
Rename the biome-format plugin to javascript-format, completely. The new name says what the plugin covers. Biome formats and lints JavaScript, TypeScript, JSX and JSON (plugins/biome-format/.claude-plugin/plugin.json, the description). The old name names the tool.
When this is done:
- no current-state reference to the old name remains in this repository or its companion repositories;
- every lane runs
javascript-format@melodic-softwareand notbiome-format@melodic-software; - no saved setting or git-hook artifact is left under the old name.
Locations were taken on main at 606fdf680205dc1f7039aab0531ea6043b5ed85f. Line numbers move, so find each location by its quote or by grep.
Why
Q107 and Q133 are the owner's decisions to rename five plugins after their concern rather than their tool or current behavior: typos-format to spelling, ruff-format to python-format, biome-format to javascript-format, context-guard to context-usage, and rate-limit-guard to rate-limits.
- Owner, 2026-11-11: "We do need to decouple ... low coupling, high cohesion".
- Owner, 2026-11-12: "we need to make sure everything's migrated: nothing cosmetic, nothing left behind. For rename, it needs to be a complete rename, and nothing left over with the old name."
Under the 2026-11-12 decision:
- Every item a previous rename treated as optional is required here. That includes the 77-file example string below.
- Saved option values are migrated, not reset. #15372 sets the precedent for the changelog fragment's form only.
The playbook rule "no deprecation shim, alias, or pointer to the old name" (docs/migration-playbook.md, rename section) still holds. One-time migration code that moves data and then deletes it is not an alias. List each such line in the PR with its removal condition.
Scope in this repository
Identity
git mv plugins/biome-format plugins/javascript-format..claude-plugin/marketplace.json:nameandsource.plugin.json:nameand the keys below./biome-format:setupand/biome-format:checkbecome/javascript-format:setupand/javascript-format:check. The install id becomesjavascript-format@melodic-software.
Option keys and environment variables
| Old key | New key |
|---|---|
biome_format_enabled |
javascript_format_enabled |
biome_format_lint_gitignored |
javascript_format_lint_gitignored |
biome_format_end_of_turn |
javascript_format_end_of_turn |
These follow the keys:
CLAUDE_PLUGIN_OPTION_BIOME_FORMAT_*becomesCLAUDE_PLUGIN_OPTION_JAVASCRIPT_FORMAT_*;hook::check_enabled "BIOME_FORMAT";BIOME_FORMAT_ENABLEDinprerequisites.jsonsession_probe;HOOK_BIOME_FORMAT_ENABLEDin the tests.
No key keeps its old name.
Files whose names carry the old name
hooks/biome-format.sh,hooks/biome-format.test.shandhooks/biome-format-end-of-turn.test.shbecomehooks/javascript-format*.sh. Updatehooks/hooks.jsonto match..claude/skills/control-claude-code-plugins/features/biome-format/becomesfeatures/javascript-format/.- After the move,
git ls-files | grep -i -e biome-format -e biome_formatprints nothing.
References inside the moved directory (about 66 files)
plugin.json,README.md,hooks/hooks.json,prerequisites.json, the hook scripts and tests,skills/setup/SKILL.mdand the evals.reference/plugin-reconfiguration.md.git-hooks/biome-check.sh: the entry namebiome-checknames the tool and stays. A user-facingbiome-format:prefix becomesjavascript-format:.CHANGELOG.md: the title line and the released sections are renamed; see "Owner ruling on released history" below.
References outside the moved directory (about 23 files)
- Other plugins:
plugins/evals/skills/plugin-eval/scripts/test_run_validity.py(about lines 2104-2126) andplugins/evals/skills/plugin-eval/reference/reading-results.md. Both usebiome-formatas the example plugin in a run-home grep. Change them tojavascript-format. docs/:- ADR 0028;
docs/cloud-sessions.md;docs/contracts/check-placement/README.mdandadopting-git-hooks.md;docs/contracts/hook-budget/README.md;docs/contracts/hook-precision/README.md, two places, includingbiome_format_lint_gitignored;docs/contracts/prerequisites/README.md, the example string;docs/cursor-compatibility.md, two places;docs/formatter-path-probes.md;docs/upstream/claude-code-mods/research-2026-09-19/research-repo-fit.md, dated research. Rename it too, per the owner ruling below.
- Root and scripts:
.claude/cloud-bootstrap.sh, a comment;.performance/ratchets.json, two ratchets;scripts/affected-tests-live.sh;- the control skill
SKILL.mdrow; - the sorted lists, where the entry moves and the list must be re-sorted:
scripts/fragment-plugins.txt,scripts/em-dash-purged-paths.txt,scripts/shared-copies.txt(several lines),scripts/suite-seconds.txt.
.github/: none today. Grep it anyway.
The BIOME_FORMAT_ENABLED example string: 77 files, required
lib/prerequisites.mjssays "such as BIOME_FORMAT_ENABLED" in two places. That text is vendored into 76 copies.- Edit
lib/prerequisites.mjs, then runscripts/sync-shared-copies.sh. Never hand-edit a copy. - Make the example an option name that does not carry a plugin name, or one no rename plan touches, so a later rename does not touch 77 files again.
- Update
docs/contracts/prerequisites/README.mdto match.
Generated files: regenerate, never hand-edit
docs/catalog.md:node scripts/generate-catalog.mjs.- Cheat sheet:
node scripts/generate-cheatsheet.mjs. docs/architecture/landscape.json:plugins/architecture/skills/map-landscape/scripts/landscape-record.sh.- Vendored copies:
scripts/sync-shared-copies.sh.
Traps: do not run a blind sed
- Every
biome formatandbiome checkcommand names the tool. Keep them. - The
biome-checkgit-hook entry also names the tool. Keep it. - Released CHANGELOG sections are renamed too.
- After the
git mv, run/docs-hygiene:rename-references biome-format javascript-format.
Changelog
- Run
scripts/new-changelog-fragment.sh javascript-format majorto write.changes/javascript-format/<slug>.mdwithbump: major. - Do not edit the version in
plugin.json. Rename the old name in the released sections ofCHANGELOG.mdtoo. Released-entry body edits follow the in-place correction rule in the header ofscripts/check-changelog-parity.sh(Released CHANGELOG entries are being edited in place (#2312 rewrote two lines inside the shipped 0.51.12) — decide whether that is sanctioned #2388): name each edit in the PR body and in the new release entry.--check-preservedwatches version headings only; keep every heading and do not change the gate. - The fragment names the new id, commands and keys. The old-to-new mapping and the consumer steps go in the PR body.
- Every plugin whose vendored
prerequisites.mjscopy changes may need its own fragment. Follow whateverscripts/check-changelog-fragments.sh --checkrequires.
After merge, confirm that the release PR releases javascript-format and records nothing under biome-format.
Companion changes in other repositories (each its own paired PR)
| Repo | Change |
|---|---|
melodic-software/dotfiles |
See below. Required. |
melodic-software/ci-workflows |
.claude/settings.json: replace "biome-format@melodic-software": true with "javascript-format@melodic-software": true. Required: cloud sessions install declared ids through cloud-bootstrap.sh, so an id the catalog no longer publishes fails there. |
melodic-software/medley |
Prose naming biome-format@melodic-software: .claude/rules/cloud-conventions.md, .claude/rules/hooks/conventions.md, .claude/rules/observability/conventions.md (shared with the python-format rename; coordinate or do both names in one PR), .claude/rules/typescript/conventions.md (two places), .lefthook/pre-commit/ts-typecheck.sh, docs/ecosystems/monorepo-tooling-conflicts.md. |
melodic-software/github-iac |
docs/plugin-policy.md. |
Not edited, with the reason:
claude-lane-sandboxis archived.pr-pipeline-sandboxholds mirror copies, which refactor(source-control)!: rename worktree-add-claim-gate to worktree-add-claim #15372 left untouched.- The
knowledge-corpusresearch records are history.
dotfiles PR:
- In
.chezmoidata/claude.jsonclaudeSettings.force.enabledPlugins, replace"biome-format@melodic-software": truewith"javascript-format@melodic-software": true, in sorted position. force.pluginConfigshas nobiome-formatentry today. If one exists at build time, move it to the new id with the new key names and the values unchanged.- Add
"biome-format@melodic-software"toclaudeSettings.uninstallPlugins. - Add the entry
biome-format→javascript-format, with the three key pairs, to the saved-settings rename map that the spelling issue builds. - Regenerate the affected golden
*.sha256files withGet-RenderHash.ps1 -Fixture <fixture>, and log the regeneration ingolden/README.md. docs/claude-hook-fanout.mdis a dated measurement record. Rename it too, per the owner ruling below.- Cite Q107/Q133 and the 2026-11-12 quote for the Self-Modification soft-deny on
.chezmoidata/claude.json. tools/check-plugin-manifest/check.shpasses only after the ccp PR merges. Merge this PR right after it.
Migration: nothing left behind
- Installed old id. The next
fleet-convergeuninstalls it on every lane throughuninstallPlugins, without--keep-data, so~/.claude/plugins/data/biome-format-melodic-software/goes too. - Saved option values: migrate, do not reset.
dot_claude/modify_settings.jsoncopies each old-idpluginConfigsvalue to the new id under its new key, unless that key already holds a value, and then deletes the old entry. It works from the rename-map entry, the mechanism the spelling issue's dotfiles PR builds. - Consumer git-hook artifacts. Use the
lib/git-hooks/migration the spelling issue builds./javascript-format:setup checkreports these leftovers as drift, with the fix:.githooks/biome-format/, the<event>.d/biome-format.biome-checkmarker, the lefthook jobbiome-format-biome-check, and the git config keyshook.biome-format-biome-checkandchecks.biome-format.biome-check.declined.apply install-git-hooksinstalls the new entry, carries a recorded decline over to the new key, and removes the old artifacts.
- On-disk data: nothing beyond item 1. This plugin has no machine-scope directory.
Acceptance criteria
- On merged ccp
main,git grep -n -i -e 'biome-format' -e 'biome_format' -e 'biomeformat'returns only the migration lines named in the PR, and the PR lists each remaining hit with its removal condition. -
git grep -n -i -e 'biome format'on the same tree hits only the tool's ownbiome formatsubcommand, never the plugin's name written with a space; the PR says so. - The same grep returns no hit in any of the 77
prerequisites.mjsfiles. - The same grep over dotfiles, ci-workflows, medley and github-iac returns only the dotfiles
uninstallPluginsand rename-map entries, plus the migration lines each PR lists. - The plugin's hook tests pass, as do
lib/prerequisitestests and the shared-copies drift check. -
ci-statusis green, including the changelog fragment and parity checks,check-killswitch-hoist.shandcheck-hook-userconfig-argv.sh. - On the dotfiles PR, after the ccp merge, dotfiles
tools/check-plugin-manifest/check.shand the golden render check pass. - After all the PRs merge and one
fleet-convergeon a lane:claude plugin listshowsjavascript-format@melodic-softwareand notbiome-format@melodic-software;~/.claude/settings.jsonhas nobiome-format@melodic-softwareentry underpluginConfigs;- every saved value sits under its new key, unchanged.
- A cloud session in ci-workflows installs
javascript-format@melodic-softwarewithout error. - In a test repository with the old git hook installed,
setup checkreports the old artifacts. Afterapply install-git-hooks, none remain and a prior decline is kept.
Order and dependencies
- Prerequisites: start after the spelling rename merges. This rename reuses spelling's migration pieces, and the two share sorted lists.
- Blocking PR: wait for #15504 to merge. It edits
lib/prerequisites.mjsand its 76 copies, which this issue's example-string change also touches. - Parallel work: this can run alongside python-format. They share only sorted-list and shared-doc lines.
- Merge order: merge the ccp PR first. Merge the dotfiles and ci-workflows PRs within the same hour, then the medley and github-iac PRs.
Open PRs to rebase around
Re-run gh pr list -R melodic-software/claude-code-plugins --state open before starting. At filing time, these were open:
- #15504 adds
.changes/fragments for all five plugins and editslib/prerequisites.mjsand its copies. This issue is blocked by it. - #15508 adds
.changes/biome-format/…and editsplugins/biome-format/README.mdandskills/setup/SKILL.md.
A fragment under .changes/biome-format/ that merges after this rename leaves a fragment for a plugin that no longer exists, and git raises no conflict. Before merging, git mv any such fragment into .changes/javascript-format/.
Owner ruling on released history
Owner, 2026-11-12: "I want a clean cutover". Released CHANGELOG sections, ADR text and dated records are renamed to the new name too. The only old-name hits allowed after the rename are the dotfiles uninstallPlugins entry, the rename-map migration entry, and one-time migration lines that must read the old name, each listed in the PR with its removal condition.
Related
- Owner decisions Q107 and Q133 (2026-11-11), and the 2026-11-12 complete-rename decision.
- Precedent: #15372.
Metadata
Metadata
Assignees
Labels
Type
Fields
Work status
Priority
Activity
github-actions commentedon Nov 12, 2026
Size: Large
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: #15552
I read this as a complete rename of the
biome-formatplugin tojavascript-format. It covers the plugin identity, option keys, env vars, file names, about 77 vendored example strings, generated files, a changelog fragment, and paired PRs in four companion repositories. It also covers migration of saved settings and git-hook artifacts.The scope, owner decisions and acceptance criteria are spelled out in the issue, so I have no open questions. The work is large and should be split across the paired PRs.
It depends on the spelling rename (#15552), which supplies the migration pieces it reuses. It also depends on PR #15504 merging first. #15504 is a pull request and not an open issue, so it is not listed on the Blocked by line.
I found no duplicate and no merged PR that already does this.
Automated triage. A maintainer reviews it.
github-actions commentedon Nov 12, 2026
The triage sweep dispatched intake triage for this issue (dispatch 1; 2 runs that reach intake, or 6 dispatches, hand it to a maintainer).
melodic-automation-lanes commentedon Nov 12, 2026
Not admitted to the issue lane: its body or a criterion names .claude/skills/control-claude-code-plugins/features/biome-format/, .claude/cloud-bootstrap.sh, .claude/settings.json, .claude/rules/cloud-conventions.md, .claude/rules/hooks/conventions.md, .claude/rules/observability/conventions.md, .claude/rules/typescript/conventions.md, which the issue lane cannot push (patch-protected-path); a builder session takes it. Admission takes the issue once each of those is met, when intake triages it again (
.github/actions/resolve-config/admission-rules.json).kyle-sexton commentedon Nov 14, 2026
Closed by hand after the fleet check on the WSL lane (2026-11-14):
biome-format@melodic-softwareis not installed,javascript-format@melodic-softwareis; the emptybiome-format-melodic-softwaredata folder that sessions on the old code kept recreating was removed and stayed gone for ten minutes after every running session was reloaded with/reload-plugins --force. The only old-id hit in user settings is thefalseentry the dotfilesuninstallPluginslist renders.