mistral-ci-integration

Featured

Configure Mistral AI CI/CD integration with GitHub Actions and prompt testing. Use when setting up automated testing, prompt regression suites, or integrating Mistral AI quality gates into your build process. Trigger with phrases like "mistral CI", "mistral GitHub Actions", "mistral automated tests", "CI mistral", "prompt testing".

AI & Automation 2,944 stars 440 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 CI Integration ## Overview Integrate Mistral AI validation into CI/CD pipelines: prompt regression tests, model response quality checks, cost estimation in PR comments, and deployment gates for prompt changes. Uses GitHub Actions with `MISTRAL_API_KEY` stored as a repository secret. ## Prerequisites - `MISTRAL_API_KEY` stored as GitHub repository secret - GitHub Actions configured - Test framework (Vitest recommended) ## Instructions ### Step 1: GitHub Actions Workflow ```yaml # .github/workflows/mistral-tests.yml name: Mistral AI Tests on: pull_request: paths: - 'src/prompts/**' - 'src/ai/**' - 'tests/ai/**' jobs: prompt-tests: runs-on: ubuntu-latest timeout-minutes: 10 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: '20' cache: 'npm' - run: npm ci - name: Run prompt regression tests env: MISTRAL_API_KEY: ${{ secrets.MISTRAL_API_KEY }} run: npx vitest run tests/ai/ --reporter=verbose - name: Cost estimation env: MISTRAL_API_KEY: ${{ secrets.MISTRAL_API_KEY }} run: npx tsx scripts/estimate-costs.ts >> $GITHUB_STEP_SUMMARY ``` ### Step 2: Prompt Regression Tests ```typescript // tests/ai/mistral-prompts.test.ts import { describe, it, expect } from 'vitest'; import { Mistral } from '@mistralai/mistralai'; const apiKey = process.env.MISTRAL_API_KEY; describe.skipIf(!apiKey...

Details

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

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category