regression-test
Detect LLM Prompt Regressions with Promptfoo
Prompt changes can silently reduce output quality. This skill builds golden datasets, runs Promptfoo evaluations, and summarizes failures and recent trends.
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "regression-test" from https://skillstore.io/skills/7alexhale5-rgb-regression-test.md and its manifest at https://skillstore.io/api/skills/7alexhale5-rgb-regression-test/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“regression-test”。 Initialize regression testing for this prompt project.
预期结果:
Initialized the Promptfoo configuration and golden dataset directory. The results directory is ignored, and the suite is ready for its first case.
正在使用“regression-test”。 Run the golden tests after my system prompt change.
预期结果:
Regression results: 12 total, 11 passed, and 1 failed. The auth-flow case failed its expected behavior rubric and needs review.
正在使用“regression-test”。 Show recent prompt quality trends.
预期结果:
Recent trend: four of five runs passed completely. One auth-flow failure appeared in the latest run, so quality is declining.
安全审计
安全All 38 static findings are false positives caused by Markdown syntax, bounded shell examples, or a Promptfoo message template. No malicious intent, prompt injection, credential handling, or unauthorized network behavior was found.
风险因素
⚙️ 外部命令 (35)
🌐 网络访问 (1)
📁 文件系统访问 (1)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/7alexhale5-rgb-regression-test/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/7alexhale5-rgb-regression-test?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/7alexhale5-rgb-regression-test?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/7alexhale5-rgb-regression-test/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/7alexhale5-rgb-regression-test.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
7alexhale5-rgb. (2026). regression-test security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/7alexhale5-rgb-regression-test/audits/1BibTeX 引用
@techreport{7alexhale5-rgb-7alexhale5-rgb-regression-test-2026,
author = {7alexhale5-rgb},
title = {regression-test security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/7alexhale5-rgb-regression-test/audits/1},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "regression-test security audit report (audit version 1)"
version: "unspecified"
type: report
authors:
- name: "7alexhale5-rgb"
date-released: "2026-08-21"
url: "https://skillstore.io/skills/7alexhale5-rgb-regression-test/audits/1"
identifiers:
- type: other
value: "skillstore:7alexhale5-rgb-regression-test:audit:1"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 中你能构建什么
Validate prompt changes
Compare updated prompts against recorded expectations before merging code changes.
Check model migrations
Rerun a stable golden dataset after changing a model or provider version.
Enforce release quality
Run prompt evaluations in continuous integration and stop releases when assertions fail.
试试这些提示
Initialize Promptfoo regression testing in this repository. Show the files created and explain any prerequisites that are missing.
Add a golden test named {name}. Ask for the system prompt, user input, expected behavior, and optional variables before writing it.Run all golden prompt tests. Summarize the pass rate, duration, and each failed assertion with expected and actual behavior.
Review the last five evaluations, identify new failures, compare pass-rate trends, and recommend quality gates for {release_workflow}.最佳实践
- Review every golden case before committing it, and exclude prompts containing secrets or sensitive data.
- Describe expected behavior precisely enough that rubric assertions produce consistent results.
- Run the suite after prompt or model changes and before every release.
避免
- Do not treat one current model response as a permanent definition of correct behavior.
- Do not commit API keys, private prompts, personal data, or confidential outputs in golden files.
- Do not ignore unstable rubric failures without reviewing the assertion and provider behavior.
常见问题
What must be installed?
Which files does the skill create?
Can these tests run in continuous integration?
Should sensitive prompts be stored as golden cases?
Can I use a different model?
How much evaluation history is reported?
开发者详情
许可证
MIT
Skillstore 修订
r1
版本提示
作者未声明版本。
引用
cabd63e41a4ad4b66103abc7e50c525e4710fb64
维护新鲜度
2026/8/21
使用量
1 次下载 · 0 次浏览
文件结构
📄 SKILL.md