Skip to main content

REVIEW.md — c3/cdp-docs

This repository is the public CDP documentation site at docs.cdp.coinbase.com. Search engines and AI answer engines quote it, and developers write code against it. A page that is wrong, unreachable, or published too early is worse than a page that is missing. Your job as a reviewer here is to judge whether a change is true, clear, well-written, reachable, and safe to publish. STYLE_GUIDE.md sets the editorial conventions. Flag wording that makes the product harder to understand or use, not mechanical style issues on their own.

Before You Start

  • AGENTS.md: how the site, the OpenAPI and SDK automation, and docs.json fit together.
  • STYLE_GUIDE.md: editorial conventions for voice, headings, links, and code samples.
  • CONTRIBUTING.md: page types and the contribution workflow.
  • The pages the diff touches, plus the navigation entry and any redirect that covers their path.

What to Do

Always: Ask why the change is needed now

A description that says what changed but not why it is needed now is minor when the intent is obvious from the diff, and major otherwise. A navigation, redirect or docs.json change is a legitimate part of a content change: ask that it name the landing page, not that it ship separately.

Always: Trace product claims to a source

Docs state what the product does. A claim about limits, pricing, permissions or scopes, availability, rollout state, supported regions, or fund movement needs evidence in the pull request or the repo: an implementation change, configuration, an OpenAPI spec, or a linked design.
  • No source at all: major.
  • Contradicts shipped behavior in a way a developer could act on and lose money, funds, or access: blocker.

Always: Cut AI slop and keep prose concrete

Every edited section should open with its point and ground claims in specific behavior, parameters, or failure modes rather than broad scene-setting. Flag AI slop that pads the page without helping a developer act: generic “why this matters” preambles, motivational or marketing filler (“seamlessly”, “at its core”, “unlock”), and summary endings that just repeat the intro. Also flag synthetic structure and phrasing — repeated contrast formulas (“not just X, it’s Y”), artificial groups of three, mechanical transitions (“Additionally”, “Furthermore”, “Ultimately”), and long inline inventories after “including” or “such as” that should be cut or moved to bullets. Rate pervasive fluff or vague abstraction that obscures how the product works as major, and isolated wordiness as minor. Quote the exact passage to trim or make concrete rather than asking for a full rewrite, and ignore generated reference pages and untouched text.

Always: Keep private-beta and unreleased content off the public surface

This site is public. The private-beta site renders the same repository from a separate branch. Treat as blocker:
  • an operation, tag or page marked x-audience: private-beta appearing in public navigation or prose;
  • a link pointing readers at private-beta-docs.cdp.coinbase.com, or at a page that only exists there;
  • unreleased pricing, limits, or availability described as current rather than planned.
Draft-release copy belongs in the PR description until the launch clears, not in the published page.

Always: Require evidence that the change renders

Page, component, frontmatter, navigation or redirect changes need a preview link in the pull request and a note on what was checked. For a navigation or redirect change, name the page a reader actually lands on — a sidebar entry whose route is swallowed by a broader redirect is a blocker, because the reader gets the wrong page and CI may still pass. The same applies to publishing config in docs.json: redirects, SEO, and the navigation groups outside the Docs tab. Check every path the change publishes against the redirect list, including a new page added under a prefix that is already redirected wholesale.

Always: Never hand-edit generated reference

scripts/openapi/openapi-specs.ts decides, per spec, which reference pages are generated; it is the source of truth, not this section.
  • Rebuilt on every refresh: api-reference/v2/rest-api/ (built in c3/cdp-api and injected), api-reference/prime-api/rest-api/, and api-reference/business-api/rest-api/invoicing/. A hand edit there is a blocker: the next refresh overwrites it, and the real fix belongs in the owning spec.
  • Generated once, then preserved: api-reference/exchange-api/rest-api/ runs with skipExistingFiles, so only new pages are added. An edit to an existing page survives, but it freezes that page against later spec changes: call it out in the PR and prefer fixing the spec when the change belongs to the API contract.
  • Hand-curated with a refreshed spec: api-reference/advanced-trade-api/rest-api/ is fetch-only, so its pages are normal content and edits to them are ordinary review.

Always: Keep a removed or renamed URL working

  • Removing or renaming a page without a docs.json redirect is blocker. So is adding a page under a prefix that a broader redirect already covers: the page exists, and no reader can reach it.

Always: Treat skill files as product surface

skill.md and SKILL.md files are executed by agents, not read by people. Check the commands, tool names, scopes and URLs against the implementation, and that no credential or internal host is exposed. A wrong instruction here changes what an agent does on a user’s account.

Findings: Severity

Sail withholds its approval while a blocker or major is open, which hands the pull request to a person; minor and nit do not affect it. When a person is deciding, blocker is the bar.
  • blocker — private-beta or unreleased exposure; a page readers cannot reach or that redirects elsewhere; a hand-edited generated reference page; a removed or renamed page with no redirect; a claim that contradicts shipped behavior in a money-, permission- or access-affecting way.
  • major — an unsourced product claim; stale steps or screenshots that would fail a reader; pervasive AI slop or vague abstraction that obscures how the product works.
  • minor / nit — structure, ordering, examples that could be clearer; isolated wordiness.

Never Flag

  • Mechanical style issues on their own, such as casing, heading format, or a discouraged word. Flag filler or vague wording when it makes the changed content harder to understand or use, as described above.
  • Issues already reported by automated checks, such as spelling, formatting, broken links, or codegen drift.
  • Wording or schema quality inside generated reference pages — fix the owning spec (c3/cdp-api for v2) instead. Hand-editing a page the pipeline rebuilds is still the blocker above.
  • Pre-existing problems outside the diff.
  • Anything you cannot tie to the diff, the touched pages, or a source you can name.

Feedback

File feedback on CDP AI tools — Toshi Reviewer findings, this file, the agent skills built on it — in the CDP AI Conventions Linear project, titled <tool>: cdp-docs: <problem>, with one cdp-tool-feedback label. Comment on an existing issue instead of filing a duplicate.