Agent Skillspromptfoo/promptfoo › discount-review

discount-review

GitHub

用于审查折扣策略测试夹具,通过运行分析脚本获取关键信息,检查源文件后生成包含修复建议的维护报告。

examples/openai-agents/skills/discount-review/SKILL.md promptfoo/promptfoo

Trigger Scenarios

需要审查折扣策略夹具时 请求生成折扣政策维护报告时

Install

npx skills add promptfoo/promptfoo --skill discount-review -g -y
More Options

Non-standard path

npx skills add https://github.com/promptfoo/promptfoo/tree/main/examples/openai-agents/skills/discount-review -g -y

Use without installing

npx skills use promptfoo/promptfoo@discount-review

指定 Agent (Claude Code)

npx skills add promptfoo/promptfoo --skill discount-review -a claude-code -g -y

安装 repo 全部 skill

npx skills add promptfoo/promptfoo --all -g -y

预览 repo 内 skill

npx skills add promptfoo/promptfoo --list

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.

  1. Do not enumerate this skill directory; the workflow below is complete.
  2. Run python3 skills/discount-review/scripts/analyze_discount_policy.py skill_fixture/repo.
  3. Use the helper output as the source of truth for ticket id, severity, owner, primary file, and minimal fix.
  4. Inspect skill_fixture/repo/src/discount_policy.py before answering.
  5. Return a concise maintainer report that includes the helper command you ran.

Version History

  • b163738 Current 2026-07-25 11:27

Same Skill Collection

.agents/skills/redteam-plugin-development/SKILL.md
.agents/skills/search-params/SKILL.md
.claude/skills/promptfoo-evals/SKILL.md
.claude/skills/redteam-plugin-development/SKILL.md
.claude/skills/search-params/SKILL.md
plugins/promptfoo/skills/promptfoo-evals/SKILL.md
plugins/promptfoo/skills/promptfoo-provider-setup/SKILL.md
plugins/promptfoo/skills/promptfoo-redteam-run/SKILL.md
plugins/promptfoo/skills/promptfoo-redteam-setup/SKILL.md

Metadata

Files
0
Version
7d26d8f
Hash
65566645
Indexed
2026-07-25 11:27

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-22 01:16
浙ICP备14020137号-1 $mapa de visitantes$