promptfoo-evals
Creates or updates promptfoo evaluation suites, prompts, tests, assertions, and provider configs. Use when adding eval coverage, debugging regressions, or scaffolding a new eval matrix.
- License 许可
- MIT
- 最近更新
- 2026-04-14
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- promptfoo-evals
- license
- MIT
- description
- Creates or updates promptfoo evaluation suites, prompts, tests, assertions, and provider configs. Use when adding eval coverage, debugging regressions, or scaffolding a new eval matrix.
03 SKILL.md 正文
Promptfoo Evals
Use this skill for:
/Users/wendyly/.local/share/agent-skills/external/promptfoo
Scope
- Create or refine maintainable
promptfooevaluation suites. - Prefer deterministic assertions first and model-graded assertions only where they add real value.
Workflow
- Search for existing
promptfooconfig.yaml,promptfooconfig.yml, orevals/directories before creating new ones. - For new suites, prefer:
evals/<suite-name>/
promptfooconfig.yaml
prompts/
tests/
- Add the schema header to config files:
# yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
- Put prompts in
prompts/*.txtorprompts/*.jsonand reference them withfile://. - Keep provider count small and aligned with the real system under test.
- Use file-backed tests where possible and include edge cases, regressions, safety/refusal checks, and output-shape validation.
- Use deterministic assertions first:
equalscontainsregexis-jsonjavascriptpython
- Use model-graded assertions sparingly:
llm-rubricfactualityanswer-relevancecontext-faithfulness
Validation
- During development, run with
--no-cache. - In the promptfoo repo itself, prefer local build commands over published npm packages.
Example:
npm run local -- validate -c <config>
npm run local -- eval -c <config> --no-cache --env-file .env
Output Contract
When done, state:
- what the suite evaluates
- files created or modified
- how to run it
- required env vars
- any unavoidable TODOs
04 同仓库更多 Skills
web-design-guidelines
Web platform design and accessibility guidelines. Use when building web interfaces, auditing accessibility, implementing responsive layouts, or reviewing web UI code. Triggers on tasks involving HTML, CSS, web components, WCAG compliance, responsive design, or web performance.
watchos-design-guidelines
Apple Human Interface Guidelines for Apple Watch. Use when building watchOS apps, complications, or workout features. Triggers on tasks involving Watch UI, Digital Crown, glanceable interfaces, or wrist-based interactions.
visionos-design-guidelines
Apple Human Interface Guidelines for Apple Vision Pro. Use when building spatial computing apps, implementing eye/hand input, or designing immersive experiences. Triggers on tasks involving visionOS, RealityKit, spatial UI, or mixed reality.
tvos-design-guidelines
Apple Human Interface Guidelines for Apple TV. Use when building tvOS apps with focus-based navigation, Siri Remote input, or living room viewing experiences. Triggers on tasks involving Apple TV, tvOS, 10-foot UI, or media playback.
timesfm-forecasting
Zero-shot time series forecasting with Google's TimesFM foundation model. Use this skill when forecasting ANY univariate time series — sales, sensor readings, stock prices, energy demand, patient vitals, weather, or scientific measurements — without training a custom model. Supports both basic forecasting and advanced covariate forecasting (XReg) with dynamic and static exogenous variables. Automatically checks system RAM/GPU before loading the model, validates dataset fit before processing, supports CSV/DataFrame/array inputs, and returns point forecasts with calibrated prediction intervals. Includes a preflight system checker script that MUST be run before first use to verify the machine can load the model and handle your specific dataset.
sqlmap-defensive-audit
Use when working with sqlmap for defensive SQL injection research, local lab validation, code reading, or safe remediation guidance around SQLi testing workflows.