> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cdp.coinbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# STYLE GUIDE

# Style guide

How we write pages on `docs.cdp.coinbase.com`. This file covers what a page should look like.
For how to get a change merged — branches, commits, review — see `CONTRIBUTING.md`.

**Scope.** These rules apply to new pages and to pages you are already rewriting. Existing pages are
grandfathered: don't reformat a page you weren't asked to change. This guide adds no CI checks.

## Language

* **Second person for instructions.** "You can create a key in the dashboard", not "the user must".
* **First person plural for team actions.** Use "we" for actions the Coinbase team takes.
* **Explain unfamiliar terms.** Avoid jargon where you can, and define unfamiliar concepts and acronyms
  on first use.
* **No "please", no exclamation marks.** Direct and technical, not chatty.
* **Don't assume ease.** Never use *simply*, *just*, *easy*, *easily*, *obvious*, *obviously*.
* **No marketing copy.** Never use *seamless*, *powerful*, *industry-leading*, *world-class*,
  *enterprise-grade*, *lightning-fast*, or similar claims in technical pages.
* **Aim for short.** A sentence averages around 14 words; a paragraph stays under four. If a sentence needs
  two commas to survive, split it. This is a target, not a rule to measure.
* **Backticks for anything literal.** Identifiers, field names, file paths, commands and environment
  variables: `PaymentSession`, `client_order_id`, `./docs.json`, `cdp evm accounts create`.

## Structure

* **Page titles live in frontmatter**, in Title Case: `title: "Transfers Quickstart"`.
* **Body headings use sentence case.** "Create a wallet", not "Create A Wallet".
* **Don't repeat the page title as a body heading.** The frontmatter `title` already renders it.
* **Bold UI labels.** For example, select **Save**.
* **Keep nesting shallow.** Two to three levels of body heading is usually enough; if you need a fifth,
  the page is probably two pages.
* **End guidance pages with a next step.** A "What to read next" section linking the related overview,
  quickstart or API reference.

## Links

* **Descriptive link text.** "Read the [authentication guide](https://docs.cdp.coinbase.com/api-reference/v2/authentication.md)", never
  "click here" or a bare URL.
* **Relative paths for in-project pages.** `./quickstart.mdx` rather than an absolute URL, so preview
  deployments resolve.
* **Root-relative paths for other doc projects.** For example, `/project-name/docs/getting-started`.

## Code

* **Runnable as written.** Define variables above the block instead of leaving `<YOUR_API_KEY>` inside it,
  so a reader who has authenticated can paste and run.
* **Label the language on every fence.** `bash`, `typescript`, `python`, `json`.
* **Don't hand-edit generated reference.** Change the owning spec or generator for generated pages.
  See the OpenAPI and SDK automation sections in `AGENTS.md` for which pipelines own the output.

## Maintenance

* **Use lowercase, hyphen-separated filenames** for new pages, following nearby naming patterns.
* **Name new overview pages `overview.mdx`,** not `welcome.mdx`. If you rename an existing
  `welcome.mdx` page, add a redirect from the old URL.
* **Deprecations are one change, not two.** Remove the page from the navigation, add a redirect to its
  replacement, and fix references in the same pull request. Generated reference pages are the exception:
  the spec sync owns them.

## Not covered here yet

Page-type templates, example ordering, per-page length targets, and the canonical product-name table are
still under discussion. They were proposed together in #486 and are being broken into smaller changes with
their open questions; as each settles, it belongs here.
