API 文档撰写者套件
API 概览、SDK 概览、快速入门、教程、操作指南、参考文档、概念说明、开发者指南、API 变更日志、弃用通知、迁移指南与故障排查。
指南
API Overview and Getting Started Template
标准API landing page: what it does, OpenAPI and Arazzo descriptions, base URLs, auth in 3 steps, first request, key resources, errors, limits, next steps
OpenAPI 3.2.1 (or 3.1.x); Arazzo 1.1.0; Overlay 1.2.0SDK Overview Template
完整SDK landing page: supported-languages matrix, install, auth and config, first call, errors, retries and timeouts, pagination, logging, versioning and support policy
OpenAPI 3.2.1; Semantic Versioning 2.0.0Quickstart Guide Template
标准Quickstart page: time-to-first-success target, prerequisites table, three steps with expected output, verify, clean-up, troubleshooting
Diátaxis (tutorial and how-to types, adapted)Tutorial Template (Diátaxis)
标准Diátaxis tutorial – learning goals, prerequisites, numbered lessons with visible results, checkpoints, troubleshooting
DiátaxisHow-To Guide Template (Diátaxis)
标准Goal-oriented how-to guide: prerequisites table, numbered steps with checks, verification, variations, failure table, worked example
Diátaxis (how-to guide)
参考设计
REST Endpoint Reference Template
标准One REST endpoint: auth, parameter tables, request example, responses per status, RFC 9457 errors, limits, idempotency, paging, deprecation headers
OpenAPI 3.2.1 (or 3.1.x), Arazzo 1.1.0, Overlay 1.2.0, RFC 9457, RFC 9745, RFC 8594Reference Documentation Template (Diátaxis)
标准Diátaxis reference page – neutral, consistently structured entries for functions, types, errors and constants
DiátaxisExplanation Document Template (Diátaxis)
标准Understanding-oriented explanation: idea in brief, context, mechanism diagram, alternatives considered, trade-offs, misconceptions, worked example
Diátaxis (explanation)Developer and SDK Guide Template
完整Developer guide: setup, auth, multi-language quick start, errors, pagination, rate limits, webhooks, sandbox, OpenAPI/Arazzo/Overlay descriptions, versioning
OpenAPI 3.2.1 (or 3.1.x); Arazzo 1.1.0; Overlay 1.2.0; RFC 9745, RFC 8594
变更管理
API Changelog Template (OpenAPI 3.2, AsyncAPI 3.1)
完整Dated per-version API change log: additive, behavioural and breaking classes, affected operations, OpenAPI diff links, Deprecation and Sunset values, SDK versions
OpenAPI 3.2.1; AsyncAPI 3.1.0; RFC 9745; RFC 8594Deprecation Notice Template (RFC 9745, RFC 8594)
完整Customer-facing deprecation and sunset notice: affected users, dates, replacement, migration steps, usage detection, Deprecation and Sunset headers, email and changelog variants
RFC 9745; RFC 8594; OpenAPI 3.2.1Migration Guide Template
标准Upgrade/migration guide – who is affected, breaking changes table, timeline, checklist, steps, before/after code, rollback
维护
Troubleshooting Guide Template
标准Troubleshooting guide: diagnostic first steps, symptom index, decision steps per problem with verification, data to collect before contacting support, known issues link
Structure aligned with ISO/IEC/IEEE 26514:2022llms.txt Template for LLM-Friendly Docs
精简llms.txt site index for language models: H1, summary, link-list sections, Optional section, llms-full.txt, .md page mirrors, rel alternate/describedby discovery
llms.txt proposal v2 (llmstxt.org, modified 2026-08-10)