Repository navigation
feat: move the skills into a plugin folder, add the icon - #72
Merged
Merged
Conversation
The Anthropic directory treats the plugin folder as the whole plugin and holds anything over 512 files or with files over 256 KiB for a manual review; with the repo root as the plugin that was 726 files. plugins/pgedge now holds the skills, the Claude manifest, a README and the pgEdge icon, and the root marketplace and Cursor manifest point at it. npx skills still finds all five skills.
The marketplace now installs plugins/pgedge from the release tag (git-subdir, ref v<version>) and both manifests carry that version, so plugin installs get the skills that shipped with the binary, not main. TestPluginManifestsAgree holds the three to one version, and the release workflow refuses a tag that doesn't match it.
The owner/repo shorthand in a git-subdir source clones over SSH, which fails for anyone without a GitHub SSH key. Use the HTTPS URL.
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.
What changed
skills/moves toplugins/pgedge/skills/, beside the plugin's own.claude-plugin/plugin.json, aREADME.mdandassets/pgedge-icon.png(the pgedge.com site icon, 300×300). The root.claude-plugin/marketplace.jsonsource and the root.cursor-plugin/plugin.json(skills,logo) point at that folder.curl … | shinstall of a missing CLI, because the directory's security scan expects that disclosed.README.md,CLAUDE.md,docs/ai-agents.md,docs/getting-started.md, the pgedge skill andembed.go. The install command and skill names are unchanged.git-subdirsource forplugins/pgedgeatref: v0.5.0-beta.4, over HTTPS, and both manifests carryversion: 0.5.0-beta.4. Plugin installs therefore get the skills that shipped with a release, not main. The release workflow fails a tag whose number doesn't match the manifests, before anything is published.TestPluginManifestsAgreenow also holds the three to one version and ref, and checks the marketplace source, the icon, the Cursor logo and the Cursor skills path, and that the plugin README exists.Checks
npx skills add <checkout> --liststill finds all 5 skills.claude plugin validate .andclaude plugin validate plugins/pgedgepass. The only warning is the deliberate missingversion.pgedge@pgedge-clifrom the checkout into a throwawayCLAUDE_CONFIG_DIR: enabled, read fromplugins/pgedge, 5SKILL.md.make test,make lint,make lint-docs,make docs-checkandmake test-scriptsare clean. The skill-doc and recipe gates ran 449 subtests against the new path..cursor-plugin/andplugins/pgedge/in~/.cursor/plugins/local/pgedgewas picked up bycursor agent. Asked how to sign in to Starfleet, with no skill named, it readpgedgeand thenpgedge-starfleetfrom the plugin and answered from them. A control run without the plugin listed none of the five.git-subdirinstall from the pushed branch, in a throwaway config, installed0.5.0-beta.4with all 5 skills. The first try used thepgEdge/pgedge-clishorthand, which cloned over SSH and failed without a GitHub key, so the entry now uses the HTTPS URL.marketplace add pgEdge/pgedge-cliitself clones fine.GITHUB_REF_NAME=v0.5.0-beta.4and fails forv0.5.0-beta.3, naming the file and both versions.v0.5.0-beta.3failsTestPluginManifestsAgree.TestPluginManifestsAgree.Risks
The plugin can't be installed until
v0.5.0-beta.4exists. Until then the marketplace points at a tag that hasn't been cut yet.Every CUT now bumps three values: two manifest versions and the marketplace
ref. The release fails if they're missed.Existing
npx skillsinstalls pinned to an older tag keep that tag's layout, which still works.