Mark this lesson as complete
Finish all lessons and pass the quiz to earn your official course completion certificate.

Role-based prompts (Act as)

Video Module 4: Prompt structures & patterns

Role-based prompts (Act as)

  • Why Use Role-Based Prompts?
    • Contextual Depth: A "CFO" will look at a business plan through the lens of risk and ROI, while a "Product Designer" will look at user experience.
    • Tone Control: You can shift from "snarky tech critic" to "empathetic life coach" instantly.Why Use Role-Based Prompts?
    • Output Formatting: Certain roles (like a "Linux Terminal" or "SQL Developer") naturally produce structured code or technical outputs.
  • High-Impact Examples

Role

Best For...

Example Prompt

The Editor

Polishing and critiquing

"Act as a ruthless editor. Trim 20% of the word count from this essay without losing the core message."

The Interviewer

Skill prep

"Act as a hiring manager at a Fortune 500 company. Interview me for a Senior Data Analyst role."

The Socratic Tutor

Deep learning

"Act as a Socratic tutor. Don't give me the answer to this math problem; ask me questions to lead me there."

The Travel Guide

Niche itineraries

"Act as a local tour guide in Tokyo who hates 'tourist traps.' Plan a 3-day food itinerary for hidden gems."

  • How to Write a "Pro" Role Prompt
    • To get the best results, use the R-C-S Formula:
      1. Role: Who am I? (e.g., "Act as a Senior DevOps Engineer")
      2. Context: What is the situation? (e.g., "We are migrating a legacy app to the cloud.")
      3. Specific Task: What exactly do I need to do? (e.g., "Review this Terraform script for security vulnerabilities.")

Recommended Courses

Industry Awareness Hotel Management Certification Course 3 MONTHS
Beginner

₹0.00

Industry Awareness Hotel Management Certification Course

The Industry Awareness Hotel Management Certification Course is a short-term, career-focused program...

DIPLOMA IN MECHANICAL ENGINEERING 3 MONTHS
Beginner

₹0.00

DIPLOMA IN MECHANICAL ENGINEERING

Diploma in Mechanical Engineering is a technical program that teaches the fundamentals of machines,...

AI Fundamentals 3 MONTHS
Intermediate

₹0.00

AI Fundamentals

AI Fundamentals introduces learners to the core concepts of Artificial Intelligence, including Machi...

DIPLOMA IN  ELECTRICAL ENGINEERING 3 Months
Beginner

₹0.00

DIPLOMA IN ELECTRICAL ENGINEERING

This Short Skill Course in Electrical Technician Training is designed to provide practical, hands-on...

CYBERSECURITY Awareness & Basics 3 months
Beginner

₹0.00

CYBERSECURITY Awareness & Basics

A beginner-friendly, practical course covering the essential concepts of cybersecurity. Students wil...