mcpbeat Sign in

Docs Editor Skill for Codex

Review and edit OpenAI Cookbook notebooks, Markdown, and MDX for technical accuracy, clarity, grammar, consistency, runnable examples, and repository publication requirements. Use for editorial reviews, pre-merge documentation checks, or notebook Markdown-cell sweeps in openai-cookbook.

2k tokens
context cost
the whole folder, loaded on every use
2
files
instructions only
0
copies elsewhere
how many repositories repackaged it
75088
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/openai/openai-cookbook --skill docs-editor

What comes with it

4 542 bytes besides the instruction
resources/style-guide.md

The instruction itself

10 sections, as written by the author

OpenAI Cookbook docs editor

Objective

Review Cookbook content conservatively. Improve correctness and readability without changing the author's intent, inventing facts, or creating unrelated churn.

Workflow

1. Define the scope

  • Prefer explicit paths or the files changed in the pull request.
  • For pull requests, review changed .md and .mdx files plus Markdown cells in changed .ipynb files.
  • Review registry.yaml and authors.yaml when content is added, moved, removed, or attributed to a new author.
  • Stay within the requested content. Do not turn a focused review into a repository-wide rewrite.

2. Protect notebook integrity

  • When the request is editorial, edit only notebook Markdown cells.
  • Preserve code cells, outputs, execution counts, attachments, cell order, cell IDs, and notebook and cell metadata.
  • Avoid reserializing an entire notebook for a small prose change. Inspect the diff for unintended JSON churn.
  • Do not execute notebook code unless the user requests it or code changes are in scope. Markdown-only edits require structural validation, not calls to external services.
  • Never add hard-coded secrets. Document required environment variables such as OPENAI_API_KEY.

3. Review the content

Load resources/style-guide.md and check:

  • Technical claims, API names, model names, identifiers, commands, paths, and URLs.
  • Agreement between prose, code, sample inputs, and expected outputs.
  • Prerequisites, dependencies, environment variables, and steps needed to run an example.
  • File and notebook names, headings, lists, numbering, cross-references, and links.
  • Grammar, spelling, punctuation, terminology, capitalization, and concise wording.
  • Publication metadata in registry.yaml and author metadata in authors.yaml when applicable.

Verify uncertain technical claims from an authoritative source or flag them for review. Do not guess.

4. Prioritize findings

Use the repository's review bar:

  • P0: Broken notebook JSON; hard-coded secrets; materially false or unsafe guidance; or any repository-defined P0 issue, including naming violations, typos, broken links, inconsistent formatting, placeholder identifiers, undocumented environment variables, or out-of-sync publication metadata.
  • P1: Misleading instructions, prose that contradicts code or output, missing prerequisites, or a required link that does not work.
  • P2: Clear improvements to grammar, consistency, organization, or readability that do not affect correctness.
  • P3: Optional polish with little effect on comprehension.

5. Make safe edits

  • Fix obvious typos, grammar, punctuation, broken local references, and clear prose/code mismatches.
  • Keep changes minimal, local, and reversible.
  • Preserve exact literals, code identifiers, commands, values, counts, conditions, modality, negation, and uncertainty markers.
  • Tighten prose only when meaning stays unchanged. Prefer concrete nouns, strong verbs, short introductions, and direct instructions.
  • Flag any change that depends on product knowledge or could alter meaning instead of guessing.
  • Do not make file-wide formatting or stylistic changes solely for uniformity.

6. Validate the result

For any changed notebook, run the repository validator:

env -u VIRTUAL_ENV uv run --with nbformat python .github/scripts/check_notebooks.py

Then:

  • Run git diff --check.
  • Inspect the diff and confirm that notebook changes are limited to intended Markdown cells.
  • Run an available YAML linter if registry.yaml or authors.yaml changed.
  • Run the relevant example or test only when executable content changed and its dependencies are available.

7. Report the review

Provide:

  • A short summary of the scope and edits.
  • Auto-fixed items.
  • Remaining findings grouped by priority with file and cell or line references.
  • The validation commands run and their results.

If no issues remain, say so explicitly.

Other skills for the same job

different authors, same section of the catalogue
MCP Builder
by anthropics
vendor ×13

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

30k tokens scripts
Changelog Generator
by frostant
×9

Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.

774 tokens
Finishing A Development Branch
by ZhanlinCui
×7

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup

1k tokens
MCP Builder
by JayZeeDesign
×7

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

37k tokens scripts
Vercel React Native Skills
by vercel-labs
vendor ×6

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

39k tokens
Vercel React Best Practices
by ratacat
×5

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

34k tokens
Next Best Practices
by vercel-labs
vendor ×4

Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling

20k tokens
Using Git Worktrees
by ZhanlinCui
×4

Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification

1k tokens

How to use it

Copy the folder

Take openai/docs-editor from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.