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

promotions-discounts

Design a promotions and discount engine — coupon codes, automatic discounts, BOGO, tiered/volume pricing, stacking and exclusivity rules, and gift cards. Platform-agnostic rules modeling that avoids margin leaks. Triggers: designing discounts, defining stacking rules, modeling gift cards/coupons.

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

SebastianLuser/claude-code-arcaneスター 3(GitHub 3 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.3 KB

SKILL.md(原文)

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

Promotions & Discounts

Discounts are easy to add and hard to control. Model the rules so promotions stack predictably, can't be abused, and never quietly destroy margin — independent of platform.

Before Starting

Gather: promotion types in use, who can stack with what, abuse history (code sharing, repeat redemption), and goal (design the engine, define stacking/exclusivity rules, or audit existing promos for leaks).

How This Skill Works

ModeTriggerOutput
DesigndesignDiscount engine model + rule schema
RulesrulesStacking, exclusivity, and eligibility matrix
AuditauditMargin-leak and abuse-risk review

Phase 1 — Discount Model

Model every promotion as trigger → condition → effect → constraints:

PartExamples
Triggercode entered, automatic, cart threshold
Conditionmin subtotal, specific collection, customer segment, first order
Effect% off, fixed off, free shipping, BOGO, fixed price
Constraintsusage cap (global/per-customer), date window, exclusivity

Rule: Discounts apply to a defined scope (line / shipping / order) and are recomputed server-side at checkout — never client-trusted.


Phase 2 — Stacking & Exclusivity

The hard part. Define explicitly:

  • Stackable vs exclusive: most stores allow one order-level code; auto-discounts may stack with codes. Decide and enforce.
  • Application order matters for % vs fixed — define it (typically line discounts → order discounts → shipping).
  • Priority when multiple eligible: best-for-customer vs best-for-merchant — pick a policy.
  • Caps: max discount per order; floor on post-discount margin.

For the full eligibility matrix and worked stacking examples, model the matrix per the table above.


Phase 3 — Gift Cards & Abuse Prevention

  • Gift cards are stored-value tender, not discounts — track balance, partial redemption, and never let balance go negative or expire silently where regulated.
  • Abuse defenses: per-customer usage caps, one-time codes, segment gating, and minimum-order thresholds. Watch for code leaks to coupon sites.

Output Artifacts

RequestOutput
DesignRule schema + effect/scope model
RulesStacking/exclusivity matrix + application order
AuditLeak/abuse findings: PASS / CONCERNS / FAIL

A promotion engine is COMPLIANT when discounts are server-computed, stacking and application order are explicit, usage caps are enforced, and a margin floor protects every order.


Related Skills

  • cart-checkout: applies discounts at the cart/checkout.
  • pricing-strategy: sets the base prices discounts modify.
  • commerce-analytics: measures promo ROI and margin impact.
  • referral-program: a specialized promotion type.

レビュー

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

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

Plan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.

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

SebastianLuser/claude-code-arcane32026年10月27日 更新

Web/mobile accessibility decision guide: WCAG 2.2 AA, ARIA, keyboard nav, focus management, contrast, testing. Use for: a11y, accessibility, wcag, aria, screen reader, keyboard, contrast.

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

SebastianLuser/claude-code-arcane32026年10月27日 更新

Generate, iterate, and scale ad creative for paid advertising across Google, Meta, LinkedIn, and X. Covers platform specs, creative frameworks, and quality validation.

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

SebastianLuser/claude-code-arcane32026年10月27日 更新

Musica interactiva para juegos: layering vertical, re-secuenciacion horizontal, stingers, reglas de transicion con sync points, y mapeo de estados de gameplay a musica. Usar para: musica adaptativa, sistema de musica dinamica, transiciones musicales, combat music.

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

SebastianLuser/claude-code-arcane32026年10月27日 更新

Design multi-agent systems, create agent architectures, define communication patterns, and build autonomous agent workflows with structured evaluation frameworks.

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

SebastianLuser/claude-code-arcane32026年10月27日 更新

Inter-agent communication protocol for C-suite agent teams. Defines invocation syntax, loop prevention, isolation rules, response formats, and quality loops.

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

SebastianLuser/claude-code-arcane32026年10月27日 更新

SebastianLuser のスキルをすべて見る

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