Skip to content

Marketing skills for Claude Code and AI agents. CRO, copywriting, SEO, analytics, and growth engineering.

fix(churn-prevention): use Paddle Billing dunning events

Rudy Celekli86ee53c5c436
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json
index ea384a9..a6f60db 100644
--- a/.claude-plugin/marketplace.json
+++ b/.claude-plugin/marketplace.json
@@ -6,7 +6,7 @@
},
"metadata": {
"description": "Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, and growth",
- "version": "2.11.17",
+ "version": "2.11.18",
"repository": "https://github.com/coreyhaines31/marketingskills"
},
"plugins": [
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json
index 83527da..d155ceb 100644
--- a/.claude-plugin/plugin.json
+++ b/.claude-plugin/plugin.json
@@ -1,7 +1,7 @@
{
"name": "marketing-skills",
"description": "Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, ad creative, and growth",
- "version": "2.11.17",
+ "version": "2.11.18",
"author": {
"name": "Corey Haines"
},
diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json
index 7f59e6e..5884655 100644
--- a/.codex-plugin/plugin.json
+++ b/.codex-plugin/plugin.json
@@ -1,7 +1,7 @@
{
"name": "marketing-skills",
"description": "Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, ad creative, and growth",
- "version": "2.11.17",
+ "version": "2.11.18",
"author": {
"name": "Corey Haines"
},
diff --git a/VERSIONS.md b/VERSIONS.md
index 404f2de..df0dcaf 100644
--- a/VERSIONS.md
+++ b/VERSIONS.md
@@ -10,7 +10,7 @@ Current versions of all skills. Agents can compare against local versions to che
| analytics | 2.0.2 | 2026-10-02 |
| aso | 2.0.1 | 2026-08-19 |
| attribution | 1.1.2 | 2026-10-02 |
-| churn-prevention | 2.0.1 | 2026-10-02 |
+| churn-prevention | 2.0.2 | 2026-10-06 |
| co-marketing | 2.0.2 | 2026-10-02 |
| cold-email | 2.1.0 | 2026-10-02 |
| community-marketing | 2.0.1 | 2026-08-23 |
@@ -57,6 +57,10 @@ Current versions of all skills. Agents can compare against local versions to che
## Recent Changes
+### 2.11.18 (2026-10-06)
+
+- **churn-prevention** (2.0.1 → 2.0.2): correct Paddle Billing dunning webhook event names and distinguish payment attempts, overdue subscription state, and effective cancellation from scheduled cancellation. Add a diagnostic eval and link the official event contracts.
+
### 2.11.17 (2026-10-02)
- **video** (2.2.0 → 2.2.1) and the **Hyperframes integration guide** (reported in #600 by @pjthegiant): the old example called a `render({ frames })` API that the `hyperframes` package doesn't export. Both now lead with the CLI (`npx hyperframes init`, `preview`, `render -o output.mp4`) and explain the composition format: a root with `data-composition-id`, `class="clip"` elements with timing attributes, and a paused GSAP timeline. Rendering from code goes through `@hyperframes/producer` (`createRenderJob` + `executeRenderJob`). Checked against v0.8.114.
diff --git a/skills/churn-prevention/SKILL.md b/skills/churn-prevention/SKILL.md
index 2c8d665..20d33b7 100644
--- a/skills/churn-prevention/SKILL.md
+++ b/skills/churn-prevention/SKILL.md
@@ -2,7 +2,7 @@
name: churn-prevention
description: "When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies. Also use when the user mentions 'churn,' 'cancel flow,' 'offboarding,' 'save offer,' 'dunning,' 'failed payment recovery,' 'win-back,' 'retention,' 'exit survey,' 'pause subscription,' 'involuntary churn,' 'people keep canceling,' 'churn rate is too high,' 'how do I keep users,' or 'customers are leaving.' Use this whenever someone is losing subscribers or wants to build systems to prevent it. For post-cancel win-back email sequences, see emails. For in-app upgrade paywalls, see paywalls."
metadata:
- version: 2.0.1
+ version: 2.0.2
---
# Churn Prevention
diff --git a/skills/churn-prevention/evals/evals.json b/skills/churn-prevention/evals/evals.json
index 5d0e44c..f2e3110 100644
--- a/skills/churn-prevention/evals/evals.json
+++ b/skills/churn-prevention/evals/evals.json
@@ -88,6 +88,20 @@
"Does not attempt to write a full email sequence"
],
"files": []
+ },
+ {
+ "id": 7,
+ "prompt": "Our Paddle Billing dunning handler listens for subscription.payment_failed and subscription.cancelled but never runs. A failed transaction has no subscription_id, and another active subscription has a scheduled cancellation next month. Which events should we configure, and should both customers lose access now?",
+ "expected_output": "Should use the linked dunning playbook and diagnose the invalid Paddle Billing event names. Should recommend transaction.payment_failed for payment attempts, subscription.past_due for overdue subscription state, and subscription.canceled for effective cancellation. Should distinguish one-off transaction failures using subscription_id and explain that a scheduled cancellation emits subscription.updated before subscription.canceled at its effective date. Should not treat either case as immediate subscription cancellation or confuse Paddle Classic alerts with Billing events.",
+ "assertions": [
+ "Corrects the payment event to transaction.payment_failed",
+ "Uses subscription.canceled with the Billing spelling",
+ "Uses subscription.past_due for overdue subscription state",
+ "Does not classify a failed transaction without subscription_id as subscription churn",
+ "Keeps scheduled cancellation distinct from effective cancellation",
+ "References current Paddle Billing documentation and separates Classic alert names"
+ ],
+ "files": []
}
]
}
diff --git a/skills/churn-prevention/references/dunning-playbook.md b/skills/churn-prevention/references/dunning-playbook.md
index 294e3b3..2ee6df7 100644
--- a/skills/churn-prevention/references/dunning-playbook.md
+++ b/skills/churn-prevention/references/dunning-playbook.md
@@ -316,7 +316,12 @@ Final: Mark subscription as unpaid after last retry
**Managed dunning:**
- Paddle handles retries and dunning automatically
- Limited customization (Paddle manages the relationship)
-- Webhook: `subscription.payment_failed`, `subscription.cancelled`
+- **Paddle Billing webhooks** (dot-separated `event_type` names):
+ - `transaction.payment_failed` reports a failed payment attempt. Use its `subscription_id` to associate a subscription renewal; a failed one-off transaction is not subscription churn.
+ - `subscription.past_due` reports that the subscription is past due.
+ - `subscription.canceled` reports an effective cancellation. A cancellation scheduled for the next billing period emits `subscription.updated` first; retain access according to the current subscription state until that change takes effect.
+- Configure notification subscriptions for these exact names. `subscription.payment_failed` and `subscription.cancelled` are not Paddle Billing event types; do not mix Billing webhooks with the separate Paddle Classic alert names.
+- Verify the [payment-failure](https://developer.paddle.com/webhooks/transactions/transaction-payment-failed/) and [cancellation](https://developer.paddle.com/webhooks/subscriptions/subscription-canceled/) contracts before wiring account state changes.
- Best for hands-off approach
### Recurly