Repository navigation
feat(plugin): directory listing icon and links - #37
Merged
Merged
Conversation
- plugins/refkit/assets/icon.svg (source) + icon.png (512px, rendered by scripts/build-plugin-icon.mts with resvg): a fanned hand of reference cards for refkit's many sources, the front one carrying an allowed-license badge. - .claude-plugin/plugin.json: icon, documentationUrl, supportUrl for the Anthropic directory listing (Claude Code ignores them). - .codex-plugin/plugin.json: the same artwork as interface.logo/composerIcon. - Validated with Claude Code 2.1.308: plugin validate --strict passes, including its directory checks.
The icon background is now a dim field of license ids (CC0-1.0, CC-BY-SA-3.0, PD, …) in monospace, from a seeded generator so the rows read as noise but stay fixed. build-plugin-icon.mts loads system fonts (Menlo) to rasterise the text.
Scale the card group 1.18× and narrow the fan to ±18° so the cards fill the tile; black background, separators and badge ring; texture dimmed for black.
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 ships
The material Anthropic's plugin directory reads for the
plugins/refkitlisting:plugins/refkit/assets/icon.svg(the source) andicon.png(512×512, rendered by the newscripts/build-plugin-icon.mtswith resvg). The icon is a fan of reference cards, standing for refkit's many sources. The front card carries an "allowed" license badge. The black tile behind them is filled with dim license ids in monospace (CC0-1.0,CC-BY-SA-3.0,PD, …). Those rows come from a seeded generator, so they read as noise but never change. Re-render after editing the SVG withnpx tsx scripts/build-plugin-icon.mts..claude-plugin/plugin.jsongainsicon,documentationUrl(the plugin README) andsupportUrl(repo issues). Claude Code ignores these fields; the directory listing uses them..codex-plugin/plugin.jsonuses the same artwork asinterface.logo(PNG) andinterface.composerIcon(SVG).plugin-manifest) check thaticonis a square PNG of at least 512px inside the plugin, that the docs and support links are https, and that Codex gets the same artwork.Verification
pnpm typecheck && pnpm lint && pnpm test:run: 554 passed, 23 skipped.claude plugin validate --strict plugins/refkitwith Claude Code 2.1.308 passes, including its built-in directory checks ("These checks found nothing to report").claude plugin validate .passes.main(the 0.9.0 release).git merge-treemerges it cleanly, and in the merged tree every lockstep field is0.9.0with the new listing fields intact. CI runs on that merge.After merge
Submit in the developer portal at claude.ai/directory/manage. Choose Submit new → Plugin bundle, enter repo
refkitjs/refkitand folderplugins/refkit, then run Validate. Expect the pinnednpxlauncher to be held for a reviewer.