Prompt Regression Pack 是一个提示词回归测试技能,通过冻结金标输入、定义 must/must_not 约束,并生成漂移表和可选 CI 伪代码来在发布前捕获提示词回归。

Stars

4

7 天增长

暂无数据

Fork 数

1

开放 Issue

0

开源协议

MIT

最近更新

2026-07-30

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它将提示词质量变成可回归测试的流程,利用版本化金标输入、机器可检查约束和漂移表,让提示词编辑在发布前被安全地纳入检查。

适合谁使用

  • 编辑系统提示词或模板提示词的 LLM 应用开发者
  • 跟踪格式或策略漂移的提示词工程师
  • 负责提示词回归检查的 CI/CD 实践者
  • 需要在结构化流程中发布提示词变更的团队

典型使用场景

  • 在每次系统或模板提示词编辑时用金标输入做回归门禁
  • 在 CI 中对 prompts/** 变更运行漂移检查
  • 跟踪不同提示词版本之间的格式和策略漂移
  • 在发布前生成金标用例集和约束目录

项目优势

  • 将金标用户输入与版本化提示词冻结对应
  • 执行机器可检查的 must/must_not 约束
  • 生成漂移表和可选 CI 伪代码
  • 提供语言、规模、检查类型、CI 和深度等可配置选项

使用前须知

  • 仅限提示词范围,不是完整的多工具 Agent 能力套件
  • 不适用于一次性创意对话或越狱漏洞库
  • CI 支持取决于选项,可能只是伪代码或说明

README 快速开始

Prompt Regression Pack

Golden inputs, expected constraints, drift table, and CI pseudo-code — catch prompt regressions before ship.

中文简介: 提示词回归包(金标输入、期望约束、漂移检测表、CI 伪代码)。 — 详见 README.zh.md.

What this skill does

  • Freezes golden user inputs against a versioned prompt
  • Defines machine-checkable must / must_not constraints
  • Produces a drift table vs baseline and optional CI pseudo-code
  • Stays prompt-scoped (not a full multi-tool agent suite)

Install

npx skills add / --skill prompt-regression-pack

Local monorepo: skills/prompt-regression-pack/.

Options

OptionValuesDefault
langen · zh · bilingualen
size12 · 25 · 5025
checkconstraints · exact · hybridconstraints
cinone · pseudo · github-actionspseudo
depthlite · standard · strictstandard

When to use

UseDon't
Gate every system/template prompt editOne-off creative chat
CI on prompts/** changesFull agent capability suite only
Track format/policy driftJailbreak exploit libraries

Deliverable

Gold case set + constraint catalog + drift table + CI notes.

See SKILL.md.

Example

../../output/samples/prompt-regression-pack-example-01.md

License

MIT — see LICENSE.

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

MoonshotAI
精选
MoonshotAI GitHub avatar

Kimi-K3

Kimi K3 is an open-weight, 2.8T-parameter native multimodal agentic model with a 1M-token context window, designed for frontier coding, knowledge work, and reasoning tasks.

AI 与机器学习AI 智能体
3,348
xuchonglang
精选
xuchonglang GitHub avatar

investing-for-beginners

A structured investing guide for Chinese beginners covering US stocks, options, and cryptocurrency, with focus on foundational concepts and risk awareness.

区块链与 Web3
2,739
Krishnagangwal
精选
Krishnagangwal GitHub avatar

CS-Fundamentals

A curated collection of Computer Science fundamentals (PDFs, notes, cheatsheets, interview question banks) for placement preparation, covering seven core subjects plus general resources.

数据与数据库数据库与存储
2,326