document-api-integration

Analyze qontract-api integrations to generate template-aligned documentation.

37|106|Updated Nov 15, 2018
One-click install
npx skills add https://github.com/app-sre/qontract-reconcile --skill document-api-integration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: document-api-integration
Source: https://github.com/app-sre/qontract-reconcile/tree/main/.claude/skills/document-api-integration
Command: npx skills add https://github.com/app-sre/qontract-reconcile --skill document-api-integration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyze an existing qontract-api integration and generate documentation following the standard template at docs/integrations/template.md.

Core Features & Use Cases

  • Analyze integration codebases to extract models, endpoints, and business logic for documentation.
  • Generate a complete docs file that adheres to the project's documentation template.
  • Update or create docs/integrations/<name>.md and reference the template for consistency.

Quick Start

Ask the AI to generate documentation for a given qontract-api integration by providing the integration name (e.g., "slack-usergroups") or by confirming the integration to document.

Frequently Asked Questions about document-api-integration

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

FAQPage Schema
How do I generate documentation for a qontract-api integration?

Generate qontract-api documentation by providing the integration name so the tool can inspect models, service, router, and tasks, then output a template-aligned file at docs/integrations/<name>.md referencing the standard template.

What is the standard template for qontract-api integration docs?

The standard template is located at docs/integrations/template.md, which defines the structure for documenting API surfaces, data models, and workflows that the generated documentation must follow for consistency.

How do I document API endpoints and data models from existing code?

Document API endpoints and data models by analyzing the integration codebase to extract business logic, router definitions, and model structures, ensuring the generated documentation reflects the actual code.

Can I use this to document a new integration or a migration to qontract-api?

Yes, it supports both new integrations and migrations to qontract-api, requiring exact extraction of the API surface, data models, and workflows to produce comprehensive documentation.

What files does the API integration documentation analysis inspect?

The analysis inspects models, service, router, tasks, and related files, while also referencing ADRs and reconciliation clients as applicable to ensure accurate documentation generation.

Does the generated documentation include dry_run-safe guidance?

Yes, the generated documentation includes dry_run-safe guidance where relevant, ensuring the documented workflows and API integration instructions reflect safe operational practices.