openapi-mistral

Updates the mistralai_dart package from Mistral AI OpenAPI specification changes.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Keeping a Dart client library in sync with an evolving upstream OpenAPI specification is tedious and error-prone. This Skill automates fetching the latest Mistral AI OpenAPI spec, reviewing changes, scaffolding new models and resources, and verifying coverage so the mistralai_dart package stays current. ## Core Features & Use Cases - Spec Fetch & Review: Downloads the latest Mistral AI OpenAPI spec and produces a structured change review via the shared api-toolkit CLI. - Scaffolding & Manifest Tracking: Generates Dart model/resource scaffolds guided by a manifest that maps OpenAPI schemas to Dart classes, sealed hierarchies, and package directories. - Verification & Quality Gates: Runs coverage and export verification checks plus Dart analyze, format, and unit tests. - Use Case: When Mistral AI ships a new API field or endpoint, run the fetch-review-scaffold-verify workflow to update the Dart client and confirm nothing regressed. ## Quick Start Use the openapi-mistral skill to fetch the latest Mistral AI OpenAPI spec, review the changes, and scaffold the required updates in the mistralai_dart package.

Frequently Asked Questions about openapi-mistral

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

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

Run the api-toolkit fetch command with the skill's config directory to download the latest spec, then run review to inspect changes. Scaffold new types, promote the reviewed spec into the package's specs directory, and finish with the verify command.

How do I review OpenAPI changes before implementing them?

Use the api_toolkit.py review command with the skill config directory. It compares the fetched candidate spec against the current state and reports changes, which you then implement using scaffold plus the package reference guides.

Does this workflow require API authentication?

No authentication environment variables are required. The Mistral AI OpenAPI spec is fetched remotely from a public URL, and the toolkit commands run locally against the repository.

What quality checks run after scaffolding Dart models?

Run the toolkit verify command with all checks and scope, then run dart analyze with fatal infos, dart format with set-exit-if-changed, and the unit test suite from the package directory.

How are OpenAPI schemas mapped to Dart classes?

The config manifest maps each schema to a Dart class, file location, and kind such as object, enum, sealed parent, or sealed variant. Placement rules route models into category directories like chat, embeddings, and workflows.