Repository navigation
[skills] Rename upstream/SKILL.md to UPSTREAM.md to avoid duplicate skill names - #426
Open
cavalcanticampos wants to merge 1 commit into
Conversation
…kill names Co-Authored-By: Claude Opus 5.5 <[email protected]>
vercel
Bot
requested review from
a team,
Melkeydev,
aurorascharff and
molebox
November 16, 2026 17:23
This was referenced Nov 26, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Adding
vercel/vercel-pluginas a marketplace on claude.ai fails withfailed_content: the validator walks everySKILL.mdunderskills/and rejects the plugin when two declare the samename:(e.g.skills/ai-sdk/SKILL.mdandskills/ai-sdk/upstream/SKILL.md, bothname: ai-sdk). Claude Code's local loader tolerates this, so the plugin works locally but cannot be enabled at the account level.Fixes #156
Cause
Synced skills keep the pristine upstream file at
skills/<name>/upstream/SKILL.md, andbuild:skillsmerges it withoverlay.yamlintoskills/<name>/SKILL.md. Onmain, 8 of those upstream copies share theirname:with the built skill:ai-sdk,chat-sdk,eve,flags-sdk,is-agentic,vercel-cli,vercel-flags,workflow.Fix
skills/*/upstream/SKILL.mdtoskills/*/upstream/UPSTREAM.md(puregit mv, content unchanged).scripts/build-skills.tsreadsupstream/UPSTREAM.md.Only 8 upstream files currently duplicate a name.
react-best-practicesandvercel-sandboxdeclare different names upstream, but they are renamed too so the build reads a single path (upstream/UPSTREAM.md) for every synced skill and a future upstream rename can't reintroduce the collision.The built
skills/*/SKILL.mdfiles are unchanged.Tests
New
tests/skill-names-unique.test.ts(read-only, writes nothing):mainwith the 8 duplicates above, passes with this change.overlay.yaml, asserts there is noupstream/SKILL.md, thatupstream/UPSTREAM.mdexists, and that the committedSKILL.mdequals the same overlay + upstream-body mergebuild:skillsdoes. Fails onmain(noUPSTREAM.md), passes with this change.Ran:
bun test tests/skill-names-unique.test.ts(2 pass). Not run: the full test suite, and an actual sync against claude.ai.🤖 Generated with Claude Code