API Docs Generation with Claude Code: Artifact Delivery
A production playbook for API docs generation in cross-industry operations using Claude Code: artifact delivery, run-scoped inputs, logs, typed results, and artifacts.
Audience: Developer experience teams
The problem
Developer experience teams need API docs generation to run repeatedly against OpenAPI specs, examples, SDK snippets, and changelogs. In cross-industry operations, the pain is not one good answer; it is repeatability, auditability, exception handling, and evidence that survives handoff.
Implementation path
Require Claude Code to write customer-visible files under /skill/output/artifacts, validate filenames and sizes, then return signed artifact metadata in argo.result.v1.
Tradeoffs and failure modes
Artifact policy constrains file output, but customers receive files that are durable, typed, and safe to download. For API docs generation, the practical test is whether a second run can be debugged, retried, and consumed by a product without reading the raw agent transcript.
Artifact manifest
artifacts:
- api-docs-generation-summary.md
- api-docs-generation-evidence.csv
- api-docs-generation-review.json
signed_urls: true
retention: org_policy
Run this on Argo