AddThisFeature

Usage Limits

Cap what free accounts can do — visibly and fairly.

moderate Monetization

What it adds

Per-plan usage limits, enforced server-side, with the user always able to see where they stand.

What your agent is told to do

4
  1. 1

    Define limits per plan in one place. Do not scatter magic numbers through the codebase.

  2. 2

    Enforce on the server at the point of creation. A client-side check is decoration.

  3. 3

    Show current usage BEFORE the user hits the wall — surprise limits feel like a bug.

  4. 4

    When a limit is hit, explain it and link to the upgrade.

Edge cases it handles

4
  • Counting must be race-safe — two simultaneous requests must not both slip past the last slot.
  • Deleting a record must free up its slot, if that's the intended behaviour. Decide, then be consistent.
  • A downgrade that puts a user over the limit must be handled explicitly: keep the data readable, block new writes.
  • Limits must reset predictably (per month? rolling window?) and be documented.

Definition of done

7
  • Limits are defined in one place and enforced server-side.
  • Concurrent requests cannot exceed the limit.
  • Usage is visible before the limit is reached.
  • Hitting the limit explains it and offers an upgrade.
  • Over-limit users after a downgrade keep read access but cannot create.
  • 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.