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,266 stars 315 forks Updated today 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
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

miro-local-dev-loop

Configure Miro local development with hot reload, testing, and ngrok tunneling. Use when setting up a development environment, configuring test workflows, or establishing a fast iteration cycle with the Miro REST API v2. Trigger with phrases like "miro dev setup", "miro local development", "miro dev environment", "develop with miro", "miro testing".

2,266 Updated today
jeremylongshore
AI & Automation Featured

mistral-multi-env-setup

Configure Mistral AI across development, staging, and production environments. Use when setting up multi-environment deployments, configuring per-environment secrets, or implementing environment-specific Mistral AI configurations. Trigger with phrases like "mistral environments", "mistral staging", "mistral dev prod", "mistral environment setup".

2,266 Updated today
jeremylongshore
AI & Automation Featured

mistral-reference-architecture

Implement Mistral AI reference architecture with best-practice project layout. Use when designing new Mistral AI integrations, reviewing project structure, or establishing architecture standards for Mistral AI applications. Trigger with phrases like "mistral architecture", "mistral best practices", "mistral project structure", "how to organize mistral".

2,266 Updated today
jeremylongshore
AI & Automation Featured

klaviyo-local-dev-loop

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

2,266 Updated today
jeremylongshore
AI & Automation Featured

mistral-install-auth

Install and configure the Mistral AI SDK with authentication. Use when setting up a new Mistral integration, configuring API keys, or initializing Mistral AI in your project. Trigger with phrases like "install mistral", "setup mistral", "mistral auth", "configure mistral API key".

2,266 Updated today
jeremylongshore