summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaisy S. Hollman <thewholedaisy@gmail.com>2026-07-03 17:17:44 -0700
committerGitHub <noreply@github.com>2026-07-03 19:17:44 -0500
commitb01a789953570a420688033e8518dff3af35bb8d (patch)
tree30a90feff4e6f8ac684e1ec41e07a882d46b40d0
parent456e4e667280d187d91338b63c79aff9cad38d5d (diff)
feat: add renames map for auto-migration of renamed plugins (#3176)
Adds a top-level "renames" map to marketplace.json with the four historical renames (adlc, airwallex, convex-backend, vals) so that users who installed under the old slug auto-migrate to the new one once the loader-side support in cci#43997 ships. Also documents in README.md that plugin `name` is an immutable slug: use `displayName` for label changes, and if a rename is unavoidable, add a `renames` entry. Part of CC-2871. Co-authored-by: Claude <noreply@anthropic.com>
-rw-r--r--.claude-plugin/marketplace.json6
-rw-r--r--README.md15
2 files changed, 21 insertions, 0 deletions
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json
index c5ce2200..07df3807 100644
--- a/.claude-plugin/marketplace.json
+++ b/.claude-plugin/marketplace.json
@@ -6,6 +6,12 @@
"name": "Anthropic",
"email": "support@anthropic.com"
},
+ "renames": {
+ "adlc": "agentforce-adlc",
+ "airwallex": "airwallex-agentos",
+ "convex-backend": "convex",
+ "vals": "valtown"
+ },
"plugins": [
{
"name": "42crunch-api-security-testing",
diff --git a/README.md b/README.md
index a6c23417..43104e24 100644
--- a/README.md
+++ b/README.md
@@ -42,6 +42,21 @@ plugin-name/
└── README.md # Documentation
```
+## Plugin names are immutable
+
+The `name` field in a marketplace entry is an **immutable slug**. Once a plugin has been published, its `name` must not change — users have it installed under that slug, and renaming it breaks their install with a `plugin-not-found` error.
+
+- To change how a plugin is labeled in the UI, set or update `displayName` instead.
+- If a rename is genuinely unavoidable, add an entry to the top-level `renames` map in `.claude-plugin/marketplace.json` so existing installs auto-migrate:
+
+```json
+"renames": {
+ "old-name": "new-name"
+}
+```
+
+The Claude Code plugin loader reads this map and transparently rewrites the old slug to the new one on the user's next sync.
+
## Skill-bundle plugins
When a plugin's source repository ships skills (`SKILL.md` files) without a `.claude-plugin/plugin.json` manifest, the marketplace entry can declare the skills directly using `strict: false` and an explicit `skills` array.