π Step 9: AI/LLM#263 / 291
Cursor
Cursor
πOne-line summary
A VS Code-based editor with AI chat and inline editing built in.
π‘Easy explanation
A VS Code-based editor with AI chat and inline edits built in. Say "refactor this function" and it edits the code directly.
β¨Example
function
fetchUser(id) {
// βK
}
AI Chat
Add error handling to this function
β‘Vibe coding prompt examples
>_
Write a .cursorrules file enforcing our team conventions: TypeScript strict, function components, Tailwind only.
>_
Create a guide for when to use which Cursor mode (Ask / Edit / Agent) and the relevant shortcuts.
>_
Cursor's 'Apply' sometimes drops code in the wrong place. Tell me what extra metadata to put in the prompt to improve placement accuracy.
Try these prompts in your AI coding assistant!