Retention streak mechanic design

From samarv/Shanon · View interactive version

Retention streak mechanic design is an AI agent skill from the GitHub repository samarv/Shanon. A framework for building and optimizing a "streak" feature to drive long-term user retention. Use this when designing habit-forming products, increasing Daily Active Users (DAU), or leveraging loss aversion to prevent churn.

How to use this skill

Skill file

Overview

A streak tracks how many consecutive periods (usually days) a user performs a core action. When designed correctly, streaks leverage human psychology—specifically loss aversion—to turn a casual user into a power user. This skill focuses on the "bend, don't break" philosophy used to scale Duolingo to 9 million+ users with year-long streaks.

Core Principles

Implementation Workflow

1. Define the Action and the Cycle

Identify the specific behavior you want to habituate.

2. Optimize the First 7 Days

Focus experimentation on the "New User" experience to trigger loss aversion.

3. Build the "Bend, Don't Break" System

Provide ways to preserve the streak during life's inevitable interruptions.

4. Protect the "Sanctity" of the Streak

Prevent the mechanic from feeling "cheap" or unearned.

Examples

Example 1: Fitness App Streak

1. Display a "Streak Goal" screen: "Users with a 14-day streak are 5x more likely to hit their weight goal. Can you commit?"

2. Provide 3 options: 7 days, 14 days, 30 days.

3. If they miss Day 4, offer an "Earn Back": "Do a 5-minute stretch now to keep your 3-day streak alive."

Example 2: SaaS Writing Tool

1. Show a "Writing Streak" flame in the UI.

2. Change the "Save" button to "Commit to Daily Goal" after the first 100 words.

3. At 10:00 PM, send a push: "Don't let your 5-day writing streak go cold! Write just 10 words to save it."

Common Pitfalls

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.