本文へ移動
cccskills
無料GitHub で公開

woo-pricing-promotions

Use when the user says 'run a sale', 'discount this category', 'set up a coupon', 'reprice these products', 'end the sale', or asks what a discount would cost them. Plans the price change, shows it as a preview before anything moves, writes it with a snapshot, and can put it back.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md6.0 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Woo Pricing and Promotions

Runs a sale, a repricing, or a coupon on a live WooCommerce store, and treats the money as money. Every change is previewed before it happens, snapshotted when it does, and reversible afterwards.

What this skill does

Pricing is the one place on a store where a plausible-looking mistake costs real money before anyone notices. A misplaced decimal is not a broken layout somebody reports; it is orders at the wrong price, and by the time it surfaces the orders exist. So the order of operations here is deliberate: understand the current prices, state the change in money rather than percentages, show it, then write it.

Handles:

  • Category-wide or list-based repricing, by percentage, by fixed amount, or to a set value
  • Scheduled sales with start and end dates, so the sale ends without anyone remembering to end it
  • Coupons: fixed, percentage, free shipping, with usage limits and product or category restrictions
  • Sale badges on the storefront
  • Putting a price change back from the snapshot it wrote

What this skill does NOT do

  • Decide the discount. Depth is a margin decision. This skill will tell you what a discount costs against recent sales volume; it will not pick one.
  • Beat the guardrails. A move over 50%, a discount deeper than 70%, or a price under 0.50 comes back blocked. That is the add-on refusing, and it is refusing on purpose. Say so plainly and ask, rather than resending with the override.
  • Touch tax, currency, or payment configuration.
  • Reprice a variable product's parent and hope. Variations carry their own prices; name them.

Requirements

  • WooCommerce with the Respira WooCommerce add-on, licensed
  • The store's own sales history for volume, which woocommerce_top_products reads

Trigger Phrase

  • "run a sale"

Alternative Triggers

  • "discount this category"
  • "set up a coupon"
  • "reprice these products"
  • "end the sale"
  • "what would 20% off cost me"

Execution Workflow

Phase 1: See the current state

Never reprice from memory of what a product costs.

  1. woocommerce_list_products_advanced for the target set, or woocommerce_get_product for a named one. This also matters mechanically: reads are what the add-on records as provenance, and a write to something never read is annotated as unverified.
  2. woocommerce_top_products over a comparable recent window (date_start, date_end), so the discount has a volume to be measured against.
  3. Note anything already on sale. Stacking a new sale on an existing one is the most common way a discount ends up twice as deep as intended.

Phase 2: State it in money

Convert the ask into per-product numbers, and say them:

14 products in Outdoor. Regular prices 24.00 to 189.00. A 20% sale takes the range to 19.20 to 151.20. Against the last 30 days that is about 340 in discount at the same volume. Two of these are already on sale at 15%, so they would go to 32% off unless excluded.

Ask before writing. A percentage sounds smaller than the money it is.

Phase 3: Preview

Run the write with dry_run: true first, every time. The response lists each product with its old and new prices and names anything the guardrails would block. Show that list. A preview is cheap and a repricing is not.

Phase 4: Write

  • woocommerce_bulk_update_prices for a repricing (change_type percentage, absolute or set_value; apply_to regular_price, sale_price or both), or woocommerce_schedule_sale when it should end by itself
  • woocommerce_create_coupon for a code, with usage_limit set unless the user says otherwise, because an uncapped code is a liability
  • woocommerce_add_sale_badge if the storefront should show it (block themes only; run it with dry_run: true first)

Snapshots are captured automatically. Report the snapshot ids.

Phase 5: Confirm and hand back the undo

State what changed, in money, and how to reverse it: woocommerce_revert_pricing with the product_id and snapshot_id. If the sale was scheduled, say the date it ends without anyone acting.

Safety Model

  • Preview before every write, no exceptions
  • Snapshot before each price change, with a named path back
  • Guardrails refuse outsized moves; treat a block as a question for the user, never as an obstacle to route around
  • Coupons default to a usage limit
  • Nothing here touches an existing order's price

Honest Disclaimer

This skill changes live prices on a real store.

It cannot: judge whether a discount is good for the business, model demand, know your margins, or see a competitor's pricing. It will not decide depth for you.

It can: show what a change costs before it happens, apply it consistently across a set, schedule an end, and put it back.

Tooling

woocommerce_list_products_advanced, woocommerce_get_product, woocommerce_top_products, woocommerce_revenue_summary, woocommerce_bulk_update_prices, woocommerce_schedule_sale, woocommerce_revert_pricing, woocommerce_create_coupon, woocommerce_update_coupon, woocommerce_list_coupons, woocommerce_add_sale_badge

Telemetry

After run completion, fire-and-forget to POST https://www.respira.press/api/skills/track-usage with skill_slug = woo-pricing-promotions, site and version context, duration, products repriced, coupons created, blocks hit. Never block the user on telemetry.

Related Skills

  • Woo Catalog Perfection (fix the catalog the sale runs on)
  • Woo Marketing Campaigns (tell people the sale exists)
  • WooCommerce Health Check (state of the store before a promotion)

Built by Respira Team https://respira.press/skills/woo-pricing-promotions

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Use when the user asks for a client report, a monthly or activity report, a case study draft, or says 'what did i ship this month'. Turns the site audit log into a written report in one of six framings: agency client report, case study, internal recap, testimonial draft, build-in-public, personal recap.

日本語の概要は準備中です。原文の説明を表示しています。

respira-press/agent-skills-wordpress442026年9月13日 更新

Use on any page build, redesign, or 'make it look better' request on a site that has (or needs) a saved Art Direction. Loads the direction before the first element is written, plans tokens in two passes against the direction's donts and the known AI-default aesthetics, builds with tokens preserved, checks the result with respira_check_design, and mints a live preview. Also the import lane for Claude Design output and other design-system documents.

日本語の概要は準備中です。原文の説明を表示しています。

respira-press/agent-skills-wordpress442026年9月13日 更新

Use when the user says 'extract my brand voice', 'what is my writing style', or 'analyze my tone', or before any skill that writes copy for the site. Reads 5-10 published posts and persists tone, lexicon, sentence patterns, formality, signature phrases, and phrases the site never uses.

日本語の概要は準備中です。原文の説明を表示しています。

respira-press/agent-skills-wordpress442026年9月13日 更新

Use when building or rebuilding a page, header, footer, or template on an Oxygen 6 (Jenga) site, or when a previous attempt produced a blank page, one raw HTML block, or 'Unknown element'. Hands the agent the Oxygen 6 element schemas and the Template Content Area rule. Not for Oxygen Classic.

日本語の概要は準備中です。原文の説明を表示しています。

respira-press/agent-skills-wordpress442026年9月13日 更新

Use when the user says 'export my site', 'backup my pages before editing', 'download my content locally', or 'migrate content to my other site'. Exports pages, posts, and custom posts to portable local packages with builder data, media, and markdown, then imports elsewhere with ID remapping.

日本語の概要は準備中です。原文の説明を表示しています。

respira-press/agent-skills-wordpress442026年9月13日 更新

Use when the user says 'audit my conversion rate', 'cro check', 'find conversion leaks', or asks what is hurting conversion before a paid campaign or after a redesign. Scores six friction dimensions: above-the-fold clarity, CTA hierarchy, form length, social proof, speed, trust signals.

日本語の概要は準備中です。原文の説明を表示しています。

respira-press/agent-skills-wordpress442026年9月13日 更新

respira-press のスキルをすべて見る

このスキルの問題を報告する