其他技能
price-change
Record a vendor's announced price change in the official price book without losing the rate it replaces.
esengine · 已有静态检查记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add esengine/DeepSeek-Reasonix --skill price-change技能说明
name: price-change description: Record a vendor's announced price change in the official price book without losing the rate it replaces.
Recording a price change
- Find the vendor's rows in
officialRatesininternal/contract/pricing/rates.go. Each row is one model in one currency. - Append a
rateGenerationto the row'sRates; never edit an existing one. SetFromto the first billed day (YYYY-MM-DD, UTC) when the change is announced ahead of time. - Leave the earlier generation where it is:
SupersededRatesreads it so a stored price that matches it is recognised as ours and refreshed. - Update the row's
CheckedOnconstant to the day you confirmed the page. - Add a test beside
rates_test.gothat pinsCurrentRatebefore and after theFromday by replacingtoday. - Run
make check.make pricecheckneeds the network and is run by hand.