[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6D8CJW23YS9S9DT89X5C68B":3,"skill-same:01M6D8CJW23YS9S9DT89X5C68B":74},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":49,"ownerHtmlUrl":50,"ownerBlogUrl":51,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M6D8CJW23YS9S9DT89X5C68B","experiment-docs",null,"Generate or update Fumadocs MDX pages for Cloudflare Experiments across Cloudflare products (not Workers-only). Use when adding a new experiment, updating experiment API\u002Fdocs, writing apps\u002Fdocs\u002Fcontent\u002Fdocs\u002Fexperiments\u002F*.mdx, editing meta.json navigation, or when the user asks to document an experiment on the docs site.","shrinathsnayak\u002Fcloudflare-experiments","shrinathsnayak","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F19502016?v=4","01M6D8BPME3YRMPW470YRKKTE3","Shrinath Nayak","01M6D8BPSAKJ26YQJD7CA0YHNP",3,"MIT","https:\u002F\u002Fgithub.com\u002Fshrinathsnayak\u002Fcloudflare-experiments\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fexperiment-docs\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"docs","experiment docs","experiment","use","writing","cloudflare experiments","pages","across","document","workers","only","generate","update","editing","docs site","site","json","api","Meta","cloudflare","2026-11-10 10:12:30",false,"---\nname: experiment-docs\ndescription: >-\n  Generate or update Fumadocs MDX pages for Cloudflare Experiments across\n  Cloudflare products (not Workers-only). Use when adding a new experiment,\n  updating experiment API\u002Fdocs, writing apps\u002Fdocs\u002Fcontent\u002Fdocs\u002Fexperiments\u002F*.mdx,\n  editing meta.json navigation, or when the user asks to document an experiment\n  on the docs site.\n---\n\n# Experiment Docs\n\nGenerate and maintain docs at `apps\u002Fdocs\u002Fcontent\u002Fdocs\u002Fexperiments\u002F\u003Cname>.mdx` from the experiment source in `apps\u002Fexperiments\u002F\u003Cname>\u002F`.\n\n## Scope\n\nDocs describe **Cloudflare product patterns**. Experiments usually deploy as Workers, but the catalog covers **most Cloudflare products** (AI, storage, networking, security, email, media, …). Lead intros and \"Cloudflare Features Used\" with the product capability; mention Workers as the runtime\u002Fdeploy vehicle when relevant - never frame the whole project as Workers-only.\n\n## When to use\n\n- New experiment merged or scaffolded under `apps\u002Fexperiments\u002F`\n- Experiment API, bindings, routes, or README changed\n- User asks to \"document the experiment\", \"add docs page\", or \"update docs site\"\n\n## Source of truth (read in this order)\n\n1. `apps\u002Fexperiments\u002F\u003Cname>\u002Fsrc\u002Findex.ts` - app name, description, usage on `GET \u002F`\n2. `apps\u002Fexperiments\u002F\u003Cname>\u002Fsrc\u002Froutes\u002F*.ts` - endpoints, validation, response shapes, error codes\n3. `apps\u002Fexperiments\u002F\u003Cname>\u002Fsrc\u002Ftypes\u002F` - request\u002Fresponse types\n4. `apps\u002Fexperiments\u002F\u003Cname>\u002Fwrangler.json` - bindings (AI, R2, D1, KV, browser, Access, email, …)\n5. `apps\u002Fexperiments\u002F\u003Cname>\u002FREADME.md` - examples, setup notes (do not copy blindly; verify against code)\n6. Closest existing doc for tone\u002Fstructure: all experiment pages share the same **H2 section order** below; optional sections are omitted when not applicable.\n\n## Canonical section order\n\nEvery experiment doc uses these **H2 headings in this order** (skip sections that do not apply):\n\n1. **Features** — bullet list of capabilities (recommended for AI and multi-capability workers)\n2. **API Reference** — endpoints, params, examples, errors (always present)\n3. _Optional middle sections_ — e.g. Implementation Details, Technical Details, Monitored AI Crawlers, Architecture, Setup (complex workers only)\n4. **Use Cases** — 3–5 bullets\n5. **Limitations** — constraints and caveats\n6. **Use in your project** — optional `\u003CUseInYourProject>` paste recipe (small lib cores only; see below)\n7. **Deployment** — `\u003CSteps>` with deploy button, deploy notes, test curl\n8. **Local Development** — install, dev, local test curl\n9. **Configuration** — wrangler bindings, secrets, dependencies (when relevant)\n10. **Cloudflare Features Used** — linked bullets to Cloudflare docs\n11. **Next Steps** — optional `\u003CCards>` linking related docs\n\nRename legacy headings when editing: `API Endpoint(s)` → **API Reference**, `Setup & Deployment` \u002F `Deploy` → **Deployment**, `Run locally` → **Local Development**.\n\n### Use in your project (optional)\n\nAdd this section when the experiment has a **small, pasteable core** under `src\u002Flib\u002F` (e.g. a helper that does not need a full Worker scaffold). Use the `\u003CUseInYourProject>` MDX component:\n\n```mdx\n## Use in your project\n\n\u003CUseInYourProject\n  experiment=\"crypto-hash\"\n  dependencies={[]}\n  bindings={[]}\n  platform={[\"Web Crypto (`crypto.subtle`)\"]}\n  files={[\"src\u002Flib\u002Fhash.ts\", \"src\u002Fconstants\u002Falgorithms.ts\", \"examples\u002Fusage.ts\"]}\n\u002F>\n```\n\nProps:\n\n| Prop             | Purpose                                                                         |\n| ---------------- | ------------------------------------------------------------------------------- |\n| `experiment`     | Folder name under `apps\u002Fexperiments\u002F`                                           |\n| `dependencies`   | npm packages for the pasteable core (omit \u002F `[]` if none)                       |\n| `bindings`       | Wrangler bindings \u002F resources to create (`[]` → shows \"None\")                   |\n| `platform`       | Runtime APIs (Cache API, `request.cf`, Workers AI, …)                           |\n| `files`          | Paths relative to the experiment root — **loaded from disk** into filename tabs |\n| `installCommand` | Optional override for the install line                                          |\n\n**Never paste source into MDX.** Put pasteable files under the experiment (e.g. `src\u002Flib\u002F*.ts`, `examples\u002Fusage.ts`) and list their paths in `files`. Docs rebuild picks up edits automatically. Keep `examples\u002F` out of the Worker `main` entry (and usually out of `tsconfig` `include`) so it is docs-only.\n\nReference pilots: [Crypto Hash](\u002Fexperiments\u002Fcrypto-hash), [Where Am I?](\u002Fexperiments\u002Fwhereami), [Edge Cache](\u002Fexperiments\u002Fedge-cache).\n\n## Workflow: new experiment\n\n### 1. Scaffold the MDX file\n\nFrom repo root:\n\n```bash\nnode apps\u002Fdocs\u002Fscripts\u002Fscaffold-experiment-doc.mjs \u003Cexperiment-name>\n```\n\nThis writes `apps\u002Fdocs\u002Fcontent\u002Fdocs\u002Fexperiments\u002F\u003Cname>.mdx` with frontmatter, deploy button, and TODO sections. Then **replace every TODO** using the source files above.\n\nOr copy `.cursor\u002Fskills\u002Fexperiment-docs\u002Ftemplate.mdx` to `apps\u002Fdocs\u002Fcontent\u002Fdocs\u002Fexperiments\u002F\u003Cname>.mdx` and fill placeholders manually.\n\n### 2. Write the page content\n\nRequired sections (in order):\n\n| Section                  | Content                                                                                                                                                                                                                                                                                                                                                                 |\n| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| Frontmatter              | `title`, `description`, `tags`, `bindings`, and `status: new` for experiments in the latest [What's New](\u002Fchangelog) batch (description ≤ ~160 chars for SEO; tags include category + discoverability aliases like `jev` for Clef). Lead `description` with the Cloudflare **product** shown. Update `apps\u002Fdocs\u002Flib\u002Fexperiment-docs-meta.ts` when tags\u002Fbindings change. |\n| Intro                    | 1–2 sentences: what it does + primary Cloudflare **product\u002Fcapability** (not \"a Worker that…\")                                                                                                                                                                                                                                                                          |\n| Features                 | Optional bullet list of capabilities                                                                                                                                                                                                                                                                                                                                    |\n| API Reference            | One `### METHOD \u002Fpath` per route; params, examples, errors                                                                                                                                                                                                                                                                                                              |\n| Use Cases                | 3–5 bullet points                                                                                                                                                                                                                                                                                                                                                       |\n| Limitations              | Timeouts, size limits, local vs deployed behavior                                                                                                                                                                                                                                                                                                                       |\n| Use in your project      | Optional: `\u003CUseInYourProject>` + core snippet + wire-up (small lib only)                                                                                                                                                                                                                                                                                                |\n| Deployment               | `\u003CSteps>` with deploy button, deploy note, test curl                                                                                                                                                                                                                                                                                                                    |\n| Local Development        | `cd apps\u002Fexperiments\u002F\u003Cname>`, install, dev, test curl                                                                                                                                                                                                                                                                                                                   |\n| Configuration            | Optional: `wrangler.json` bindings, secrets, dependencies                                                                                                                                                                                                                                                                                                               |\n| Cloudflare Features Used | Bullets linking to Cloudflare docs                                                                                                                                                                                                                                                                                                                                      |\n| Next Steps               | Optional `\u003CCards>` linking related docs                                                                                                                                                                                                                                                                                                                                 |\n\nOptional middle sections (between API Reference and Use Cases): Implementation Details, Technical Details, Architecture, Setup, etc.\n\n### 3. Register navigation\n\nEdit `apps\u002Fdocs\u002Fcontent\u002Fdocs\u002Fmeta.json`:\n\n- Add `\"experiments\u002F\u003Cname>\"` under the correct category separator\n- Categories (use existing separators only):\n  - `---AI & Machine Learning---`\n  - `---Web Scraping & Parsing---`\n  - `---Browser Rendering---`\n  - `---Network & Monitoring---`\n  - `---Edge Platform---`\n  - `---Compute & Isolation---`\n  - `---Storage & Data---`\n  - `---Stateful & Async---`\n- Pick category from primary binding\u002Fcapability (see table in [reference\u002Fexperiment-docs](\u002Freference\u002Fexperiment-docs))\n\n### 4. Update repo indexes\n\nFor **new** experiments only:\n\n- Add row to root `README.md` experiments table (name, description, deploy link)\n- Deploy URL pattern:\n  `https:\u002F\u002Fdeploy.workers.cloudflare.com\u002F?url=https:\u002F\u002Fgithub.com\u002Fshrinathsnayak\u002Fcloudflare-experiments\u002Ftree\u002Fmain\u002Fapps\u002Fexperiments\u002F\u003Cname>`\n\n### 5. Rotate sidebar \u002F homepage \"New\" badges\n\n**Source of truth:** the newest dated section in `apps\u002Fdocs\u002Fcontent\u002Fdocs\u002Fchangelog.mdx` ([What's New](\u002Fchangelog)).\n\nWhen shipping new experiments:\n\n1. Read the latest What's New entry and collect every experiment named there that has a docs page.\n2. Add `status: new` to each of those MDX frontmatters (`apps\u002Fdocs\u002Fcontent\u002Fdocs\u002Fexperiments\u002F\u003Cname>.mdx`).\n3. **Remove** `status: new` from every older experiment that is not in that latest batch (do not leave previous cohorts tagged).\n4. Mirror the same set in `apps\u002Fdocs\u002Flib\u002Fhome-content.ts`:\n   - `featuredExperiments` entries (homepage cards; capped by `maxFeaturedNewBadges`)\n   - matching `homeCategories` entries\n\nSidebar badges come from MDX `status` via `statusBadgesPlugin` in `apps\u002Fdocs\u002Flib\u002Fsource.tsx`. They are **not** inferred from dates or git history.\n\n### 6. Verify\n\n```bash\ncd apps\u002Fdocs && npm run build\nnpm run dev -- --filter=docs   # spot-check \u002Fexperiments\u002F\u003Cname>\n```\n\nConfirm: OG image generates, sidebar link works, code blocks render with Google Sans Code.\n\n## Workflow: update existing experiment docs\n\n1. Diff `apps\u002Fexperiments\u002F\u003Cname>\u002F` (routes, types, wrangler, README)\n2. Update matching sections in `apps\u002Fdocs\u002Fcontent\u002Fdocs\u002Fexperiments\u002F\u003Cname>.mdx` only - do not rewrite unrelated sections\n3. If routes renamed\u002Fadded\u002Fremoved, update API + curl examples + error codes\n4. If bindings changed, update Deployment, Configuration, Cloudflare Features Used\n5. Run `npm run build -- --filter=docs`\n\n## MDX conventions\n\n- **Deploy button** (required in Deployment step):\n\n```mdx\n[![Deploy to Cloudflare Workers](https:\u002F\u002Fdeploy.workers.cloudflare.com\u002Fbutton)](https:\u002F\u002Fdeploy.workers.cloudflare.com\u002F?url=https:\u002F\u002Fgithub.com\u002Fshrinathsnayak\u002Fcloudflare-experiments\u002Ftree\u002Fmain\u002Fapps\u002Fexperiments\u002F\u003Cname>)\n```\n\n- **Param docs** (Fumadocs style, not Mintlify `ParamField`):\n\n```mdx\n**`url`** `string` (required)\n\nThe target URL (http or https only).\n```\n\n- **Components**: `Callout`, `Steps`\u002F`Step`, `Cards`\u002F`Card`, `Accordions`\u002F`Accordion`, `UseInYourProject`, `File`\u002F`Files`\u002F`Folder` - see `apps\u002Fdocs\u002Fcomponents\u002Fmdx.tsx`\n- **External images**: plain markdown `![...](https:\u002F\u002F...)` (deploy button SVG); do not use paths that break `next\u002Fimage`\n- **Links**: prefer `\u002F...` for internal pages (no `\u002Fdocs` prefix); full URLs for Cloudflare developer docs\n- **Code citations in prose**: use repo paths like `src\u002Froutes\u002Fcheck.ts` without line numbers unless referencing a specific implementation walkthrough\n\n## Quality checklist\n\nBefore finishing:\n\n- [ ] Every documented endpoint exists in `src\u002Froutes\u002F` or `src\u002Findex.ts`\n- [ ] Query\u002Fbody params match `validateUrl` \u002F route validation\n- [ ] Error `code` strings match `jsonError(..., \"CODE\")` in source\n- [ ] Response JSON matches TypeScript types in `src\u002Ftypes\u002F`\n- [ ] Local dev port is `8787` (Wrangler default)\n- [ ] Deploy button URL uses `apps\u002Fexperiments\u002F\u003Cname>` path\n- [ ] Page listed in `meta.json` under correct category\n- [ ] New experiment (or notable user-facing change) listed in `apps\u002Fdocs\u002Fcontent\u002Fdocs\u002Fchangelog.mdx`\n- [ ] `status: new` only on latest What's New cohort (older MDX + `home-content.ts` tags removed)\n- [ ] No Mintlify-only syntax (`\u003CParamField>`, `\u003CIcon>`, etc.)\n- [ ] `npm run build` in `apps\u002Fdocs` succeeds\n\n## Do not\n\n- Import from other experiments in docs content\n- Document endpoints that are not implemented\n- Use `favicon.svg` or stale Mintlify assets\n- Skip `meta.json` (page won't appear in sidebar)\n- Duplicate full implementation in docs when a short snippet + link to GitHub suffices\n\n## Related skills\n\n- `cloudflare-experiments` - scaffold worker + README + root table\n- Per-experiment skills under `.cursor\u002Fskills\u002F\u003Cname>\u002F` - route and binding reminders when editing that worker\n\n## Full guideline\n\nPublic reference for contributors: [Experiment documentation guide](\u002Freference\u002Fexperiment-docs) (`apps\u002Fdocs\u002Fcontent\u002Fdocs\u002Freference\u002Fexperiment-docs.mdx`).\n","# Experiment Docs\n\nGenerate and maintain docs at `apps\u002Fdocs\u002Fcontent\u002Fdocs\u002Fexperiments\u002F\u003Cname>.mdx` from the experiment source in `apps\u002Fexperiments\u002F\u003Cname>\u002F`.\n\n## Scope\n\nDocs describe **Cloudflare product patterns**. Experiments usually deploy as Workers, but the catalog covers **most Cloudflare products** (AI, storage, networking, security, email, media, …). Lead intros and \"Cloudflare Features Used\" with the product capability; mention Workers as the runtime\u002Fdeploy vehicle when relevant - never frame the whole project as Workers-only.\n\n## When to use\n\n- New experiment merged or scaffolded under `apps\u002Fexperiments\u002F`\n- Experiment API, bindings, routes, or README changed\n- User asks to \"document the experiment\", \"add docs page\", or \"update docs site\"\n\n## Source of truth (read in this order)\n\n1. `apps\u002Fexperiments\u002F\u003Cname>\u002Fsrc\u002Findex.ts` - app name, description, usage on `GET \u002F`\n2. `apps\u002Fexperiments\u002F\u003Cname>\u002Fsrc\u002Froutes\u002F*.ts` - endpoints, validation, response shapes, error codes\n3. `apps\u002Fexperiments\u002F\u003Cname>\u002Fsrc\u002Ftypes\u002F` - request\u002Fresponse types\n4. `apps\u002Fexperiments\u002F\u003Cname>\u002Fwrangler.json` - bindings (AI, R2, D1, KV, browser, Access, email, …)\n5. `apps\u002Fexperiments\u002F\u003Cname>\u002FREADME.md` - examples, setup notes (do not copy blindly; verify against code)\n6. Closest existing doc for tone\u002Fstructure: all experiment pages share the same **H2 section order** below; optional sections are omitted when not applicable.\n\n## Canonical section order\n\nEvery experiment doc uses these **H2 headings in this order** (skip sections that do not apply):\n\n1. **Features** — bullet list of capabilities (recommended for AI and multi-capability workers)\n2. **API Reference** — endpoints, params, examples, errors (always present)\n3. _Optional middle sections_ — e.g. Implementation Details, Technical Details, Monitored AI Crawlers, Architecture, Setup (complex workers only)\n4. **Use Cases** — 3–5 bullets\n5. **Limitations** — constraints and caveats\n6. **Use in your project** — optional `\u003CUseInYourProject>` paste recipe (small lib cores only; see below)\n7. **Deployment** — `\u003CSteps>` with deploy button, deploy notes, test curl\n8. **Local Development** — install, dev, local test curl\n9. **Configuration** — wrangler bindings, secrets, dependencies (when relevant)\n10. **Cloudflare Features Used** — linked bullets to Cloudflare docs\n11. **Next Steps** — optional `\u003CCards>` linking related docs\n\nRename legacy headings when editing: `API Endpoint(s)` → **API Reference**, `Setup & Deployment` \u002F `Deploy` → **Deployment**, `Run locally` → **Local Development**.\n\n### Use in your project (optional)\n\nAdd this section when the experiment has a **small, pasteable core** under `src\u002Flib\u002F` (e.g. a helper that does not need a full Worker scaffold). Use the `\u003CUseInYourProject>` MDX component:\n\n```mdx\n## Use in your project\n\n\u003CUseInYourProject\n  experiment=\"crypto-hash\"\n  dependencies={[]}\n  bindings={[]}\n  platform={[\"Web Crypto (`crypto.subtle`)\"]}\n  files={[\"src\u002Flib\u002Fhash.ts\", \"src\u002Fconstants\u002Falgorithms.ts\", \"examples\u002Fusage.ts\"]}\n\u002F>\n```\n\nProps:\n\n| Prop             | Purpose                                                                         |\n| ---------------- | ------------------------------------------------------------------------------- |\n| `experiment`     | Folder name under `apps\u002Fexperiments\u002F`                                           |\n| `dependencies`   | npm packages for the pasteable core (omit \u002F `[]` if none)                       |\n| `bindings`       | Wrangler bindings \u002F resources to create (`[]` → shows \"None\")                   |\n| `platform`       | Runtime APIs (Cache API, `request.cf`, Workers AI, …)                           |\n| `files`          | Paths relative to the experiment root — **loaded from disk** into filename tabs |\n| `installCommand` | Optional override for the install line                                          |\n\n**Never paste source into MDX.** Put pasteable files under the experiment (e.g. `src\u002Flib\u002F*.ts`, `examples\u002Fusage.ts`) and list their paths in `files`. Docs rebuild picks up edits automatically. Keep `examples\u002F` out of the Worker `main` entry (and usually out of `tsconfig` `include`) so it is docs-only.\n\nReference pilots: [Crypto Hash](\u002Fexperiments\u002Fcrypto-hash), [Where Am I?](\u002Fexperiments\u002Fwhereami), [Edge Cache](\u002Fexperiments\u002Fedge-cache).\n\n## Workflow: new experiment\n\n### 1. Scaffold the MDX file\n\nFrom repo root:\n\n```bash\nnode apps\u002Fdocs\u002Fscripts\u002Fscaffold-experiment-doc.mjs \u003Cexperiment-name>\n```\n\nThis writes `apps\u002Fdocs\u002Fcontent\u002Fdocs\u002Fexperiments\u002F\u003Cname>.mdx` with frontmatter, deploy button, and TODO sections. Then **replace every TODO** using the source files above.\n\nOr copy `.cursor\u002Fskills\u002Fexperiment-docs\u002Ftemplate.mdx` to `apps\u002Fdocs\u002Fcontent\u002Fdocs\u002Fexperiments\u002F\u003Cname>.mdx` and fill placeholders manually.\n\n### 2. Write the page content\n\nRequired sections (in order):\n\n| Section                  | Content                                                                                                                                                                                                                                                                                                                                                                 |\n| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| Frontmatter              | `title`, `description`, `tags`, `bindings`, and `status: new` for experiments in the latest [What's New](\u002Fchangelog) batch (description ≤ ~160 chars for SEO; tags include category + discoverability aliases like `jev` for Clef). Lead `description` with the Cloudflare **product** shown. Update `apps\u002Fdocs\u002Flib\u002Fexperiment-docs-meta.ts` when tags\u002Fbindings change. |\n| Intro                    | 1–2 sentences: what it does + primary Cloudflare **product\u002Fcapability** (not \"a Worker that…\")                                                                                                                                                                                                                                                                          |\n| Features                 | Optional bullet list of capabilities                                                                                                                                                                                                                                                                                                                                    |\n| API Reference            | One `### METHOD \u002Fpath` per route; params, examples, errors                                                                                                                                                                                                                                                                                                              |\n| Use Cases                | 3–5 bullet points                                                                                                                                                                                                                                                                                                                                                       |\n| Limitations              | Timeouts, size limits, local vs deployed behavior                                                                                                                                                                                                                                                                                                                       |\n| Use in your project      | Optional: `\u003CUseInYourProject>` + core snippet + wire-up (small lib only)                                                                                                                                                                                                                                                                                                |\n| Deployment               | `\u003CSteps>` with deploy button, deploy note, test curl                                                                                                                                                                                                                                                                                                                    |\n| Local Development        | `cd apps\u002Fexperiments\u002F\u003Cname>`, install, dev, test curl                                                                                                                                                                                                                                                                                                                   |\n| Configuration            | Optional: `wrangler.json` bindings, secrets, dependencies                                                                                                                                                                                                                                                                                                               |\n| Cloudflare Features Used | Bullets linking to Cloudflare docs                                                                                                                                                                                                                                                                                                                                      |\n| Next Steps               | Optional `\u003CCards>` linking related docs                                                                                                                                                                                                                                                                                                                                 |\n\nOptional middle sections (between API Reference and Use Cases): Implementation Details, Technical Details, Architecture, Setup, etc.\n\n### 3. Register navigation\n\nEdit `apps\u002Fdocs\u002Fcontent\u002Fdocs\u002Fmeta.json`:\n\n- Add `\"experiments\u002F\u003Cname>\"` under the correct category separator\n- Categories (use existing separators only):\n  - `---AI & Machine Learning---`\n  - `---Web Scraping & Parsing---`\n  - `---Browser Rendering---`\n  - `---Network & Monitoring---`\n  - `---Edge Platform---`\n  - `---Compute & Isolation---`\n  - `---Storage & Data---`\n  - `---Stateful & Async---`\n- Pick category from primary binding\u002Fcapability (see table in [reference\u002Fexperiment-docs](\u002Freference\u002Fexperiment-docs))\n\n### 4. Update repo indexes\n\nFor **new** experiments only:\n\n- Add row to root `README.md` experiments table (name, description, deploy link)\n- Deploy URL pattern:\n  `https:\u002F\u002Fdeploy.workers.cloudflare.com\u002F?url=https:\u002F\u002Fgithub.com\u002Fshrinathsnayak\u002Fcloudflare-experiments\u002Ftree\u002Fmain\u002Fapps\u002Fexperiments\u002F\u003Cname>`\n\n### 5. Rotate sidebar \u002F homepage \"New\" badges\n\n**Source of truth:** the newest dated section in `apps\u002Fdocs\u002Fcontent\u002Fdocs\u002Fchangelog.mdx` ([What's New](\u002Fchangelog)).\n\nWhen shipping new experiments:\n\n1. Read the latest What's New entry and collect every experiment named there that has a docs page.\n2. Add `status: new` to each of those MDX frontmatters (`apps\u002Fdocs\u002Fcontent\u002Fdocs\u002Fexperiments\u002F\u003Cname>.mdx`).\n3. **Remove** `status: new` from every older experiment that is not in that latest batch (do not leave previous cohorts tagged).\n4. Mirror the same set in `apps\u002Fdocs\u002Flib\u002Fhome-content.ts`:\n   - `featuredExperiments` entries (homepage cards; capped by `maxFeaturedNewBadges`)\n   - matching `homeCategories` entries\n\nSidebar badges come from MDX `status` via `statusBadgesPlugin` in `apps\u002Fdocs\u002Flib\u002Fsource.tsx`. They are **not** inferred from dates or git history.\n\n### 6. Verify\n\n```bash\ncd apps\u002Fdocs && npm run build\nnpm run dev -- --filter=docs   # spot-check \u002Fexperiments\u002F\u003Cname>\n```\n\nConfirm: OG image generates, sidebar link works, code blocks render with Google Sans Code.\n\n## Workflow: update existing experiment docs\n\n1. Diff `apps\u002Fexperiments\u002F\u003Cname>\u002F` (routes, types, wrangler, README)\n2. Update matching sections in `apps\u002Fdocs\u002Fcontent\u002Fdocs\u002Fexperiments\u002F\u003Cname>.mdx` only - do not rewrite unrelated sections\n3. If routes renamed\u002Fadded\u002Fremoved, update API + curl examples + error codes\n4. If bindings changed, update Deployment, Configuration, Cloudflare Features Used\n5. Run `npm run build -- --filter=docs`\n\n## MDX conventions\n\n- **Deploy button** (required in Deployment step):\n\n```mdx\n[![Deploy to Cloudflare Workers](https:\u002F\u002Fdeploy.workers.cloudflare.com\u002Fbutton)](https:\u002F\u002Fdeploy.workers.cloudflare.com\u002F?url=https:\u002F\u002Fgithub.com\u002Fshrinathsnayak\u002Fcloudflare-experiments\u002Ftree\u002Fmain\u002Fapps\u002Fexperiments\u002F\u003Cname>)\n```\n\n- **Param docs** (Fumadocs style, not Mintlify `ParamField`):\n\n```mdx\n**`url`** `string` (required)\n\nThe target URL (http or https only).\n```\n\n- **Components**: `Callout`, `Steps`\u002F`Step`, `Cards`\u002F`Card`, `Accordions`\u002F`Accordion`, `UseInYourProject`, `File`\u002F`Files`\u002F`Folder` - see `apps\u002Fdocs\u002Fcomponents\u002Fmdx.tsx`\n- **External images**: plain markdown `![...](https:\u002F\u002F...)` (deploy button SVG); do not use paths that break `next\u002Fimage`\n- **Links**: prefer `\u002F...` for internal pages (no `\u002Fdocs` prefix); full URLs for Cloudflare developer docs\n- **Code citations in prose**: use repo paths like `src\u002Froutes\u002Fcheck.ts` without line numbers unless referencing a specific implementation walkthrough\n\n## Quality checklist\n\nBefore finishing:\n\n- [ ] Every documented endpoint exists in `src\u002Froutes\u002F` or `src\u002Findex.ts`\n- [ ] Query\u002Fbody params match `validateUrl` \u002F route validation\n- [ ] Error `code` strings match `jsonError(..., \"CODE\")` in source\n- [ ] Response JSON matches TypeScript types in `src\u002Ftypes\u002F`\n- [ ] Local dev port is `8787` (Wrangler default)\n- [ ] Deploy button URL uses `apps\u002Fexperiments\u002F\u003Cname>` path\n- [ ] Page listed in `meta.json` under correct category\n- [ ] New experiment (or notable user-facing change) listed in `apps\u002Fdocs\u002Fcontent\u002Fdocs\u002Fchangelog.mdx`\n- [ ] `status: new` only on latest What's New cohort (older MDX + `home-content.ts` tags removed)\n- [ ] No Mintlify-only syntax (`\u003CParamField>`, `\u003CIcon>`, etc.)\n- [ ] `npm run build` in `apps\u002Fdocs` succeeds\n\n## Do not\n\n- Import from other experiments in docs content\n- Document endpoints that are not implemented\n- Use `favicon.svg` or stale Mintlify assets\n- Skip `meta.json` (page won't appear in sidebar)\n- Duplicate full implementation in docs when a short snippet + link to GitHub suffices\n\n## Related skills\n\n- `cloudflare-experiments` - scaffold worker + README + root table\n- Per-experiment skills under `.cursor\u002Fskills\u002F\u003Cname>\u002F` - route and binding reminders when editing that worker\n\n## Full guideline\n\nPublic reference for contributors: [Experiment documentation guide](\u002Freference\u002Fexperiment-docs) (`apps\u002Fdocs\u002Fcontent\u002Fdocs\u002Freference\u002Fexperiment-docs.mdx`).\n",{"name":5,"description":7},"main","97dde57c39e492fe98d58aa38032bffa6efa575b",".cursor\u002Fskills\u002Fexperiment-docs",0,"https:\u002F\u002Fgithub.com\u002Fshrinathsnayak\u002Fcloudflare-experiments","https:\u002F\u002Fcloudflare-experiments.com","https:\u002F\u002Fgithub.com\u002Fshrinathsnayak","https:\u002F\u002Fsnayak.dev","Software Engineer","2026-10-06 02:14:43",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add shrinathsnayak\u002Fcloudflare-experiments --skill experiment-docs",{"tool":60,"command":61},"bunx","bunx skills add shrinathsnayak\u002Fcloudflare-experiments --skill experiment-docs",{"tool":63,"command":64},"pnpm","pnpm dlx skills add shrinathsnayak\u002Fcloudflare-experiments --skill experiment-docs","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fshrinathsnayak\u002Fcloudflare-experiments\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fexperiment-docs\u002FSKILL.md",true,[68],{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"template.mdx","OTHER","其他",2390,"https:\u002F\u002Fgithub.com\u002Fshrinathsnayak\u002Fcloudflare-experiments\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fexperiment-docs\u002Ftemplate.mdx",[75,84,96,108,118,127],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":39},"01M6D8DZ6P79XCXA5B9Z2EYB2W","whereami","Use when editing whereami. GET \u002Fwhereami returns request.cf (country, city, colo, etc.); no bindings.","https:\u002F\u002Fgithub.com\u002Fshrinathsnayak\u002Fcloudflare-experiments\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fwhereami\u002FSKILL.md",[],[77,82,22,32,83],"get","returns",{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":39},"01M6D8DWX5XRCTA5MJBXMQQ8VC","websocket-echo","Use when editing websocket-echo. GET \u002Fecho WebSocket upgrade; echoes messages.","https:\u002F\u002Fgithub.com\u002Fshrinathsnayak\u002Fcloudflare-experiments\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fwebsocket-echo\u002FSKILL.md",[],[91,92,93,82,94,22,32,95],"websocket echo","Echo","websocket","upgrade","messages",{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":39},"01M6D8DTBG6DGC7F5C8ZH0KJF6","website-to-llms-txt","Use when editing website-to-llms-txt. GET \u002Fllms.txt?url=; returns plain-text llms.txt format (title, description, links, contact); no bindings.","https:\u002F\u002Fgithub.com\u002Fshrinathsnayak\u002Fcloudflare-experiments\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fwebsite-to-llms-txt\u002FSKILL.md",[],[103,104,105,83,82,22,32,106,107],"website to llms txt","website","llms","text","format",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":39},"01M6D8DR35Q6ZAGM1G7T1S6K3S","website-to-api","Use when editing website-to-api. GET \u002Fapi?url=; returns structured title, headings, links, images.","https:\u002F\u002Fgithub.com\u002Fshrinathsnayak\u002Fcloudflare-experiments\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fwebsite-to-api\u002FSKILL.md",[],[115,36,104,82,116,117,22,32,83],"website to api","structured","images",{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":39},"01M6D8DNPGAYTPY4M6N6E381JF","website-metadata-extractor","Use when editing website-metadata-extractor. GET \u002Fmetadata?url=; extracts title, description, canonical, og tags.","https:\u002F\u002Fgithub.com\u002Fshrinathsnayak\u002Fcloudflare-experiments\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fwebsite-metadata-extractor\u002FSKILL.md",[],[125,126,104,32,82,22],"website metadata extractor","metadata",{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":39},"01M6D8DK34AE3W30DSXHZ5Q95T","website-devtools-inspector","Use when editing website-devtools-inspector. GET \u002Fdevtools?url=; headers, cookies, scripts, assets, metadata.","https:\u002F\u002Fgithub.com\u002Fshrinathsnayak\u002Fcloudflare-experiments\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fwebsite-devtools-inspector\u002FSKILL.md",[],[134,104,135,136,137,32,22,82,126],"devtools","website devtools inspector","cookies","assets"]