promptfoo Eval Suite Author

Build maintainable promptfoo evaluation suites for LLM-driven features.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/MS33834/AI-SKILL --skill promptfoo-eval-suite-author
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: promptfoo Eval Suite Author
Source: https://github.com/MS33834/AI-SKILL/tree/main/skills/promptfoo-evals
Command: npx skills add https://github.com/MS33834/AI-SKILL --skill promptfoo-eval-suite-author

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you turn an LLM-powered feature into a repeatable evaluation suite so you can catch regressions before they reach users.

Core Features & Use Cases

  • Suite design: Organizes promptfoo configs, prompts, tests, and assertions into a maintainable structure.
  • Provider selection: Chooses the simplest provider pattern for APIs, local code, or model comparisons while keeping provider count low.
  • Validation strategy: Prioritizes deterministic checks like JSON shape, string matching, and regex before using model-graded assertions.
  • Use case: Use it when you need to verify a chatbot, RAG pipeline, prompt template, or endpoint on every change and in CI.

Quick Start

Ask the Skill to draft a promptfoo eval suite for your LLM feature with a clear target, test layout, provider count, and assertion style.

Frequently Asked Questions about promptfoo Eval Suite Author

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

FAQPage Schema
How do I set up LLM regression testing with promptfoo?

You can build a promptfoo eval suite by organizing configs, prompts, and tests into a maintainable structure. The suite uses file-based or dataset-driven test cases with deterministic assertions to verify LLM features like chatbots and RAG pipelines.

What is the best way to write assertions for promptfoo eval suites?

The best way to write assertions for promptfoo eval suites is prioritizing deterministic checks like JSON shape validation, string matching, and regex before relying on model-graded assertions. This approach keeps test suites maintainable and results repeatable across CI runs.

Can I use promptfoo to evaluate RAG pipelines and HTTP APIs in CI?

Yes, promptfoo supports regression testing for RAG pipelines, HTTP APIs, chatbots, and prompt templates. It uses a low-provider setup with structured prompts and dataset-driven tests, making it suitable for running repeatable evaluation checks in CI environments.

Does promptfoo work with local providers for LLM evaluation?

Promptfoo works with local providers, HTTP APIs, and model comparisons for LLM evaluation. It selects the simplest provider pattern for your setup while keeping provider count low to ensure tests remain focused, structured, and repeatable.

Why use YAML configs for promptfoo evaluation suites?

YAML configs help organize promptfoo evaluation suites into a maintainable structure separating prompts, tests, and assertions. This file-based approach enables repeatable test case management and deterministic validation across prompt template changes and CI runs.