openapi-ollama

Synchronize the ollama_dart client with the Ollama OpenAPI specification.

22|12|Updated Dec 19, 2025
One-click install
npx skills add https://github.com/davidmigloz/ai_clients_dart --skill openapi-ollama
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openapi-ollama
Source: https://github.com/davidmigloz/ai_clients_dart/tree/main/packages/ollama_dart/.claude/skills/openapi-ollama
Command: npx skills add https://github.com/davidmigloz/ai_clients_dart --skill openapi-ollama

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the process of keeping the ollama_dart package in sync with the official Ollama OpenAPI specification, ensuring the client library accurately reflects the latest API changes.

Core Features & Use Cases

  • API Update Detection: Automatically fetches the latest Ollama OpenAPI spec and compares it to the current version used by the Dart client.
  • Changelog Generation: Creates detailed changelogs highlighting differences between API versions.
  • Implementation Planning: Generates prioritized plans for implementing new endpoints or modifying existing ones based on spec changes.
  • Code Generation: Assists in creating new models and endpoints from the OpenAPI specification.
  • Use Case: When Ollama releases a new API feature, this Skill can automatically detect the change, tell you what needs to be updated in the ollama_dart package, and even help generate the boilerplate code for it.

Quick Start

Run the update api command to check for changes in the Ollama API specification.

Frequently Asked Questions about openapi-ollama

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

FAQPage Schema
How do I sync a Dart API client with the latest Ollama OpenAPI specification?

To sync a Dart API client with the Ollama OpenAPI specification, you can automate fetching the latest spec, analyzing differences, and generating implementation plans for modified endpoints. This ensures your client library accurately reflects upstream API changes.

What is the best way to detect API updates for an Ollama Dart client?

Detecting API updates for an Ollama Dart client involves automatically fetching the latest Ollama OpenAPI spec and comparing it against the current version to generate a detailed changelog of differences.

Can I generate Dart models and endpoints directly from an OpenAPI spec?

Yes, you can generate Dart models and endpoints directly from an OpenAPI spec. The process assists in creating boilerplate code for new API features by analyzing the specification and producing prioritized implementation plans.

Do I need Python to automate Ollama OpenAPI code generation for Dart?

Yes, you need Python 3.9 or higher with PyYAML installed to automate Ollama OpenAPI code generation for Dart. The automation also relies on shared scripts from the openapi-toolkit.

How does changelog generation work when syncing local API specs with upstream sources?

Changelog generation works by comparing the fetched upstream OpenAPI specification against your local version, highlighting differences between API versions to show exactly what endpoints or models need updates.