Skip to content

feat(claude): add a listing icon to both plugins - #52

Draft
steve-calvert-glean wants to merge 1 commit into
mainfrom
feat/claude-icon
Draft

steve-calvert-glean wants to merge 1 commit into
mainfrom
feat/claude-icon

Conversation

@steve-calvert-glean

Copy link
Copy Markdown
Contributor

Problem

Neither Claude plugin has an icon. claude plugin validate --strict reports ICON_MISSING for glean and glean-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.png to both Claude plugins. It is a 1024 x 1024 PNG of the same artwork as the existing avatar.png, which is 128 px and below the directory's 512 px minimum.

  • overrides/claude/glean/assets/icon.png
  • overrides/claude/glean-dev-docs/assets/icon.png
  • pluginpack.config.ts: the Claude glean-dev-docs plugin gets an overrides folder and adds assets to include, so the file is copied.

The validator finds assets/icon.png by path, so plugin.json has no icon key and does not change.

Checks

I built main and this branch and compared the two dist folders.

  • Claude: two new files (the icons) and their two entries in .pluginpack/claude.json. Both plugin.json files and marketplace.json are byte-identical.
  • Cursor and Codex: no change.
  • npm run build and npm run validate pass for all three targets.
  • claude plugin validate --strict (Claude Code 2.1.319) passes for both plugins and for the marketplace root. ICON_MISSING no longer appears.

Not checked

  • I did not install the built plugin in Claude Code, chat or Cowork.
  • I did not run the developer portal's validation, which runs more checks than the command.
  • The validator still advises adding an install line to each README. That is separate from this change.

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant