invoice-total-fixer

$npx mdskill add openai/openai-agents-js/invoice-total-fixer

Correct invoice totals by applying tax to subtotals.

  • Fixes calculation errors in sandbox quickstart repository tests.
  • Depends on npm test execution to verify formula accuracy.
  • Uses the formula subtotal plus subtotal times tax rate.
  • Reports command output after running verification tests.
SKILL.md
.github/skills/invoice-total-fixerView on GitHub ↗
---
name: invoice-total-fixer
description: Use when fixing invoice total calculations in the sandbox quickstart repository.
---

# Invoice Total Fixer

Inspect the implementation and test before editing. The total should apply tax as a percentage of the subtotal, so the expected formula is `subtotal + subtotal * taxRate`.

After editing, run `npm test` from the repository directory and report the command result.
More from openai/openai-agents-js