Repository navigation
feat(claude): add a listing icon to both plugins - #52
Draft
steve-calvert-glean wants to merge 1 commit into
Draft
steve-calvert-glean wants to merge 1 commit into
steve-calvert-glean wants to merge 1 commit into
Conversation
Anthropic's plugin directory reads a plugin's icon from the plugin folder. Neither Claude plugin had one, so `claude plugin validate --strict` reported ICON_MISSING for both. Add a 1024 x 1024 PNG at assets/icon.png in each plugin. The directory needs a square PNG or JPEG of 512 to 2048 px, and the existing avatar.png is 128 px. The new file is the same artwork at a larger size. The validator finds assets/icon.png without an `icon` key, so plugin.json does not change. The Cursor and Codex outputs do not change.
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
Neither Claude plugin has an icon.
claude plugin validate --strictreportsICON_MISSINGforgleanandglean-dev-docs, and Anthropic's plugin directory would list both without one.The validator also says the file can become the listing icon only once, the first time the plugin is saved or submitted in the developer portal. Adding or changing it later does not change the icon. The icon therefore has to be in place before the first submission.
Change
Add
assets/icon.pngto both Claude plugins. It is a 1024 x 1024 PNG of the same artwork as the existingavatar.png, which is 128 px and below the directory's 512 px minimum.overrides/claude/glean/assets/icon.pngoverrides/claude/glean-dev-docs/assets/icon.pngpluginpack.config.ts: the Claudeglean-dev-docsplugin gets anoverridesfolder and addsassetstoinclude, so the file is copied.The validator finds
assets/icon.pngby path, soplugin.jsonhas noiconkey and does not change.Checks
I built
mainand this branch and compared the twodistfolders..pluginpack/claude.json. Bothplugin.jsonfiles andmarketplace.jsonare byte-identical.npm run buildandnpm run validatepass for all three targets.claude plugin validate --strict(Claude Code 2.1.319) passes for both plugins and for the marketplace root.ICON_MISSINGno longer appears.Not checked
Before merging
Please confirm this is the artwork you want for the listing. The directory sets the listing icon at the first submission and does not update it afterwards.