fix: vendor skills so plugin installs load without submodules - #7
Open
SimeonGriggs wants to merge 3 commits into
Open
fix: vendor skills so plugin installs load without submodules#7SimeonGriggs wants to merge 3 commits into
SimeonGriggs wants to merge 3 commits into
Conversation
Plugin installs clone without initializing submodules, so the declared skills paths were empty. Vendor database-skills and skills content in-tree, track upstream SHAs in .skills-versions.json, and sync via scripts/sync-skills.sh / the weekly workflow. Co-authored-by: Simeon Griggs <SimeonGriggs@users.noreply.github.com>
SimeonGriggs
marked this pull request as ready for review
August 17, 2026 10:22
Make the operating-skills tree name clearer next to database-skills, and update plugin.json, sync script, workflow, and docs accordingly. Co-authored-by: Simeon Griggs <SimeonGriggs@users.noreply.github.com>
Co-authored-by: Simeon Griggs <SimeonGriggs@users.noreply.github.com>
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.
Summary
Claude plugin installs clone this repo without initializing git submodules, so the skills paths declared in
.claude-plugin/plugin.jsonwere empty and skills never loaded.This PR vendors the skill content in-tree instead of using submodules, while keeping upstream
planetscale/database-skillsandplanetscale/skillsas the source of truth.Changes
database-skillsandskillsgit submodules (and.gitmodules)mainSHAs (recorded in.skills-versions.json)planetscale-skills/(clearer next todatabase-skills/)plugin.jsonat./planetscale-skillsscripts/sync-skills.shfor one-off / CI sync.github/workflows/update-skills.ymlto sync vendored files instead of submodule pointersValidation
./database-skills/skillsand./planetscale-skillsexist and containSKILL.mdfiles on a plain checkout (no submodule init)14-pscale-cli-automation)Note: this supersedes the submodule-pointer approach used by the open automated PRs that bump submodule SHAs.
Slack Thread