Skip to content

Add Cookbooks page - #537

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

Add Cookbooks page#537
goosewin wants to merge 4 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 front-end-only docs UI changes with no API, auth, or runtime product impact.

Overview
Adds a new Cookbooks docs tab that catalogs all 16 recipes in kernel/cookbooks, with a searchable card grid on cookbooks.mdx and sidebar stubs (cookbooks/*.mdx) that redirect via url frontmatter to GitHub.

Navigation is wired in docs.json under Features and Integrations groups. A small CookbookSearch React snippet filters cards client-side; style.css hides misleading pagination on external cookbook routes and styles category tags.

Several integration guides (Browser Use, Claude computer use, Managed Agents, Stagehand, AI SDK, Vibium) now include Tip blocks pointing at the matching cookbook. The changelog and Managed Agents doc update the Claude Managed Agents cookbook link from the old standalone repo to kernel/cookbooks/tree/main/integrations/claude-managed-agents.

Reviewed by Cursor Bugbot for commit 287b9e9. 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[bot]
cursor Bot approved these changes Sep 1, 2026

@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 Outdated
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!

@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. Re-evaluated after 287b9e9 (copy edit on cookbooks.mdx). Risk did not increase. Prior approval stands; not re-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.
  • Latest commit vs prior approval: one intro sentence rewrite on cookbooks.mdx. No new files, logic, or nav changes.

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.

Approval is not revoked. 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

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