Publishing Collections
Choosing Where to Publish
Before publishing, decide where your collection should live:
Publish to an existing shared source
Best when your organization already maintains a central collection repository.
- Pros: Less setup — no source creation needed; immediate visibility to all hub users
- Cons: You follow the repository's review process; ownership is per-author per-collection
Publish to your own source
Best when you want full control over the review and release cycle.
- Pros: Independent review and release cycle; source can be scoped per team or project
- Cons: Initial setup required (create repo, link to hub); users must add your source or it must be added to a hub
Contributing to an Existing Source
If you're contributing a collection to a source you don't own:
- Fork the source repository on GitHub
- Clone your fork and open it in VS Code with AI Primitives Hub installed
- Create a new collection:
Ctrl+Shift+P→ "AI Primitives Hub: Create Collection" - Fill in the collection metadata (id, name, description, version, author, tags) and link your primitives — see Collection Schema
- Validate:
Ctrl+Shift+P→ "AI Primitives Hub: Validate Collections" - Create a new branch, commit, and open a Pull Request against the upstream source repository
Creating a New Source (GitHub Recommended)
Setup
- Scaffold a new repository:
Ctrl+Shift+P→ "AI Primitives Hub: Scaffold Project" →Awesome Copilot Project - Choose an empty folder where the repository should be bootstrap
- Update the content of different folder and collections files
- Validate your collection Validation
- Create a new repository in your github organization
- Do the initial commit and push to your new repository
Update the content of your collection
id: my-collection
name: My Collection
version: 1.0.0
description: What this collection does
Users Install Via
Ctrl+Shift+P → "Add Source" → Collection from Github repository → Name of the source → Link to your repository you just published → remaining can remain as default
- Once source is added refresh your marketplace and search for your bundles you can install them
Updating
- Push a new commit in your repo
- Users will need to sync
Users update via: Right-click bundle → "Check for Updates"