| name | cookbook-review-pr |
| description | Review a pull request against the SGLang Cookbook (docs/, Mintlify) contribution checklist — the config-driven format (per-model config + benchmarks JSX consumed by the shared _deployment.jsx / _playground.jsx engines). Run with /cookbook-review-pr <PR number>. |
Cookbook Review PR
Fetch the diff, run the checklist, report what you find. The cookbook is config-driven:
shared engines (_deployment.jsx, _playground.jsx) with NO model-specific code; each
model is a data config (+ optional benchmarks) under src/snippets/configs/<vendor>/
plus an MDX page. This checklist targets that layout. Field-schema detail lives in
.claude/skills/cookbook-add-model/references/authoring-reference.md — defer to it rather
than restating.
Usage
/cookbook-review-pr <PR number>
Steps
gh pr view <N> --repo sgl-project/sglang --json title,body,files,author,baseRefName,headRefName,commits,reviews
gh pr diff <N> --repo sgl-project/sglang
gh pr list --repo sgl-project/sglang --state open --search "<model name>" (duplicate check)
- Run every checklist item against the diff.
- Output per-file verdicts + overall recommendation.
Checklist
1. File hygiene
- A cookbook PR should only touch:
docs/src/snippets/configs/<vendor>/*.jsx
(config + benchmarks), docs/cookbook/**/*.mdx, docs/docs.json,
docs/cookbook/<category>/intro.mdx (vendor card), docs/cards/logos/<vendor>.png
(new vendor only). Flag stray files (settings.local.json, lockfiles, IDE configs).