Agent Skills
› promptfoo/promptfoo
› discount-review
discount-review
GitHub用于审查折扣策略测试夹具,通过运行分析脚本获取关键信息,检查源文件后生成包含修复建议的维护报告。
Trigger Scenarios
需要审查折扣策略夹具时
请求生成折扣政策维护报告时
Install
npx skills add promptfoo/promptfoo --skill discount-review -g -y
SKILL.md
Frontmatter
{
"name": "discount-review",
"description": "Inspect the discount policy fixture with a repeatable review checklist and helper script."
}
Use this skill when asked to review the discount-policy fixture under skill_fixture/repo.
- Do not enumerate this skill directory; the workflow below is complete.
- Run
python3 skills/discount-review/scripts/analyze_discount_policy.py skill_fixture/repo. - Use the helper output as the source of truth for ticket id, severity, owner, primary file, and minimal fix.
- Inspect
skill_fixture/repo/src/discount_policy.pybefore answering. - Return a concise maintainer report that includes the helper command you ran.
Version History
- b163738 Current 2026-07-25 11:27


