generating-documentation

Generate OpenAPI specifications, code documentation, and system diagrams.

503|73|Updated Nov 13, 2025
One-click install
npx skills add https://github.com/ancoleman/ai-design-components --skill generating-documentation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generating-documentation
Source: https://github.com/ancoleman/ai-design-components/tree/main/skills/generating-documentation
Command: npx skills add https://github.com/ancoleman/ai-design-components --skill generating-documentation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the creation of various types of technical documentation, reducing manual effort and ensuring consistency across API documentation, code documentation, documentation sites, Architecture Decision Records (ADRs), and system diagrams.

Core Features & Use Cases

  • API Documentation: Generate OpenAPI (Swagger) specifications for REST and GraphQL APIs.
  • Code Documentation: Create documentation from code comments for TypeScript, Python, Go, and Rust.
  • Documentation Sites: Build developer-facing sites using Docusaurus or MkDocs.
  • Architecture Decision Records (ADRs): Document significant architectural decisions using the MADR template.
  • Diagrams: Generate visual representations of system architecture using Mermaid, PlantUML, or D2.
  • Use Case: A software team needs to document a new microservice. This Skill can generate the OpenAPI spec, TypeDoc for its TypeScript codebase, and a Mermaid diagram of its architecture, all integrated into their project's documentation site.

Quick Start

Use the generating-documentation skill to create an OpenAPI specification for a new REST API.

Frequently Asked Questions about generating-documentation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate OpenAPI specifications for REST and GraphQL APIs automatically?

You can generate OpenAPI specifications for REST and GraphQL APIs automatically, reducing manual effort and ensuring consistent developer-facing content across your service endpoints.

What is the best way to create code documentation for TypeScript, Python, Go, and Rust?

Create code documentation for TypeScript, Python, Go, and Rust by generating docs from code comments using TypeDoc, Sphinx, godoc, and rustdoc, ensuring your codebase remains maintainable and accessible for onboarding.

Can I use Docusaurus or MkDocs to build a developer-facing documentation site?

Yes, you can build developer-facing documentation sites using Docusaurus or MkDocs, integrating your generated API specifications, code documentation, ADRs, and system diagrams into a unified project site.

How do I document architectural decisions using Architecture Decision Records?

Document architectural decisions by generating Architecture Decision Records (ADRs) using the MADR template, which helps you record significant system design choices and maintain a clear history of your project's architectural evolution.

Does this approach support generating system diagrams with Mermaid, PlantUML, and D2?

Yes, this approach supports generating visual representations of system architecture using Mermaid, PlantUML, or D2, allowing you to create comprehensive system diagrams alongside your API and code documentation.

What are the limitations of automating technical documentation across multiple layers?

Automating technical documentation across API specs, code docs, ADRs, and diagrams requires consistent code comments and clear architectural inputs to generate accurate outputs, as it relies on existing project structure rather than inferring undocumented intent.