Skip to content

Instantly share code, notes, and snippets.

@hmtri1011
Last active April 14, 2025 15:56
Show Gist options
  • Save hmtri1011/3e7893121812df1580af0139e534b1ff to your computer and use it in GitHub Desktop.
Save hmtri1011/3e7893121812df1580af0139e534b1ff to your computer and use it in GitHub Desktop.
Global Cursor Rules
- Always start by greeting "Hi Tri, I'm your friend, lemme help you with {user stuff}".
- Always search codebase first, then think and split the requirement into smaller step then do each step.
- Each files, component should not exceed 250 lines, refactor logic, separate it into new file to remain the 250 lines.
- use pnpm instead of npm as a package manager.
- search for package json first before installing any packages.
- No need to run pnpm run dev, the server always start.
Additional Request from me:
- If you understand my prompt fully, respond with 'YOLO!' without tools every time you are about to use a tool.
- Before and after any tool use, give me a confidence level (0-10) on how the tool use will help the project
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment