Deprecate Collections in favour of Plugins

Replace Collections with Plugins as first-class citizens in the repo.
With the Copilot CLI v0.409 release making plugins an on-by-default
marketplace, collections are redundant overhead.

## What changed

### Plugin Infrastructure
- Created eng/validate-plugins.mjs (replaces validate-collections.mjs)
- Created eng/create-plugin.mjs (replaces create-collection.mjs)
- Enhanced all 42 plugin.json files with tags, featured, display, and
  items metadata from their corresponding collection.yml files

### Build & Website
- Updated eng/update-readme.mjs to generate plugin docs
- Updated eng/generate-website-data.mjs to emit plugins.json with full
  items array for modal rendering
- Renamed website collections page to plugins (/plugins/)
- Fixed plugin modal to use <div> instead of <pre> for proper styling
- Updated README.md featured section from Collections to Plugins

### Documentation & CI
- Updated CONTRIBUTING.md, AGENTS.md, copilot-instructions.md, PR template
- Updated CI workflows to validate plugins instead of collections
- Replaced docs/README.collections.md with docs/README.plugins.md

### Cleanup
- Removed eng/validate-collections.mjs, eng/create-collection.mjs,
  eng/collection-to-plugin.mjs
- Removed entire collections/ directory (41 .collection.yml + .md files)
- Removed parseCollectionYaml from yaml-parser.mjs
- Removed COLLECTIONS_DIR from constants.mjs

Closes #711
This commit is contained in:
Aaron Powell
2026-02-13 15:38:37 +11:00
parent de0611d0ec
commit 7a003fc75a
154 changed files with 2603 additions and 5790 deletions

View File

@@ -65,13 +65,13 @@ const base = import.meta.env.BASE_URL;
</div>
<div class="card-count" data-count="hooks" aria-label="Hook count">-</div>
</a>
<a href={`${base}collections/`} class="card card-with-count" id="card-collections">
<div class="card-icon" aria-hidden="true">📦</div>
<a href={`${base}plugins/`} class="card card-with-count" id="card-plugins">
<div class="card-icon" aria-hidden="true">🔌</div>
<div class="card-content">
<h3>Collections</h3>
<p>Curated collections organized by themes</p>
<h3>Plugins</h3>
<p>Curated plugins organized by themes</p>
</div>
<div class="card-count" data-count="collections" aria-label="Collection count">-</div>
<div class="card-count" data-count="plugins" aria-label="Plugin count">-</div>
</a>
<a href={`${base}tools/`} class="card card-with-count" id="card-tools">
<div class="card-icon" aria-hidden="true">🔧</div>
@@ -85,11 +85,11 @@ const base = import.meta.env.BASE_URL;
</div>
</section>
<!-- Featured Collections -->
<!-- Featured Plugins -->
<section class="featured" aria-labelledby="featured-heading">
<div class="container">
<h2 id="featured-heading">Featured Collections</h2>
<div id="featured-collections" class="cards-grid" aria-live="polite">
<h2 id="featured-heading">Featured Plugins</h2>
<div id="featured-plugins" class="cards-grid" aria-live="polite">
<!-- Populated by JS -->
</div>
</div>

View File

@@ -3,20 +3,20 @@ import BaseLayout from '../layouts/BaseLayout.astro';
import Modal from '../components/Modal.astro';
---
<BaseLayout title="Collections" description="Curated collections of prompts, instructions, and agents for specific workflows" activeNav="collections">
<BaseLayout title="Plugins" description="Curated plugins of prompts, agents, and skills for specific workflows" activeNav="plugins">
<main id="main-content">
<div class="page-header">
<div class="container">
<h1>📦 Collections</h1>
<p>Curated collections of prompts, instructions, and agents for specific workflows</p>
<h1>🔌 Plugins</h1>
<p>Curated plugins of prompts, agents, and skills for specific workflows</p>
</div>
</div>
<div class="page-content">
<div class="container">
<div class="search-bar">
<label for="search-input" class="sr-only">Search collections</label>
<input type="text" id="search-input" placeholder="Search collections..." autocomplete="off">
<label for="search-input" class="sr-only">Search plugins</label>
<input type="text" id="search-input" placeholder="Search plugins..." autocomplete="off">
</div>
<div class="filters-bar" id="filters-bar">
@@ -35,7 +35,7 @@ import Modal from '../components/Modal.astro';
<div class="results-count" id="results-count" aria-live="polite"></div>
<div class="resource-list" id="resource-list" role="list">
<div class="loading" aria-live="polite">Loading collections...</div>
<div class="loading" aria-live="polite">Loading plugins...</div>
</div>
</div>
</div>
@@ -44,6 +44,6 @@ import Modal from '../components/Modal.astro';
<Modal />
<script>
import '../scripts/pages/collections';
import '../scripts/pages/plugins';
</script>
</BaseLayout>