openapi-ollama

Update the ollama_dart Dart package from Ollama OpenAPI specification changes.

Updated May 23, 2026
One-click install
npx skills add https://github.com/kiranimmadi2/promptforge-ai --skill openapi-ollama-kiranimmadi2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openapi-ollama
Source: https://github.com/kiranimmadi2/promptforge-ai/tree/main/ai_clients_dart/packages/ollama_dart/.agents/skills/openapi-ollama
Command: npx skills add https://github.com/kiranimmadi2/promptforge-ai --skill openapi-ollama-kiranimmadi2

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Keeping a Dart API client in sync with an evolving upstream OpenAPI specification is tedious and error-prone. This Skill automates fetching the latest Ollama OpenAPI spec, reviewing changes, scaffolding new models and resources, and verifying coverage so the ollama_dart package stays aligned with the official Ollama API. ## Core Features & Use Cases - Spec Fetch & Review: Downloads the latest Ollama OpenAPI spec and produces a structured change review against the current package implementation. - Scaffolding & Implementation Guidance: Generates new schema models and resources using manifest-driven placement rules, type mappings, and package-specific implementation patterns. - Verification & Quality Gates: Runs coverage, export, and drift checks plus Dart analyze, format, and unit tests to confirm the update is complete. - Use Case: When Ollama releases a new API field or endpoint, run the fetch-review-scaffold-verify workflow to update ollama_dart models like ChatRequest or GenerateResponse and confirm all expected properties are covered. ## Quick Start Ask the AI to fetch the latest Ollama OpenAPI spec, review the changes, and update the ollama_dart package accordingly.

Frequently Asked Questions about openapi-ollama

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

FAQPage Schema
How do I update a Dart package from an OpenAPI spec?

Run the api_toolkit fetch command with the skill's config directory to download the latest spec, then review changes, scaffold new schemas, and verify coverage. The workflow ends with promoting the reviewed spec into the package's specs directory.

How to scaffold new models from an OpenAPI schema in Dart?

Use the api_toolkit scaffold command with a target schema name, optionally with --dry-run to preview output. The manifest.json defines type mappings from OpenAPI types to Dart types and placement rules that route models into category directories like chat, completions, or embeddings.

Does the Ollama OpenAPI workflow require authentication?

No authentication is required. The Ollama OpenAPI spec is fetched from a public GitHub raw URL, and the specs configuration sets requires_auth to false with no auth environment variables.

What verification checks run after updating the Dart client?

The verify command runs all checks across all scopes, including coverage of expected schema properties and export validation. Separately, dart analyze with fatal infos, dart format, and unit tests enforce package quality.

Why does spec coverage verification report missing properties?

The manifest defines expected_properties for schemas like GenerateRequest and ChatResponse, so any upstream spec field not implemented in the Dart class is flagged. Check drift patterns and excluded resources in the configuration before adding new fields.