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:
Aaron Powell
2026-02-02 15:11:12 +11:00
parent 23f08bbb63
commit b8d93a0344
14 changed files with 1699 additions and 67 deletions

View File

@@ -148,6 +148,24 @@
"path": "agents/apify-integration-expert.agent.md",
"filename": "apify-integration-expert.agent.md"
},
{
"id": "arch-linux-expert",
"title": "Arch Linux Expert",
"description": "Arch Linux specialist focused on pacman, rolling-release maintenance, and Arch-centric system administration workflows.",
"model": "GPT-5",
"tools": [
"codebase",
"search",
"terminalCommand",
"runCommands",
"edit/editFiles"
],
"hasHandoffs": false,
"handoffs": [],
"mcpServers": [],
"path": "agents/arch-linux-expert.agent.md",
"filename": "arch-linux-expert.agent.md"
},
{
"id": "arm-migration",
"title": "Arm Migration Agent",
@@ -569,6 +587,24 @@
"path": "agents/cast-imaging-structural-quality-advisor.agent.md",
"filename": "cast-imaging-structural-quality-advisor.agent.md"
},
{
"id": "centos-linux-expert",
"title": "CentOS Linux Expert",
"description": "CentOS (Stream/Legacy) Linux specialist focused on RHEL-compatible administration, yum/dnf workflows, and enterprise hardening.",
"model": "GPT-4.1",
"tools": [
"codebase",
"search",
"terminalCommand",
"runCommands",
"edit/editFiles"
],
"hasHandoffs": false,
"handoffs": [],
"mcpServers": [],
"path": "agents/centos-linux-expert.agent.md",
"filename": "centos-linux-expert.agent.md"
},
{
"id": "clojure-interactive-programming",
"title": "Clojure Interactive Programming",
@@ -730,6 +766,24 @@
"path": "agents/custom-agent-foundry.agent.md",
"filename": "custom-agent-foundry.agent.md"
},
{
"id": "debian-linux-expert",
"title": "Debian Linux Expert",
"description": "Debian Linux specialist focused on stable system administration, apt-based package management, and Debian policy-aligned practices.",
"model": "Claude Sonnet 4",
"tools": [
"codebase",
"search",
"terminalCommand",
"runCommands",
"edit/editFiles"
],
"hasHandoffs": false,
"handoffs": [],
"mcpServers": [],
"path": "agents/debian-linux-expert.agent.md",
"filename": "debian-linux-expert.agent.md"
},
{
"id": "debug",
"title": "Debug",
@@ -1103,6 +1157,24 @@
"path": "agents/expert-react-frontend-engineer.agent.md",
"filename": "expert-react-frontend-engineer.agent.md"
},
{
"id": "fedora-linux-expert",
"title": "Fedora Linux Expert",
"description": "Fedora (Red Hat family) Linux specialist focused on dnf, SELinux, and modern systemd-based workflows.",
"model": "GPT-5",
"tools": [
"codebase",
"search",
"terminalCommand",
"runCommands",
"edit/editFiles"
],
"hasHandoffs": false,
"handoffs": [],
"mcpServers": [],
"path": "agents/fedora-linux-expert.agent.md",
"filename": "fedora-linux-expert.agent.md"
},
{
"id": "gilfoyle",
"title": "Gilfoyle",
@@ -2232,6 +2304,28 @@
"path": "agents/refine-issue.agent.md",
"filename": "refine-issue.agent.md"
},
{
"id": "repo-architect",
"title": "Repo Architect",
"description": "Bootstraps and validates agentic project structures for GitHub Copilot (VS Code) and OpenCode CLI workflows. Run after `opencode /init` or VS Code Copilot initialization to scaffold proper folder hierarchies, instructions, agents, skills, and prompts.",
"model": "GPT-4.1",
"tools": [
"changes",
"codebase",
"editFiles",
"fetch",
"new",
"problems",
"runCommands",
"search",
"terminalLastCommand"
],
"hasHandoffs": false,
"handoffs": [],
"mcpServers": [],
"path": "agents/repo-architect.agent.md",
"filename": "repo-architect.agent.md"
},
{
"id": "ruby-mcp-expert",
"title": "Ruby MCP Expert",