api-documentation

Generate API reference documentation from Pact module signatures.

1|1|Updated Jun 9, 2026
One-click install
npx skills add https://github.com/Pact-Community-Organization/github-marketplace --skill api-documentation-pact-community-organization
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-documentation
Source: https://github.com/Pact-Community-Organization/github-marketplace/tree/main/skills/api-documentation
Command: npx skills add https://github.com/Pact-Community-Organization/github-marketplace --skill api-documentation-pact-community-organization

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pact contracts expose signatures, but teams often struggle to maintain an up-to-date, readable API reference that maps functions, parameters, capabilities, and gas costs. This Skill generates structured documentation directly from Pact signatures to streamline onboarding and integration.

Core Features & Use Cases

  • Automatic API reference generation from module signatures, including function docs and parameter details
  • Capability and gas-cost annotations presented in clear tables for quick review
  • Publish-ready output suitable for developer portals, wikis, or repository docs

Quick Start

Supply Pact module signatures and run the generator to produce the API documentation.

Frequently Asked Questions about api-documentation

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

FAQPage Schema
How do I generate API documentation from Pact module signatures?

To generate API documentation from Pact module signatures, supply the signatures to the generator to automatically produce structured reference docs covering functions, parameters, capabilities, and gas costs.

Can I automatically document Pact gas costs and capabilities in a single reference?

Yes, you can automatically document Pact gas costs and capabilities in a single reference by processing module signatures to extract and format these annotations into clear, publish-ready tables.

What is the best way to maintain up-to-date API docs for Pact functions and parameters?

The best way to maintain up-to-date API docs for Pact functions and parameters is to generate them directly from module signatures, ensuring the reference output stays synchronized with the latest contract code.

Does this approach work for creating publish-ready developer portal documentation from Pact contracts?

Yes, this approach works for creating publish-ready developer portal documentation from Pact contracts by converting signatures into structured module overviews, dependencies, and usage examples suitable for wikis or repositories.

What do I need to provide to start automating Pact API reference generation?

To start automating Pact API reference generation, you need to provide the Pact module signatures, which the tool processes to output structured documentation without requiring additional dependencies or components.

Are there limitations to documenting Pact code using only module signatures?

Documenting Pact code using only module signatures focuses on generating function docs, parameter tables, capabilities, and gas costs, but may not capture complex internal execution logic or external integration workflows.