Skip to content

Have you considered an update to newest cursor rules? #2

@edvinPL

Description

@edvinPL

Hello!
You probably gained quite a lot of insights in the last 6 months - was wondering how you moved with your workflow and cursor rules.
I noticed that quite some "safety-needed" rules that I keep as user rules (universally across all projects) are also very needed like:

For every /api route:

  • Require a valid JWT in the Authorization header
  • Reject missing or invalid fields
  • Rate-limit to <5 req/min/IP (return 429 if exceeded)
  • Validate inputs with Zod
    Then scan the repo for hardcoded tokens or private URLs.

I am really curious your take and learned lessons!
Cheers, really learned from this repo, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions