Tool Tips

Tool-Specific Tips

Get the most out of each AI coding tool.

Cursor

The IDE built for AI-first development.

Key Shortcuts

ActionShortcut
Inline editCmd+K
Open ComposerCmd+Shift+I
Reference file@filename
Accept suggestionTab
Reject suggestionEsc

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 root

Tool Selection Guide

TaskBest Tool
Writing code in IDECursor
Complex architectureClaude
Quick completionsCopilot
Data/PythonChatGPT
Multi-file featuresCursor Composer
Code reviewClaude
LearningClaude or ChatGPT