Repository navigation
Require vendored plugin icons in submit-a-plugin skill - #1745
Conversation
Co-Authored-By: Claude <[email protected]>
There was a problem hiding this comment.
🚨 SLOP COP 🚨 · review
Plain English summary: This change tells the plugin submission guide to save each icon inside the marketplace repository.
I am SlopCop, and I am reviewing this pull request now.
I will check security, quality, performance, architecture, duplication, and the applicable end-to-end path.
|
|
||
| ## Add the icon | ||
|
|
||
| Always vendor the plugin's icon. Copy the icon file into the marketplace `icons/` directory. Reference only that vendored copy from the entry. |
There was a problem hiding this comment.
🚨 slopcop/review — This unconditional rule conflicts with valid host icon names.
The same section permits a supported BB host icon at lines 277 and 303. The marketplace schema and four current entries also use this option.
Those entries have no file to vendor. The new checklist at line 384 cannot pass for them.
Please make this rule conditional on icon containing a url object.
|
|
||
| Always vendor the plugin's icon. Copy the icon file into the marketplace `icons/` directory. Reference only that vendored copy from the entry. | ||
|
|
||
| Do not reference a remote URL, a CDN, a `raw.githubusercontent.com` link, or a path in the plugin repository. The marketplace must serve the icon from its own repository, so the icon stays available when the plugin repository changes or moves. |
There was a problem hiding this comment.
🚨 slopcop/review — The marketplace does not enforce this new policy.
The skill tells agents to treat the marketplace files as the source of truth. However, the current schema permits absolute HTTPS icon URLs.
The marketplace icon guide also calls local files optional. The build only checks local files whose URLs start with ./.
Please enforce this community policy in marketplace CI. Another option is to state that this rule is stricter than the generic schema.
There was a problem hiding this comment.
🚨 SLOP COP 🚨 · review
Plain English summary: This PR tells the submission agent to keep image files in the marketplace repository instead of remote locations.
Findings
- The unconditional file rule conflicts with valid BB host icon names. Four current entries use host names and have no file to vendor.
- The marketplace schema and build still permit remote HTTPS icons. Enforce this policy in marketplace CI to make the requirement reliable.
- The new copy instruction repeats the existing file-copy instruction at line 285. One conditional file workflow would remove this duplication.
Security and performance
I found no security or performance concern. The change removes mutable remote icon dependencies and adds only 490 bytes to one cached skill.
Checks
- The exact head file passed the production front-matter parser.
- The focused submit-a-plugin server suite passed all four tests locally.
- GitHub checks passed for the server, app, packages, and package smoke jobs.
- One unrelated integration test failed during a provider build race. The other 54 integration tests passed.
A browser test cannot exercise this text-only agent rule. A full external test would require marketplace repository writes, which I did not perform.
I left two inline comments with specific changes. I used a comment review, with no approval or change request.
Summary
Tests
Documentation-only change to a builtin skill. No tests reference the skill text.
🤖 Generated with Claude Code