Skip to content

Require vendored plugin icons in submit-a-plugin skill - #1745

Merged
SawyerHood merged 1 commit into
mainfrom
bb/always-vend-plugin-dependencies-thr_qdf8j4q7zc
Aug 18, 2026
Merged

SawyerHood merged 1 commit into
mainfrom
bb/always-vend-plugin-dependencies-thr_qdf8j4q7zc

Conversation

@SawyerHood

Copy link
Copy Markdown
Collaborator

Summary

  • The `submit-a-plugin` skill now tells the agent to always vendor the plugin icon into the marketplace `icons/` directory.
  • The skill forbids remote icon URLs, CDN links, `raw.githubusercontent.com` links, and paths into the plugin repository.
  • The pre-PR review checklist has a new item for the vendored icon.

Tests

Documentation-only change to a builtin skill. No tests reference the skill text.

AGENT GENERATED: by Claude Opus 5

🤖 Generated with Claude Code

@bb-slop-cop bb-slop-cop Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 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.

@bb-slop-cop bb-slop-cop Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 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

  1. The unconditional file rule conflicts with valid BB host icon names. Four current entries use host names and have no file to vendor.
  2. The marketplace schema and build still permit remote HTTPS icons. Enforce this policy in marketplace CI to make the requirement reliable.
  3. 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.

@SawyerHood
SawyerHood merged commit 31feca7 into main Aug 18, 2026
17 of 18 checks passed
@SawyerHood
SawyerHood deleted the bb/always-vend-plugin-dependencies-thr_qdf8j4q7zc branch August 18, 2026 00:05
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