authoring-api-docs
Authoring API Docs Action
Produces precise, exhaustive API reference documentation — the information-oriented quadrant of the Diátaxis framework.
Load authoring-technical-docs first for the multi-pass workflow, style rules, and quality framework. This action provides the templates and API-specific rules.
Templates
Templates are located in the assets/ folder alongside this skill:
assets/rest-endpoint-template.md— Use for documenting individual REST API endpoints. Covers authentication, path/query/body parameters, request and response examples, error codes, and rate limits.assets/sdk-function-template.md— Use for documenting SDK or library functions. Covers parameters, options, return values, errors, and a usage example.
Copy the relevant template and fill in all placeholder fields before publishing.
API-specific rules
- Every parameter must have a type. No exceptions. Complex types link to schema definitions.
- Every endpoint must have a working example. Copy-pasteable with clearly marked placeholders (
YOUR_API_KEY). - Document all error codes. Include the code string, description, and resolution.
- Show both request and response. Always pair them.
- Use consistent field naming. Match the API's convention exactly — never translate.
- Document authentication once at the top, then reference from individual endpoints.
- Include rate limit information for every rate-limited endpoint.
- Version your docs if the API has versions.
Generating from OpenAPI specs
When an OpenAPI/Swagger spec is the input:
- Parse all paths, methods, parameters, and schemas
- Group endpoints by tag or resource
- Populate the endpoint template for each
- Create a "Data types" section for schemas referenced by
$ref - Use
descriptionfields as starting points — rewrite for clarity - Use
examplefields in code examples - Document
securitysection as auth requirements at the top
Save output to docs/api/.
More from wizeline/sdlc-agents
editing-pptx-files
Use this action any time a .pptx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates, layouts, speaker notes, or comments. Trigger whenever the user mentions \"deck,\" \"slides,\" \"presentation,\" or references a .pptx filename, regardless of what they plan to do with the content afterward. If a .pptx file needs to be opened, created, or touched, use this action.
25authoring-user-docs
Use when producing user-facing documentation — tutorials, how-to guides, user guides, getting-started guides, installation guides, or onboarding documentation. Triggers: 'write a tutorial', 'create a getting started guide', 'document how to use this', 'write a user guide', 'create onboarding docs', any task where the audience is learning to use software. Always load authoring-technical-docs first.
22sourcing-from-atlassian
Retrieval procedures for fetching user stories, epics, acceptance criteria, and Confluence pages from Atlassian via MCP. Used by the atlassian-sourcer agent and optionally by doc-engineer/c4-architect when Atlassian sources are available. Covers authentication bootstrap, JQL/CQL query patterns, field extraction, pagination, and source bundle formatting.
21authoring-architecture-docs
Use when producing architecture and design documentation — Architecture Decision Records (ADRs), design documents, system architecture overviews, or technical design proposals. Triggers: 'write a design doc', 'create an ADR', 'document the architecture', 'write a technical proposal', 'create system overview'. Always load authoring-technical-docs first.
21automating-docs-updates
Automatically handles documentation updates whenever a user requests to commit and push changes through Git. Reads the changes being committed and updates the relevant documentation accordingly.
18incident-analyzing
>
14