Home / Skills / promptfoo/promptfoo

discount-review

Inspect the discount policy fixture with a repeatable review checklist and helper script.

skillLicense: MIT Source: promptfoo/promptfoo

Install

Copy this folder into your Claude Code project (needs Node.js):

npx degit promptfoo/promptfoo/examples/openai-agents/skills/discount-review .claude/skills/discount-review

Or install it for every project:

npx degit promptfoo/promptfoo/examples/openai-agents/skills/discount-review ~/.claude/skills/discount-review

File content

Made by its original authors and shared under MIT. We show it unchanged, with credit and a link to the source. Source ↗

---
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.