Skip to content

Add Cookbooks page - #537

Open
goosewin wants to merge 3 commits into
mainfrom
feature/kernel-docs-cookbooks-page-94e601
Open

Add Cookbooks page#537
goosewin wants to merge 3 commits into
mainfrom
feature/kernel-docs-cookbooks-page-94e601

Conversation

@goosewin

@goosewin goosewin commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Adds a Cookbooks tab to the docs, cataloguing all 16 recipes in kernel/cookbooks. Related to the strawman in #525 — built as a separate take from main; happy to reconcile whichever direction wins.


Note

Low Risk
Documentation and navigation-only changes (links, new pages, client-side search UI) with no product API or auth behavior changes.

Overview
Adds a Cookbooks docs tab that catalogs all 16 recipes in kernel/cookbooks, with a wide /cookbooks landing page: searchable card grid (feature vs integration labels), GitHub links per recipe, and sidebar entries backed by minimal url frontmatter stubs grouped into Features and Integrations.

Introduces CookbookSearch to filter cards client-side by title/description/category text, plus CSS to style category labels and hide prev/next pagination on stub cookbook routes.

Cross-links and cleanup: integration guides (Browser Use, Stagehand, Vibium, Vercel AI SDK, Anthropic computer use) and Claude Managed Agents now point cookbook <Tip> links at github.com/kernel/cookbooks; the changelog entry for the managed-agents cookbook is updated the same way.

Reviewed by Cursor Bugbot for commit 10dcac3. Bugbot is set up for automated code reviews on this repo. Configure here.

New Cookbooks tab with a card gallery for all 16 kernel/cookbooks
recipes, per-card feature/integration labels, live search filter
(snippets/cookbook-search.jsx), sidebar external links to each cookbook
subdirectory, and card artwork in images/cookbooks/.
…links

Add cookbook Tips to the five integration pages with a matching
cookbook, and point claude-managed-agents-kernel links (integration
page + changelog) at kernel/cookbooks subdirectories.
…ookbooks-page-94e601

# Conflicts:
#	style.css
@mintlify

mintlify Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
Kernel 🟢 Ready View Preview Sep 1, 2026, 5:51 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk assessment: Low

Verdict: Low risk. Approving.

What changed (from the diff)

  • New docs tab and landing page (docs.json, cookbooks.mdx) cataloguing 16 cookbooks as cards that link out to github.com/kernel/cookbooks.
  • 16 stub MDX pages under cookbooks/ whose only content is title + external url frontmatter.
  • Card images under images/cookbooks/.
  • Tip/link updates on existing integration pages and a changelog URL rewrite from absorbed repo paths to kernel/cookbooks.
  • Client-side search snippet (snippets/cookbook-search.jsx) that filters existing cards by textContent and toggles style.display.
  • Scoped CSS: hide pagination links whose href starts with /cookbooks/, plus .cookbook-tag styling.

Why Low (not Very Low)

This is more than a typo or copy-only edit: it adds a new nav tab, a new interactive snippet, and CSS that hides pagination for cookbook routes. Those are easy to reason about but they are a real user-facing surface on the docs site.

Why not Medium+

  • No auth, billing, permissions, APIs, or infrastructure.
  • No production application logic; this repo is a Mintlify docs site.
  • Search uses the query only for string matching (includes) and does not inject user input as HTML or make network calls.
  • CSS and navigation changes are limited to the new Cookbooks surface.
  • No CODEOWNERS file and no code-owner review requirement found.

No prior approval on this PR. If later commits expand beyond docs/nav/UI (for example CI, secrets, or site-wide behavior), this approval must be re-evaluated.

Open in Web View Automation 

Sent by Cursor Automation: Assign PR reviewers

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 10dcac3. Configure here.

Comment thread style.css
so hide pagination that would point at them */
#pagination a[href^="/cookbooks/"] {
display: none;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pagination hide misses production URLs

Medium Severity

The pagination hide rule matches only hrefs that start with /cookbooks/. Docs are served under /docs, so production pagination links likely will not match and will still send readers to the empty cookbook stubs this rule is meant to hide.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 10dcac3. Configure here.

@juecd
juecd self-requested a review September 2, 2026 13:43
Comment thread cookbooks.mdx

<CookbookSearch />

<Columns className="responsive-columns" cols={3}>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove features section per canvas notes

Comment thread cookbooks.mdx
Apply Chromium Enterprise Policies to browser sessions.
</Card>
<Card title="Modal Web Scraper" img="/images/cookbooks/modal-web-scraper.png" href="https://github.com/kernel/cookbooks/tree/main/integrations/modal-web-scraper">
<div className="cookbook-tag">integration</div>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this "integration" subheader

Comment thread docs.json
]
},
{
"group": "Integrations",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Naming this "integrations" is confusing imo because we have guides called "Integrations" --> https://www.kernel.sh/docs/integrations/overview . What should this be called, "Examples?" "Samples?" "Reference Implementations?"

Comment thread cookbooks.mdx
</Card>
<Card title="AI SDK Agent" img="/images/cookbooks/ai-sdk-agent.png" href="https://github.com/kernel/cookbooks/tree/main/integrations/ai-sdk-agent">
<div className="cookbook-tag">integration</div>
Natural language browser automation with the Vercel AI SDK and Kernel's Playwright execution API.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's try to get this in the default desktop presentation in under 3 lines:
Browser automation with the Vercel AI SDK and Kernel's Playwright execution API.

Comment thread cookbooks.mdx
mode: "wide"
---

Every cookbook is self-contained: clone it, set your secrets, run. Use them as 1-click starts for your agents or as templates for your own automations.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Every cookbook is self-contained: clone it, set your secrets, run. Use them as 1-click starts for your agents or as templates for your own automations.
Self-contained cookbooks to clone and run. Use as 1-click starts for your agents or as templates for your own build.

Comment thread cookbooks.mdx

Every cookbook is self-contained: clone it, set your secrets, run. Use them as 1-click starts for your agents or as templates for your own automations.

import { CookbookSearch } from '/snippets/cookbook-search.jsx';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool addition, tysm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants