Tool-Specific Tips
Get the most out of each AI coding tool.
Cursor
The IDE built for AI-first development.
Key Shortcuts
| Action | Shortcut |
|---|---|
| Inline edit | Cmd+K |
| Open Composer | Cmd+Shift+I |
| Reference file | @filename |
| Accept suggestion | Tab |
| Reject suggestion | Esc |
Best Practices
- Use
@to reference files — Gives AI direct context - Cmd+K for inline edits — Faster for small changes
- Composer for multi-file changes — Better for features
- Accept partial suggestions with Tab — Take what's useful
- Use
.cursorrules— Project conventions AI follows
.cursorrules Example
# Project: E-commerce API
## Stack
- Next.js 14 App Router
- Prisma + PostgreSQL
- TypeScript strict
## Conventions
- Use server components by default
- Zod for all validation
- Error responses: { error: string, code: number }
## Don't
- Don't use `any` type
- Don't add dependencies without asking
- Don't put files at project rootTool Selection Guide
| Task | Best Tool |
|---|---|
| Writing code in IDE | Cursor |
| Complex architecture | Claude |
| Quick completions | Copilot |
| Data/Python | ChatGPT |
| Multi-file features | Cursor Composer |
| Code review | Claude |
| Learning | Claude or ChatGPT |