mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-22 19:35:13 +00:00
feat(website): add samples/cookbook page with recipe browser
Integrates the cookbook/ folder into the website's Samples page: Data Structure: - Add cookbook/cookbook.yml manifest defining cookbooks and recipes - Add .schemas/cookbook.schema.json for validation - Add COOKBOOK_DIR constant to eng/constants.mjs Build Integration: - Add generateSamplesData() to generate samples.json from cookbook.yml - Include recipe variants with file paths for each language - Add samples count to manifest.json Website UI: - Create samples.ts with FuzzySearch, language/tag filtering - Replace placeholder samples.astro with functional recipe browser - Recipe cards with language indicators and action buttons - Language tabs for switching between implementations - View Recipe/View Example buttons open modal - GitHub link for each recipe Features: - Search recipes by name/description - Filter by programming language (Node.js, Python, .NET, Go) - Filter by tags (multi-select with Choices.js) - 5 recipes across 4 languages = 20 recipe variants
This commit is contained in:
@@ -53,6 +53,21 @@
|
||||
"path": "prompts/apple-appstore-reviewer.prompt.md",
|
||||
"filename": "apple-appstore-reviewer.prompt.md"
|
||||
},
|
||||
{
|
||||
"id": "arch-linux-triage",
|
||||
"title": "Arch Linux Triage",
|
||||
"description": "Triage and resolve Arch Linux issues with pacman, systemd, and rolling-release best practices.",
|
||||
"agent": "agent",
|
||||
"model": "gpt-4.1",
|
||||
"tools": [
|
||||
"search",
|
||||
"runCommands",
|
||||
"terminalCommand",
|
||||
"edit/editFiles"
|
||||
],
|
||||
"path": "prompts/arch-linux-triage.prompt.md",
|
||||
"filename": "arch-linux-triage.prompt.md"
|
||||
},
|
||||
{
|
||||
"id": "architecture-blueprint-generator",
|
||||
"title": "Architecture Blueprint Generator",
|
||||
@@ -168,6 +183,21 @@
|
||||
"path": "prompts/breakdown-test.prompt.md",
|
||||
"filename": "breakdown-test.prompt.md"
|
||||
},
|
||||
{
|
||||
"id": "centos-linux-triage",
|
||||
"title": "Centos Linux Triage",
|
||||
"description": "Triage and resolve CentOS issues using RHEL-compatible tooling, SELinux-aware practices, and firewalld.",
|
||||
"agent": "agent",
|
||||
"model": "gpt-4.1",
|
||||
"tools": [
|
||||
"search",
|
||||
"runCommands",
|
||||
"terminalCommand",
|
||||
"edit/editFiles"
|
||||
],
|
||||
"path": "prompts/centos-linux-triage.prompt.md",
|
||||
"filename": "centos-linux-triage.prompt.md"
|
||||
},
|
||||
{
|
||||
"id": "code-exemplars-blueprint-generator",
|
||||
"title": "Code Exemplars Blueprint Generator",
|
||||
@@ -731,6 +761,21 @@
|
||||
"path": "prompts/dataverse-python-quickstart.prompt.md",
|
||||
"filename": "dataverse-python-quickstart.prompt.md"
|
||||
},
|
||||
{
|
||||
"id": "debian-linux-triage",
|
||||
"title": "Debian Linux Triage",
|
||||
"description": "Triage and resolve Debian Linux issues with apt, systemd, and AppArmor-aware guidance.",
|
||||
"agent": "agent",
|
||||
"model": "gpt-4.1",
|
||||
"tools": [
|
||||
"search",
|
||||
"runCommands",
|
||||
"terminalCommand",
|
||||
"edit/editFiles"
|
||||
],
|
||||
"path": "prompts/debian-linux-triage.prompt.md",
|
||||
"filename": "debian-linux-triage.prompt.md"
|
||||
},
|
||||
{
|
||||
"id": "declarative-agents",
|
||||
"title": "Declarative Agents",
|
||||
@@ -816,6 +861,21 @@
|
||||
"path": "prompts/ef-core.prompt.md",
|
||||
"filename": "ef-core.prompt.md"
|
||||
},
|
||||
{
|
||||
"id": "fedora-linux-triage",
|
||||
"title": "Fedora Linux Triage",
|
||||
"description": "Triage and resolve Fedora issues with dnf, systemd, and SELinux-aware guidance.",
|
||||
"agent": "agent",
|
||||
"model": "gpt-4.1",
|
||||
"tools": [
|
||||
"search",
|
||||
"runCommands",
|
||||
"terminalCommand",
|
||||
"edit/editFiles"
|
||||
],
|
||||
"path": "prompts/fedora-linux-triage.prompt.md",
|
||||
"filename": "fedora-linux-triage.prompt.md"
|
||||
},
|
||||
{
|
||||
"id": "finalize-agent-prompt",
|
||||
"title": "Finalize Agent Prompt",
|
||||
|
||||
Reference in New Issue
Block a user