branch
01Command Cursor
Create a new branch from main and switch to it for a new feature or bugfix. If the branch name is not provided, ask the user. Use feature/bug-based naming conventions.
Command Cursor
Create a new branch from main and switch to it for a new feature or bugfix. If the branch name is not provided, ask the user. Use feature/bug-based naming conventions.
Command Cursor
Summarize the changes made and commit using that summary as the message.
Command Cursor
Briefly summarize recent mistakes and fixes in commonerrors.md, grouped by error category.
Command Cursor
Follow a safe merge workflow. Merge the current branch into main and complete the commit. If conflicts appear, ask the user whether to fix them. If yes, resolve based on conflict type and suggest solutions.
Command Cursor
Use only when cloning this template to start a new project. If the project already has files or folders beyond .cursor/commands, .cursor/rules, .gitignore and README.md, warn the user not to run this command. Process: Remove old project git info. Initialize git for the new project. Add current files and folders to the…
Command Cursor
Automatically pull code from remote to local. If conflicts occur, suggest how to resolve them.
Command Cursor
Push code to remote. Requires the branch name; if missing, ask the user. If pushing to main, confirm the user wants to push to main and whether code has been merged beforehand.
Command Cursor
Use @Browser to test the newly built or fixed feature on behalf of the user by filling fields and clicking buttons according to the described flow.
Command Cursor
Wrap up the work session.
Cursor rule Cursor
.cursor/: stores automation rules and commands.
Cursor rule Cursor
Backend rules, apply only when working on backend.
Cursor rule Cursor
Frontend rules, apply only when working on frontend.
Cursor rule Cursor
Cursor rule "03-clean-code" from tungdtfgw/try-on-starter, covering clean code rules (common), 1. solid principles, 2. code organization, 3. dry & reusability and 4. naming conventions.
Cursor rule Cursor
Cursor rule "04-design" from tungdtfgw/try-on-starter, covering database design rules, 1. naming conventions, 2. schema design principles, 3. data types & constraints and 4. relationships & foreign keys.