mistral-local-dev-loop

Featured

Configure Mistral AI local development with hot reload, testing, and mocking. Use when setting up a development environment, configuring test workflows, or establishing a fast iteration cycle with Mistral AI. Trigger with phrases like "mistral dev setup", "mistral local development", "mistral dev environment", "develop with mistral".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Mistral AI Local Dev Loop ## Overview Set up a fast, reproducible local development workflow for Mistral AI integrations: project scaffold, environment config, hot reload with `tsx`, unit tests with Vitest mocking, and integration tests against the live API. ## Prerequisites - Completed `mistral-install-auth` setup - Node.js 18+ with npm/pnpm - `MISTRAL_API_KEY` set in environment ## Instructions ### Step 1: Project Structure ``` my-mistral-project/ ├── src/ │ ├── mistral/ │ │ ├── client.ts # Singleton client │ │ ├── config.ts # Config with Zod validation │ │ └── types.ts # TypeScript types │ └── index.ts ├── tests/ │ ├── unit/ │ │ └── mistral.test.ts │ └── integration/ │ └── mistral.integration.test.ts ├── .env.local # Local secrets (git-ignored) ├── .env.example # Template for team ├── tsconfig.json ├── vitest.config.ts └── package.json ``` ### Step 2: Package Configuration **package.json** ```json { "type": "module", "scripts": { "dev": "tsx watch src/index.ts", "build": "tsc", "test": "vitest run", "test:watch": "vitest", "test:integration": "vitest run tests/integration/", "typecheck": "tsc --noEmit" }, "dependencies": { "@mistralai/mistralai": "^1.0.0" }, "devDependencies": { "@types/node": "^20.0.0", "dotenv": "^16.0.0", "tsx": "^4.0.0", "typescript": "^5.0.0", "vitest": "^1.0.0" } } ``` **tsconfig.json** ```json { "compiler...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category