Module 2 of 6

AI Mastery

Stop memorizing commands. Let Warp AI do the thinking.

1

The # Command

Ask questions in plain English

Warp
# find all files larger than 100MB
→ find . -size +100M
🔍

# find all TODO comments in my code

🌐

# what process is using port 3000

📦

# how do I install typescript globally

🗑️

# delete all node_modules folders recursively

2

Agent Mode

Let AI handle multi-step tasks

Open Agent Mode Ctrl + Shift + A

Agent Mode is more powerful than # commands. It can:

🔗

Run multiple commands

Chains together several commands to complete complex tasks

🐛

Debug errors

Analyzes error output and suggests fixes

📂

Understand context

Reads your project files to give better suggestions

Agent Mode
Set up a new React project with TypeScript and Tailwind
Agent is working...
→ npx create-react-app my-app --template typescript
→ cd my-app
→ npm install -D tailwindcss postcss autoprefixer
→ npx tailwindcss init -p
3

Debug with AI

Fix errors instantly

When you get an error, you can ask Warp AI to help:

Warp
npm run build
Error: Cannot find module 'react'
# fix this error
→ npm install react react-dom
💡

Quick Error Fix

After any error, just type # fix this or # explain this error and Warp AI will help.

4

Common AI Prompts

Copy these and use them daily

# list running processes
# kill process on port 3000
# show disk usage
# compress this folder
# find and replace in files
# show my IP address
# create a .gitignore
# explain this command
5

AI Best Practices

Get better results from Warp AI

Be specific

"# find js files modified today" is better than "# find files"

Include context

"# in this React project, add a new component" gives better results

Ask follow-ups

After AI suggests a command, ask "# explain what this does"

⚠️

Review before running

Always read AI suggestions before executing, especially destructive commands

Ready for more?

Next: Workflows