Update existing developer docs
Workflow for changing a page that already exists on docs.zapier.com (public-api-docs). This skill covers finding and editing; contribute-docs covers the repo mechanics.
When to use
- Fixing outdated or incorrect developer or API content
- Reflecting an API, SDK, auth, or product change
- Restructuring a page for clarity or to match its page type
Step 1: Gather the source
Start from the change driver: a TECHWR ticket, an engineering MR or OpenAPI change, or a reported inaccuracy. Capture exactly what changed in the product, and the affected API surface. The OpenAPI spec is the source of truth for endpoints, fields, and status codes.Step 2: Locate the affected pages
Search the repo for the relevant content (search the section folder anddocs.json for the feature, endpoint, or term). Then:
- Read each candidate page for content that is now incorrect, missing, or unclear.
- Identify the page’s Diataxis type and compare it to its template (template-tutorial, template-how-to, template-concept, template-reference). Note any missing or misplaced sections — for example, an explanation that has crept into a how-to belongs on a linked concept page.
- Check sibling and related pages in the same section: are they affected by the same change?
- Record cross-links that need adding, fixing, or removing if the update changes scope or “what to read next”.
Step 3: Edit in place with diffs
Edit directly in the existing.mdx file:
- Only use information from the page or the source. Do not invent details to fill gaps — ask the user, or mark the gap with a JSX comment (
{/* ENG QUESTION: ... */}). - Present changes as reviewable diffs.
- Re-verify every endpoint path, field name, and status code against the OpenAPI spec. Confirm code examples still run and follow code-examples.
- Convert any Title Case headings you touch to sentence case, and apply the other writing standards as you go.
- Add or fix the cross-links recorded in Step 2 — in both the page you are editing and the related pages.
- If availability changed (for example, beta to GA), update or remove the callout or frontmatter
tagaccordingly.
Step 4: Respect generated content
If the change affects endpoint reference, fix it at the source (the OpenAPI spec annotations), not in a generated.mdx. The same applies to snippets/sdk/* and other generated files. See generated-content-safety.
Step 5: Handle URL changes and finalize
If the update moves, renames, consolidates, or removes a page so its URL changes, hand off to contribute-docs to add the redirect, updatedocs.json, fix internal links to the old path, and update the committed llms.txt. Run the local preview and broken-link check, then open a merge request.
Run review-before-done before declaring it complete. If you found content that should be a new page rather than an edit (Step 2), tell the user.
Related skills
- contribute-docs — repo mechanics, docs.json, redirects, llms.txt, MR
- create-new-dev-docs — drafting a new page
- review-before-done — pre-merge quality check
- dev-doc-types — confirm the page type and structure