Works with the AI Agents you already use

    API Documentation & Example Generator

    by Skillora

    1

    Transform raw API specs into structured Markdown documentation, safe code examples, and integration guides.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    API Documentation & Example Generator

    API Documentation & Example Generator

    Example session with this skill installed

    Generate documentation for a POST /v1/payments endpoint. Requires Bearer auth. Needs amount (int), currency (string, ISO), and source (string). Returns 201 on success.

    • Read your context and instructions
    • Compiled the api documentation

    I have processed the specifications for the Payments API. I identified that the source parameter format and specific error codes (400, 401, 402) were not fully defined, so I have flagged these for your review.

    API Documentation Draft: Payments Service v1

    Endpoint: POST /v1/payments
    Summary: Initiates a new payment transaction.
    Authentication: Bearer Token required. Use <YOUR_ACCESS_TOKEN>.

    Request Parameters

    NameTypeRequiredDescription
    amountIntegerYesThe amount to charge in the smallest currency unit.
    currencyStringYesThree-letter ISO currency code (e.g., USD).
    sourceStringYesThe payment source identifier.

    Request Example

    curl -X POST https://api.example.com/v1/payments \
      -H "Authorization: Bearer <YOUR_ACCESS_TOKEN>" \
      -H "Content-Type: application/json" \
      -d '{
        "amount": 5000,
        "currency": "USD",
        "source": "src_12345"
      }'
    

    Response Example (201 Created)

    {
      "id": "pay_98765",
      "status": "pending",
      "amount": 5000,
      "currency": "USD",
      "created_at": "2023-10-27T10:00:00Z"
    }
    

    Missing Information & Questions

    1. Source Format: What are the valid prefixes for the source string (e.g., tok_, src_)?
    2. Error Payloads: What is the expected JSON structure for a 402 Payment Required error?
    3. Idempotency: Does this endpoint support Idempotency-Key headers?

    Next steps

    1. Define the specific validation rules for the source field.
    2. Provide a sample error response body to complete the Error Reference table.
    3. Confirm if any optional metadata fields should be added to the request.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Struggling with inconsistent API documentation or missing code examples? This skill converts raw endpoint specifications and schemas into implementation-ready reference docs. It eliminates the guesswork that leads to integration errors by sticking strictly to your provided source material.

    What it does

    • Standardizes references by organizing methods, paths, and auth requirements into scannable Markdown.
    • Generates safe examples using placeholders for secrets and illustrative values for request/response payloads.
    • Maps error codes into structured tables covering status codes, meanings, and recovery steps.
    • Drafts integration guides that outline the exact sequence of requests needed for common workflows.
    • Performs gap analysis by identifying missing parameters, ambiguous schemas, or undocumented behaviors.

    How it works

    1. Supply your raw API spec, endpoint details, or schema definitions.
    2. The skill audits the input for missing details and summarizes the documented scope.
    3. It generates the full reference, including examples and error handling logic.
    4. Review the "Missing Information" section to fill in any gaps identified during the process.

    Frameworks & tools

    Outputs clean Markdown compatible with GitHub, GitLab, and most static site generators. Supports cURL and language-specific snippets for any standard programming language.

    Why this beats prompting it yourself

    Generic prompts often hallucinate missing fields or invent auth schemes to "fill the blanks." This skill enforces grounding rules that distinguish between confirmed facts and illustrative values, ensuring your docs remain technically accurate.

    Use cases

    • Documenting internal microservices for other teams.
    • Converting legacy API notes into professional developer portals.
    • Generating quickstart guides for third-party developers.
    • Auditing new endpoint specs for consistency before they go live.

    Known limitations

    Does not validate if the API actually works or if OpenAPI files are syntactically valid. Requires manual verification of business logic and production URLs.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Frequently Asked Questions

    The skill requires raw API specifications, endpoint details, or schema definitions as input, which it then transforms into structured Markdown documentation and code snippets.

    Unlike generic prompts, this skill uses grounding rules to prevent hallucinations, clearly distinguishing between confirmed technical facts and illustrative placeholder values to ensure accuracy.

    Yes, it generates clean, standardized Markdown that is fully compatible with GitHub, GitLab, and most static site generators used for developer portals.

    The skill includes a 'gap analysis' feature that identifies missing parameters, ambiguous schemas, or undocumented behaviors in your source material, highlighting exactly what needs your attention.

    The skill supports generating request examples for cURL as well as language-specific snippets for any standard programming language you specify during the process.

    While it generates comprehensive documentation and error tables, it does not validate the syntax of OpenAPI files or test if the API endpoints are actually functional.

    New in Technical Documentation

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Technical Documentation.