Skip to content
Automation
Command

/update-api-reference

Generates API reference + guides updates from new schema changes with samples and changelog entries.

From plugin
gtm-agents
368199 skills200 agents199 commands
Install
$ npx -y skills add gtmagents/gtm-agents --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/update-api-reference

Context preview

What this command does when you run it.

Generates API reference + guides updates from new schema changes with samples and changelog entries.

Command definition

update-api-reference.md
name: update-api-reference
description: Generates API reference + guides updates from new schema changes with samples and changelog entries.
usage: /technical-writing:update-api-reference --spec openapi.yaml --audience developers --outputs reference,guide --languages js,python

Command: update-api-reference

Inputs

  • **spec** – OpenAPI/AsyncAPI file path or URL.
  • **audience** – developers | partners | internal | admins.
  • **outputs** – reference, guide, changelog, tutorial (comma-separated).
  • **languages** – code sample languages (js, python, curl, java, go, ruby, csharp).
  • **breaking-change** – true/false toggle for migration guidance.

Workflow

1. **Spec Diff & Analysis** – compare schema version vs prior baseline, note new/changed/deprecated endpoints. 2. **Content Scope** – determine docs to update (reference tables, tutorials, SDK snippets, changelog entries). 3. **Drafting** – produce updated endpoint descriptions, parameters, responses, usage notes, and code samples per language. 4. **Review Loop** – route drafts to engineering/product for validation and to editorial for style compliance. 5. **Publishing & Versioning** – push updates, tag version support, update changelog + migration guidance.

Outputs

  • Updated API reference markdown/HTML with highlighted changes.
  • Code sample bundle per requested languages.
  • Changelog excerpt + migration guidance (if applicable).

Agent/Skill Invocations

  • `api-docs-editor` – leads spec diff + doc updates.
  • `documentation-architect` – ensures IA + governance alignment.
  • `api-style-guide` skill – enforces terminology, formatting, and code sample rules.
  • `versioning-dashboard` skill – logs version info + deprecation timelines.

---

Read more
Ships withgtm-agents

Free AI automation for sales, marketing, and growth teams. No coding required.

Get the whole plugin