LLM Feature Testing
Builds an offline eval suite for AI features, so a prompt or model change cannot quietly make quality worse.
Claude's review
7/10 Solid LLM eval-suite method: golden cases, cheap-first scoring, regression gate, CI.
We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.
In detail
Builds an offline eval suite for LLM-powered features: golden reference cases per prompt template, deterministic scoring where possible, a regression gate on prompt, model and retrieval changes, and CI wiring with promptfoo, Vitest or deepeval. Use when a product ships prompts, agents or RAG, when a model or prompt upgrade needs a regression check, when LLM output is currently verified by someone eyeballing it, or when asked how to test a feature whose output is non-deterministic.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: testing-llm-features
description: 'Builds an offline eval suite for LLM-powered features: golden reference cases per prompt template, deterministic scoring where possible, a regression gate on prompt, model and retrieval changes, and CI wiring with promptfoo, Vitest or deepeval. Use when a product ships prompts, agents or RAG, when a model or prompt upgrade needs a regression check, when LLM output is currently verified by someone eyeballing it, or when asked how to test a feature whose output is non-deterministic.'
argument-hint: 'The feature, its prompts and model config, what "good output" means for it, and the current test/CI setup'
user-invocable: true
---
# Testing LLM Features
Use this skill when a product's behaviour depends on a model, and the current verification method is a person looking at output and deciding it seems fine.
The problem is not that LLM output is hard to assert on. It is that **the same input produces different output, and a prompt or model change can degrade quality without breaking anything**. No test in a normal suite fails. Coverage stays green. The feature just gets worse, and you find out from users.
An eval suite is the unit-test layer for this: a fixed set of cases, run on every change that could affect model behaviour, scored consistently enough that a regression is visible.
## When to Use
- a feature calls a model and there is no automated check on output quality
- a prompt, model version, temperature, tool list, or retrieval config is about to change
- a model upgrade is proposed and nobody can say what would regress
- an agent or chain has grown beyond what manual spot-checks can cover
- RAG answers are drifting and it is unclear whether retrieval or generation is at fault
- a CI gate is needed for AI behaviour, not just AI code
## Operating Principles
- **Golden cases, not vibes.** A case has an input, an expectation, and a scoring rule. "Looks good" is not an expectation.
- **Determinism where you can get it.** Pin the model version, set temperature to 0, fix seeds, freeze retrieval snapshots. Non-determinism is a property of the model; it is not an excuse for a non-reproducible test.
- **Test the assertable layer first.** Schema conformance, required fields, refusal behaviour, citation presence, tool-call shape, latency and cost. Most feature-breaking regressions are structural, and structural checks are cheap and exact.
- **Rubrics before judges.** If an LLM judges the output, it needs a written rubric with a scale, and the judge itself needs validating against human labels. An unrubriced judge is a random number with an API bill.
- **A regression is a new failure on a case that used to pass.** That is the gate. An absolute score threshold on a hard case set gates nothing useful.
- **Separate retrieval failures from generation failures.** A RAG answer can be wrong because the right document was never retrieved. Score retrieval independently or you will tune the prompt to fix an index problem.
- **Cases are a product artifact.** They encode what the feature promises. Review them like code and grow them from real failures.
- **Cost and latency are results.** A 12% quality gain for 4× the cost and 3× the latency is a product decision, so report all three.
## Workflow
### Phase 0: Map the surface
Find everything that can change model behaviour, because each is a trigger for the suite:
...From jaktestowac's repository, MIT licence.
Related skills
-
Checked
RAG evaluation
Measures how well a RAG system retrieves and answers, with test questions, metrics and chunking advice.
7/101 credit -
Checked
Test and Fix Loop
Sets up a coding agent to run tests, read failures and fix them until green, with a safe point to stop.
8/101 credit -
Checked
Subjective quality evals
Tests if a prompt or model change improves subjective output with blind comparisons and a calibrated judge.
8/101 credit -
Checked
Simplified Technical English
Rewrites prompts, errors and instructions in Simplified Technical English, so people and AI cannot misread them.
7/101 credit -
Checked
n8n instance control
Creates, tests, activates and updates workflows on a live n8n instance through its API, with run history.
7/101 credit -
Checked
Gemini Nano Android agents
Builds on-device Android AI agents with ML Kit and Gemini Nano, so chat and tool calls run on the phone.
7/101 credit