Skip to content

docs: add pricing-update skill for syncing the pricing supplement#831

Merged
robinebers merged 2 commits into
mainfrom
skill/pricing-update
Jul 3, 2026
Merged

docs: add pricing-update skill for syncing the pricing supplement#831
robinebers merged 2 commits into
mainfrom
skill/pricing-update

Conversation

@robinebers

Copy link
Copy Markdown
Owner

TL;DR

Adds a pricing-update agent skill (like release-swift) that walks through syncing pricing_supplement.json with Cursor's published model pricing, and links it from the pricing docs.

What was happening

  • Since feat(spend): native log scanners + dynamic model pricing, drop ccusage #827, supplement updates (new Cursor-native models, price corrections, alias rules) are a manual edit with the procedure spread across docs/pricing.md, the publish workflow, and the supplement file itself.
  • There was no single runbook an agent could follow, so each sync required rediscovering the conventions (alias ordering, validation, per-million rates, PR flow).

What this changes

  • New .claude/skills/pricing-update/SKILL.md: pull https://cursor.com/docs/models-and-pricing.md into context, diff against the supplement, edit (with guardrails: exact numbers, prefer catalog aliases over duplicated prices, never delete historically-referenced entries, -fast rules before base rules, bump updated_at), validate with the same checks CI runs plus the pricing tests, open a PR, and verify the gh-pages publish afterwards — including the re-trigger command for stalled Pages deploys.
  • docs/pricing.md maintainer notes now point to the skill.

Tests

  • Docs/skill only; no code changes.

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

robinebers has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.

@github-actions github-actions Bot added the docs label Jul 2, 2026
@robinebers robinebers added the gate-passed Passed the automated PR gatekeeper checks (gatekeeper skips it on later runs) label Jul 2, 2026 — with Cursor

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

robinebers has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.

@robinebers robinebers merged commit 02a4fab into main Jul 3, 2026
3 checks passed
@robinebers robinebers deleted the skill/pricing-update branch July 3, 2026 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs gate-passed Passed the automated PR gatekeeper checks (gatekeeper skips it on later runs)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant