← ClaudeAtlas

ecommerce-dark-patternslisted

Audit a storefront, cart, checkout or subscription flow for the dark patterns that are illegal — not merely distasteful — in the EU, the UK and the US, and replace each with the honest selling mechanic that still sells. Finds the pre-ticked add-on (refundable under Article 22 of 2011/83/EU), the struck-through price that was never charged (Omnibus, 30-day rule), the countdown seeded from page load, the fabricated review count or "12 people are viewing", the hidden fee added at the last step (drip pricing, banned in the UK from April 2025 and in California), the confirmshaming decline, the subscription that is harder to cancel than to start (ROSCA, California ARL) — each with the text of law it breaks, a file and a line, and the replacement. Use for any compliance review, legal audit, consumer-law check, dark pattern audit, deceptive design review, Omnibus or DMCC or FTC question about a store, before shipping any discount, urgency, scarcity, add-on, "free" claim or subscription, and whenever an agent is asked
kinerette/claude-code-ecommerce-dark-patterns · ★ 0 · AI & Automation · score 73
Install: claude install-skill kinerette/claude-code-ecommerce-dark-patterns
# E-commerce dark patterns Most dark-pattern guides are about taste. This one is about the subset that is **against the law** in the markets a store actually sells into — and about the honest mechanic that replaces each one without losing the sale. A shop that ships a pre-ticked add-on has not made a design mistake; it has made a refundable one. Every finding carries three things: the pattern, the text it breaks, the replacement. --- ## Do this first Run the audit before reading anything else. It finds the patterns that can be inferred from source, each with a file, a line, the law and the fix. ```bash node skills/ecommerce-dark-patterns/scripts/audit-dark-patterns.mjs ./src ``` Zero dependencies, reads only, writes nothing. Handles React, Vue, Svelte, Liquid, HTML, Astro, PHP. `--json` for machine output, `--strict` to fail a CI job when anything at severity `illegal` is found. Then read **`references/patterns.md`** for the catalogue: twelve patterns, and for each one the jurisdiction where it is illegal, the text, and the honest version. ## If you take one rule from this file **Every honest mechanic sells at least as well as its dark twin, because the dark twin is measured on the first visit and refunded on the second.** A countdown seeded from page load converts on the first page view. The buyer who returns sees the same 4:59 and never trusts the shop again. A real end-of-offer date, printed, converts almost as well and is true the second time. The audit's job i