AddThisFeature

Invite a Friend

Make it trivial to bring someone else in.

simple Growth

What it adds

A simple invite flow: send a link by email or copy it.

What your agent is told to do

4
  1. 1

    Generate an invite link the user can copy, and optionally email directly.

  2. 2

    Track who invited whom, so you can see whether invites convert.

  3. 3

    Show the user their pending and accepted invites.

  4. 4

    Rate-limit invite sending. An open invite endpoint is a spam cannon.

Edge cases it handles

4
  • Inviting an email that already has an account must not create a duplicate — link them instead.
  • Invite links must expire.
  • An invite link must not be guessable — use a cryptographically random token.
  • Re-inviting the same person must not send five emails.

Definition of done

7
  • Invites can be copied as a link or emailed.
  • Invite tokens are random and expire.
  • Sending is rate-limited.
  • Existing users are linked, not duplicated.
  • The inviter can see invite status.
  • The feature matches the existing design system.
  • No existing functionality is broken.

Related features

How it works

  1. 1

    Copy the link

    Grab the Markdown instruction URL for this feature.

  2. 2

    Give it to your AI

    Paste it into Claude Code, Cursor, v0, Lovable — whatever you build with.

  3. 3

    It inspects, then implements

    Your agent reads your existing app first, then adds the feature to fit it.

Works with your stack

These instructions are written to adapt. They tell the agent to detect your framework, match your existing design system, and reuse what you already have — rather than assuming a particular stack.

Need it tighter than that? Customize the feature and tell it exactly what you're running.