From f76f63866a5cbfd136cf01c02fbb234037954697 Mon Sep 17 00:00:00 2001 From: Aaron Powell Date: Wed, 28 Jan 2026 16:56:41 +1100 Subject: [PATCH] fix: parse featured field from display.featured in collections The collection YAML files have featured nested under display object, not at the top level. Updated generate-website-data.mjs to check both data.featured and data.display?.featured. --- eng/generate-website-data.mjs | 5 +- website/public/data/collections.json | 328 +++++++++++++------------- website/public/data/manifest.json | 2 +- website/public/data/search-index.json | 78 +++--- 4 files changed, 208 insertions(+), 205 deletions(-) diff --git a/eng/generate-website-data.mjs b/eng/generate-website-data.mjs index 6c253593..3fb63c38 100644 --- a/eng/generate-website-data.mjs +++ b/eng/generate-website-data.mjs @@ -400,12 +400,15 @@ function generateCollectionsData() { const tags = data.tags || []; tags.forEach((t) => allTags.add(t)); + // featured can be at top level or nested under display + const featured = data.featured || data.display?.featured || false; + collections.push({ id: file.replace(".collection.yml", ""), name: data.name || file.replace(".collection.yml", ""), description: data.description || "", tags: tags, - featured: data.featured || false, + featured: featured, items: (data.items || []).map((item) => ({ path: item.path, kind: item.kind, diff --git a/website/public/data/collections.json b/website/public/data/collections.json index e24b8137..5c06764b 100644 --- a/website/public/data/collections.json +++ b/website/public/data/collections.json @@ -11,7 +11,7 @@ "prompt-engineering", "agents" ], - "featured": false, + "featured": true, "items": [ { "path": "prompts/suggest-awesome-github-copilot-collections.prompt.md", @@ -42,6 +42,169 @@ "path": "collections/awesome-copilot.collection.yml", "filename": "awesome-copilot.collection.yml" }, + { + "id": "copilot-sdk", + "name": "Copilot SDK", + "description": "Build applications with the GitHub Copilot SDK across multiple programming languages. Includes comprehensive instructions for C#, Go, Node.js/TypeScript, and Python to help you create AI-powered applications.", + "tags": [ + "copilot-sdk", + "sdk", + "csharp", + "go", + "nodejs", + "typescript", + "python", + "ai", + "github-copilot" + ], + "featured": true, + "items": [ + { + "path": "instructions/copilot-sdk-csharp.instructions.md", + "kind": "instruction", + "usage": null + }, + { + "path": "instructions/copilot-sdk-go.instructions.md", + "kind": "instruction", + "usage": null + }, + { + "path": "instructions/copilot-sdk-nodejs.instructions.md", + "kind": "instruction", + "usage": null + }, + { + "path": "instructions/copilot-sdk-python.instructions.md", + "kind": "instruction", + "usage": null + } + ], + "path": "collections/copilot-sdk.collection.yml", + "filename": "copilot-sdk.collection.yml" + }, + { + "id": "partners", + "name": "Partners", + "description": "Custom agents that have been created by GitHub partners", + "tags": [ + "devops", + "security", + "database", + "cloud", + "infrastructure", + "observability", + "feature-flags", + "cicd", + "migration", + "performance" + ], + "featured": true, + "items": [ + { + "path": "agents/amplitude-experiment-implementation.agent.md", + "kind": "agent", + "usage": null + }, + { + "path": "agents/apify-integration-expert.agent.md", + "kind": "agent", + "usage": null + }, + { + "path": "agents/arm-migration.agent.md", + "kind": "agent", + "usage": null + }, + { + "path": "agents/diffblue-cover.agent.md", + "kind": "agent", + "usage": null + }, + { + "path": "agents/droid.agent.md", + "kind": "agent", + "usage": null + }, + { + "path": "agents/dynatrace-expert.agent.md", + "kind": "agent", + "usage": null + }, + { + "path": "agents/elasticsearch-observability.agent.md", + "kind": "agent", + "usage": null + }, + { + "path": "agents/jfrog-sec.agent.md", + "kind": "agent", + "usage": null + }, + { + "path": "agents/launchdarkly-flag-cleanup.agent.md", + "kind": "agent", + "usage": null + }, + { + "path": "agents/lingodotdev-i18n.agent.md", + "kind": "agent", + "usage": null + }, + { + "path": "agents/monday-bug-fixer.agent.md", + "kind": "agent", + "usage": null + }, + { + "path": "agents/mongodb-performance-advisor.agent.md", + "kind": "agent", + "usage": null + }, + { + "path": "agents/neo4j-docker-client-generator.agent.md", + "kind": "agent", + "usage": null + }, + { + "path": "agents/neon-migration-specialist.agent.md", + "kind": "agent", + "usage": null + }, + { + "path": "agents/neon-optimization-analyzer.agent.md", + "kind": "agent", + "usage": null + }, + { + "path": "agents/octopus-deploy-release-notes-mcp.agent.md", + "kind": "agent", + "usage": null + }, + { + "path": "agents/stackhawk-security-onboarding.agent.md", + "kind": "agent", + "usage": null + }, + { + "path": "agents/terraform.agent.md", + "kind": "agent", + "usage": null + }, + { + "path": "agents/pagerduty-incident-responder.agent.md", + "kind": "agent", + "usage": null + }, + { + "path": "agents/comet-opik.agent.md", + "kind": "agent", + "usage": null + } + ], + "path": "collections/partners.collection.yml", + "filename": "partners.collection.yml" + }, { "id": "azure-cloud-development", "name": "Azure & Cloud Development", @@ -303,47 +466,6 @@ "path": "collections/clojure-interactive-programming.collection.yml", "filename": "clojure-interactive-programming.collection.yml" }, - { - "id": "copilot-sdk", - "name": "Copilot SDK", - "description": "Build applications with the GitHub Copilot SDK across multiple programming languages. Includes comprehensive instructions for C#, Go, Node.js/TypeScript, and Python to help you create AI-powered applications.", - "tags": [ - "copilot-sdk", - "sdk", - "csharp", - "go", - "nodejs", - "typescript", - "python", - "ai", - "github-copilot" - ], - "featured": false, - "items": [ - { - "path": "instructions/copilot-sdk-csharp.instructions.md", - "kind": "instruction", - "usage": null - }, - { - "path": "instructions/copilot-sdk-go.instructions.md", - "kind": "instruction", - "usage": null - }, - { - "path": "instructions/copilot-sdk-nodejs.instructions.md", - "kind": "instruction", - "usage": null - }, - { - "path": "instructions/copilot-sdk-python.instructions.md", - "kind": "instruction", - "usage": null - } - ], - "path": "collections/copilot-sdk.collection.yml", - "filename": "copilot-sdk.collection.yml" - }, { "id": "database-data-management", "name": "Database & Data Management", @@ -1006,128 +1128,6 @@ "path": "collections/openapi-to-application-python-fastapi.collection.yml", "filename": "openapi-to-application-python-fastapi.collection.yml" }, - { - "id": "partners", - "name": "Partners", - "description": "Custom agents that have been created by GitHub partners", - "tags": [ - "devops", - "security", - "database", - "cloud", - "infrastructure", - "observability", - "feature-flags", - "cicd", - "migration", - "performance" - ], - "featured": false, - "items": [ - { - "path": "agents/amplitude-experiment-implementation.agent.md", - "kind": "agent", - "usage": null - }, - { - "path": "agents/apify-integration-expert.agent.md", - "kind": "agent", - "usage": null - }, - { - "path": "agents/arm-migration.agent.md", - "kind": "agent", - "usage": null - }, - { - "path": "agents/diffblue-cover.agent.md", - "kind": "agent", - "usage": null - }, - { - "path": "agents/droid.agent.md", - "kind": "agent", - "usage": null - }, - { - "path": "agents/dynatrace-expert.agent.md", - "kind": "agent", - "usage": null - }, - { - "path": "agents/elasticsearch-observability.agent.md", - "kind": "agent", - "usage": null - }, - { - "path": "agents/jfrog-sec.agent.md", - "kind": "agent", - "usage": null - }, - { - "path": "agents/launchdarkly-flag-cleanup.agent.md", - "kind": "agent", - "usage": null - }, - { - "path": "agents/lingodotdev-i18n.agent.md", - "kind": "agent", - "usage": null - }, - { - "path": "agents/monday-bug-fixer.agent.md", - "kind": "agent", - "usage": null - }, - { - "path": "agents/mongodb-performance-advisor.agent.md", - "kind": "agent", - "usage": null - }, - { - "path": "agents/neo4j-docker-client-generator.agent.md", - "kind": "agent", - "usage": null - }, - { - "path": "agents/neon-migration-specialist.agent.md", - "kind": "agent", - "usage": null - }, - { - "path": "agents/neon-optimization-analyzer.agent.md", - "kind": "agent", - "usage": null - }, - { - "path": "agents/octopus-deploy-release-notes-mcp.agent.md", - "kind": "agent", - "usage": null - }, - { - "path": "agents/stackhawk-security-onboarding.agent.md", - "kind": "agent", - "usage": null - }, - { - "path": "agents/terraform.agent.md", - "kind": "agent", - "usage": null - }, - { - "path": "agents/pagerduty-incident-responder.agent.md", - "kind": "agent", - "usage": null - }, - { - "path": "agents/comet-opik.agent.md", - "kind": "agent", - "usage": null - } - ], - "path": "collections/partners.collection.yml", - "filename": "partners.collection.yml" - }, { "id": "php-mcp-development", "name": "PHP MCP Server Development", diff --git a/website/public/data/manifest.json b/website/public/data/manifest.json index d7e304b0..0140c246 100644 --- a/website/public/data/manifest.json +++ b/website/public/data/manifest.json @@ -1,5 +1,5 @@ { - "generated": "2026-01-28T05:49:01.662Z", + "generated": "2026-01-28T05:56:29.890Z", "counts": { "agents": 140, "prompts": 134, diff --git a/website/public/data/search-index.json b/website/public/data/search-index.json index 1f6da756..2c7fea50 100644 --- a/website/public/data/search-index.json +++ b/website/public/data/search-index.json @@ -3734,6 +3734,45 @@ ], "searchText": "awesome copilot meta prompts that help you discover and generate curated github copilot agents, collections, instructions, prompts, and skills. github-copilot discovery meta prompt-engineering agents" }, + { + "type": "collection", + "id": "copilot-sdk", + "title": "Copilot SDK", + "description": "Build applications with the GitHub Copilot SDK across multiple programming languages. Includes comprehensive instructions for C#, Go, Node.js/TypeScript, and Python to help you create AI-powered applications.", + "path": "collections/copilot-sdk.collection.yml", + "tags": [ + "copilot-sdk", + "sdk", + "csharp", + "go", + "nodejs", + "typescript", + "python", + "ai", + "github-copilot" + ], + "searchText": "copilot sdk build applications with the github copilot sdk across multiple programming languages. includes comprehensive instructions for c#, go, node.js/typescript, and python to help you create ai-powered applications. copilot-sdk sdk csharp go nodejs typescript python ai github-copilot" + }, + { + "type": "collection", + "id": "partners", + "title": "Partners", + "description": "Custom agents that have been created by GitHub partners", + "path": "collections/partners.collection.yml", + "tags": [ + "devops", + "security", + "database", + "cloud", + "infrastructure", + "observability", + "feature-flags", + "cicd", + "migration", + "performance" + ], + "searchText": "partners custom agents that have been created by github partners devops security database cloud infrastructure observability feature-flags cicd migration performance" + }, { "type": "collection", "id": "azure-cloud-development", @@ -3810,25 +3849,6 @@ ], "searchText": "clojure interactive programming tools for repl-first clojure workflows featuring clojure instructions, the interactive programming chat mode and supporting guidance. clojure repl interactive-programming" }, - { - "type": "collection", - "id": "copilot-sdk", - "title": "Copilot SDK", - "description": "Build applications with the GitHub Copilot SDK across multiple programming languages. Includes comprehensive instructions for C#, Go, Node.js/TypeScript, and Python to help you create AI-powered applications.", - "path": "collections/copilot-sdk.collection.yml", - "tags": [ - "copilot-sdk", - "sdk", - "csharp", - "go", - "nodejs", - "typescript", - "python", - "ai", - "github-copilot" - ], - "searchText": "copilot sdk build applications with the github copilot sdk across multiple programming languages. includes comprehensive instructions for c#, go, node.js/typescript, and python to help you create ai-powered applications. copilot-sdk sdk csharp go nodejs typescript python ai github-copilot" - }, { "type": "collection", "id": "database-data-management", @@ -4053,26 +4073,6 @@ ], "searchText": "openapi to application - python fastapi generate production-ready fastapi applications from openapi specifications. includes project scaffolding, route generation, dependency injection, and python best practices for async apis. openapi code-generation api python fastapi" }, - { - "type": "collection", - "id": "partners", - "title": "Partners", - "description": "Custom agents that have been created by GitHub partners", - "path": "collections/partners.collection.yml", - "tags": [ - "devops", - "security", - "database", - "cloud", - "infrastructure", - "observability", - "feature-flags", - "cicd", - "migration", - "performance" - ], - "searchText": "partners custom agents that have been created by github partners devops security database cloud infrastructure observability feature-flags cicd migration performance" - }, { "type": "collection", "id": "php-mcp-development",