跳到正文
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(原文)

安装前可以查看交给 AI 代理的指令内容。

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 的全部技能

报告此技能的问题