AI-Ready CMO
0 of 5 lessons visited0%
BUILD3 of 5
3 minutes

Part 3: Instruct with Intent

The Problem

The gap between “meh” AI output and “that's exactly what I needed” isn't the AI — it's the instruction.

Claude Code can do incredible things, but only if you learn to tell it what you actually want. This lesson teaches you the patterns that work.

The Instruction Spectrum

The quality of your instruction determines the quality of the result. Here's how to move from bad to great:

1

Vague

“Make the website better”

Claude Code guesses. Results are generic.

2

Directional

“Improve the homepage hero section”

Better. But “improve” means different things to different people.

3

Specific

“Change the homepage hero headline to 'Ship Faster with AI' and make the subtext explain our 3 core features”

Now Claude Code knows exactly what to do.

4

Contextual

“Change the homepage hero to match our new positioning. Check CLAUDE.md for brand guidelines. Keep the existing layout but update copy to focus on speed and reliability.”

Best. Uses project context, gives constraints, specifies what NOT to change.

Remember This

The best instructions tell Claude Code three things: what to do, what to keep, and where to look.

Essential Commands

These slash commands are your shortcuts. Memorize these four and you'll be ahead of most users:

/help

See all available commands

Your safety net. When you're not sure what to do, start here. Shows every command Claude Code supports.

/compact

Summarize the conversation to free up context

Use when Claude Code starts forgetting things you told it earlier. It compresses the conversation so the AI can keep working with full context.

/clear

Start fresh

When you want a clean slate. Use this when switching to a completely different task and the previous conversation is no longer relevant.

/model

Switch between different AI models

Opus for complex, nuanced work. Sonnet for speed when you need quick changes. Think of it like choosing between a specialist and a generalist.

The @ Symbol — Your Secret Weapon

The @ symbol lets you point Claude Code at a specific file. This is how you make sure it's looking at the right thing:

@src/app/page.tsx

“Look at this specific file”

@package.json

“Check our dependencies”

Use this when Claude Code is looking at the wrong file or needs to focus on something specific.

With @ reference (specific)

“Look at @src/components/Header.tsx and add a navigation link for the new pricing page. Match the existing link styles.”

Without @ reference (vague)

“Add a nav link for pricing”

Claude Code might look at the wrong file or create a new component instead of editing the existing one.

Prompting Patterns That Work

Five proven patterns you can use immediately. Each one fits a different situation:

1

The Scout

Understand what's there

“Read the entire src/ directory and give me a summary of the project architecture”

Use when: You just joined a project or need to understand what's there before making changes.

2

The Surgeon

Make a precise, surgical change

“In @src/app/pricing/page.tsx, change the monthly price from $49 to $59. Don't change anything else.”

Use when: You need one specific thing changed and nothing else touched.

3

The Builder

Create something new from scratch

“Create a new landing page at /demo that has a hero section, 3 feature cards, and a CTA button. Follow the same design patterns as the homepage.”

Use when: You need something new built and want it to match what's already there.

4

The Reviewer

Understand recent changes

“Look at the last 5 commits and tell me what changed and whether anything looks risky.”

Use when: You want to understand what your team has been doing without reading code yourself.

5

The Debugger

Fix what's broken

“The contact form on /contact isn't submitting. Look at the form component and the API route and figure out what's broken.”

Use when: Something is broken and you need it fixed without understanding the technical details yourself.

What You Just Learned

  • You know the difference between vague and effective instructions
  • You can use slash commands (/help, /compact, /clear, /model) confidently
  • You understand how @ references help Claude Code focus on the right files
  • You have 5 prompting patterns you can use immediately

Next: Now that you can instruct effectively, let's learn how to automate repetitive work.