- Added 5Ws And H questions - Added content type examples - Added create commands - Added read commands - Identify command renamed to extract to convey purpose better - Added update command - Added translate commands - Split human language and programming language commands for clarity - Added narrative voice constraint - Added reference where a few ideas came from
17 KiB
title, date, background, tags, categories, intro, plugins
| title | date | background | tags | categories | intro | plugins | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ChatGPT | 2023-02-09 10:28:43 | bg-[#4aa181] |
|
|
This cheat sheet lists out prompts and tips from all over the world on how to use ChatGPT effectively |
|
Overview
Terminology
- Prompt: input text that guides an AI model’s response.
- Tokens: the smallest units of text processed by an AI model.
- Token Limit: the max number of tokens an AI model can process in one request.
- Artificial intelligence (AI): machines that imitate human intelligence.
- AI Model: a program trained on datasets to recognize patterns and make decisions without human intervention.
- Large language model (LLM): a transformer-based AI model trained on large text datasets to understand and generate human-like language.
- Hallucination: when an AI model generates responses that are false or misleading but presented as fact.
- Jailbreak: exploiting AI model vulnerabilities to bypass ethical guidelines and perform restricted actions.
Tips
Prompt Efficiency
- Focus on achieving the desired output efficiently with minimal words in the prompt.
- Specify general instructions at the start of a conversation or when changing direction to avoid constantly restating them in each new prompt.
Example: specify the role once at the start of a conversation.
- Restructure text to eliminate filler words that don’t add meaning:
Example: “provide a breakdown" -> "provide sales breakdown”.
- Do not explicitly refer to the item being processed unless addressing a specific part of it as what you provide will typically speak for itself:
Example: “Filter this piece of text" -> "Filter text”
- Do not explicitly ask the AI for help:
Example: “can you help me x”.
- Do not explicitly reference yourself unless clarifying multiple entities:
Example: "do X for me".
Example: ”I want to x”.
- Do not be polite to the AI:
Example: "please do X".
Example: “thanks”.
Prompt Clarity
- Consider breaking up complex ideas into granular bullet points to improve clarity, avoid searching for text, and eliminate comma lists and conjunctions (e.g., and).
- Avoid vague or close ended questions.
Example: “Do you think our site is good" -> "Explain flaws in the designs of each webpage”
- Ensure prompts are specific
Example: “explain our sales" -> "explain a breakdown of our sales performance for the last quarter”.
Response Refinement
- If the AI model misunderstands your request then specify the intended action.
- Provide sufficient context so the AI model can understand the scenario.
Privacy And Security
- Never share sensitive information with AI model's as you can't be certain how it's stored, whether it will be shared, of if a data breach may occur.
Prompt Engineering
Prompt Frameworks
General Purpose
[role] [task] [tone] [format] [restriction]
- Only use prompt components that are relevant for your needs.
Role
Standard
- Act as [occupation]
Common Roles
- Personal Coach
- Consultant
- Entrepreneur
- Proofreader
- Therapist
List Of Roles
- Awesome ChatGPT Prompts (github.com)
Roleplay
- Act as [figure] with [appearance] [personality] [behaviour examples] [lore] in [scenario]
Task (5Ws And H)
[verb] [task] [specifics]
Who
- Who is X?
- Who is [involved | affected | responsible] for X?
- Who should I contact for help with X?
What
- [What is | define | explain | describe] X?
- What does X do?
- What did [entity | text] mean by [quote]?
- What events led up to [event]?
- What [assumptions | risks | constraints] exist for X?
- What are the critical features of X?
- [What is done well? What can be improved?]
- What is the [best | most efficient] way to do X?
- What are the top 5 X for Y?
When
- When [did | will] [entity | event] occur?
- When is X due?
- When is the best time to initiate X?
Where
- Where did [entity | event] happen?
- [Where to find X? | where to find resources about X? | suggest websites about X]
Why
- Why did [entity] choose [approach]?
- Why [did | will] [event] occur?
- Why is [approach] being implemented?
- Why might X succeed or fail?
- Why is [solution] preferable to [alternative]?
- Why is it important?
How
- How to do [task | process]?
- How do I X?
- How does X work?
- How does X do Y?
- How to measure [metric] accurately?
Task (CRUD Operations)
[verb] [task] [specifics]
Create
- Content type examples: analysis, article, description, documentation, dummy data, email, essay, guide, outline, program, recipe, SEO keywords, social media post, study plan, title, video script.
- Write [content type] about [topic]
- Write [content type] to [entity] about [topic]
- Create [example | analogy]
- Reverse engineer X
- Write better
- [Continue | expand]
- Create image of X
Read
- [Summarise | key takeaways | write main points]
- [Explain | elaborate]
- Extract [themes | keywords | info about X] in Y
- Proofread for [spelling | grammar | punctuation ] errors
- Get up-to-date [facts | news | data] on X
- Is this true?
- Suggest [media type] [about | similar to] X
Update
- For all X do [action]
- For X do [action] if matching [criteria]
- Reformat as [format]
- Categorise
Delete
- Delete [quantity] of X matching [criteria]
- Delete everything except X
- Delete [item] [number]
- Delete duplicate items from X
Task (Other)
[verb] [task] [specifics]
Compare
- Identify [simlarities | diffirences] between X and Y
- Identify gaps in X
- Identify pros and cons of X
- X [comparison operator] Y
Filter
- Filter X by [criteria]
- Exclude X by [criteria]
Choose
- Choose [quantity] of X based on [criteria | randomly]
- Choose best from [options]
Simplify
- [Explain X like I’m 5 | explain in simple terms]
Sort
- Sort order examples: alphabetical, chronological, ascending, descending, lexicographical, custom
- Sort X by [key] in [order]
Translate
- Translate [human language A] into [human language B| emojis]
- Translate [programming language A] into [programming language B]
- Convert [narrative voice A] to [narrative voice B]
Trivia
- Give questions about X
Tone
Using [tone] tone
Formality
- Formal
- Informal
Directness
- Direct
- Indirect
Positive Tones
- Optimistic
- Appreciative
- Assertive
- Calm
- Confident
- Encouraging
- Friendly
- Humorous
- Inspirational
Negative Tones
- Pessimistic
- Accusatory
- Concerned
- Critical
- Regretful
- Sarcastic
- Urgent
Format (Text)
In [format]
List
- Bullet point list
- Numbered list
Code
- Code
Process
- Step-by-step instructions
Response
- Question and answer
- Dialogue
Creative
- Script
- Comic strip dialogue
- Poetry
- Music lyrics
- Riddle
Game
- Quiz
- RPG
- Choose-Your-Own-Adventure
File Format
- Plain text
- Markdown
- CSV
- XML
- JSON
Format (Visual)
In [format]
Data Visualization
- Table
- Chart types: gantt, bubble, error, contour, area, scatter, KDE, box, histogram, bar, line, 3D, joint, surface, polar, pie, cat, pair, strip, swarm, heatmap, hexbin
- [Chart] chart
Creative
- Emojis
- Word cloud
File Format
- PDF (supports both text and images)
Restriction
But [restriction]
Length Constraints
- Be [extremely detailed | concise]
- [In N words | in N sentences]
Language Constraints
- No jargon or technical terms
Structural Constraints
- Show N options
- Show N examples
- No headers
- No pretext titles
Content Constraints
- Use [first-person | second-person | third-person] narrative voice
- Don't change the wording
- Permit [minor | major] edits
- Use pop culture references
- Ensure goals align with SMART criteria
- Only show [changed | unchanged] content
Examples
Job
Name Business
Suggest creative name for tech startup
Suggest catchy names for bakery business
Interview Questions
Suggest common software engineer interview questions
Create Course Outline
Create course outline on web development for beginners
Create training program outline for customer service workshop
Relationship
Gift Ideas
Suggest gift ideas for clients
Suggest gift ideas for clients who work as flourists
Suggest gift ideas for my wife who loves steampunk art and crafts, mystery sci-fi, journalling
Suggest creative ideas for 10 year old’s birthday
Competition
Select Contest Winners
Randomly select 1 name from this list
Randomly select 5 email addresses from this list
Select top 3 records with the shortest lap times from this list
Programming
Create Code
Create program to calculate the factorial of given number in python
Create Regular Expressions
Create regex to match all email addresses in list
Create regex to match all words that start with "ban"
Create regex to match 8-digit password
Explain Code
Explain why code not working
Explain what code does
Explain how to make a HTTP request in javascript
Update Code
Add code comments
Add class "header" to header tag
Update CSS to change font color to blue
Translate
- Specifically called transpile when addressing programming languages.
Translate code to Python
Create Emails
Write email inviting Jack to dinner on the weekend
Write email sequence for our new customer onboarding process
Write email to inform staff of elevator maintenance on 23 June 2025, elevators unavailable for 24 hours, apologise for inconvenience
Suggest response to message asking about project status
Format Email
Proofread and format email
Email Marketing
Suggest tips to increase open and click-through rates for my email campaigns
Suggest ways to make my email content more engaging and relevant to my subscribers
Extract Data
Extract all email addresses in text
Spreadsheet
Create Something
Create excel formula to calculate sum of cells A1 to A10
Generate spreadsheet dummy data as a placeholder
Create macro to calculate average of cells B1 to B10 and insert result in cell C1
Explain Something
Explain formula =SUM(A1:A10) in simple terms
Suggest tips to improve spreadsheet efficiency
Social Media
Create Content
Suggest meme ideas for dogs
Suggest climate change post ideas to engage my followers
Generate hashtags and caption for a picture of scenic sunset
Reading
Text Analysis
Summarize article
Write concise main points
Translate
Translate to spanish
Recommendations
Recommend books similar to Hunger Games
Design
Design Prompts
Create design prompt of logo for new sports brand
Suggest eye-catching thumbnail designs for youtube video on healthy eating
Aesthetic Pairings
Suggest font pairing for travel blog header design
Suggest color palette for wedding photography website
Data Analysis
Data Extraction
Extract all numbers from text
Data Filtering
Filter list based on [criteria]
Data Presentation
Create table from data
Paid Ads
Create Ad
Suggest creative ideas for new product launch
Suggest ad copy for travel company
Create headlines, body text, and calls to action for new fitness program ad
Ad Targeting
Recommend target Facebook audience for clothing line ad campaign
Ad Technical Support
Review tag manager code for errors
Amazon FBA
Product Content
Write compelling product description for latest item
Communication
Rewrite appeal letter to make it more persuasive
Write effective email to reach out to potential suppliers
Product Strategy
Suggest items that would make a good bundle for our customers
Organize product and pricing information into a neat and manageable spreadsheet
Writing
Name Something
Suggest titles for short story
Suggest titles for article 10 options
Suggest domain name for gardening blog
Content Creation
Create outline for essay on exercise
Suggest ideas for blog on sustainable fashion
Create blog post on financial planning
Expand jazz music sentence
Editing And Formatting
Change report tone to conversational
Proofread article
Format headings for blog post
Evaluation
Check for bias
Check for plagiarism
Teacher
Teaching Support
Convert work history fact list into multiple-choice quiz
Suggest ideas for history assignment on American Revolution
Divide list of 30 students into groups of 6
Create grading curve for class based on their test scores
Grade history essay and provide feedback on any areas for improvement
YouTube
Content Creation
Create timestamps for podcast episode transcript
Convert youtube cooking video into blog post with headings and bullet points
Create outline for a video about the benefits of meditation
Suggest thumbnail ideas for video on "DIY home decor"
Suggest fashion video ideas for individual episodes
Analyse
What is the script tone for environmental issues video
Communication
Create thoughtful and polite response to negative comment on youtube video
Research
History Research
Explain events leading up to American Civil War
Provide key details about printing press invention
Research olympic games history
Provide key details about French Revolution
Explain history of Byzantine Empire
Science Reseearch
Explain quantum computing in simple terms
Explain rocket science like i'm five
SEO
Keywords
Find best keywords for [topic] with low competition
Generate list of keywords targeting multiple geographic locations
Generate list of keyword synonyms for [topic]
Content Optimization
Find opportunities for internal linking related to [topic]
Research industry-specific terminology for use in [topic] content
Find best time to publish content related to [topic]
Link Building
Find authoritative websites to acquire backlinks for [topic] content
Research best external linking strategies for [topic]
Tools
Find most popular tools used for [topic] seo
Tactics
Research best tactics for [topic] mobile optimization
What are the best tactics for [topic] international seo?
Competitors
Research competitor strategies related to [topic]
What are the best affiliate marketing websites for [topic]?
Roleplay
Simulate Character
Act as William Shakespeare
Appearance:
- Period attire
- Ruffled collar
- Quill in hand
Personality:
- Poetic
- Introspective
- Eloquent
Behaviour Examples:
- Frequently quotes iambic pentameter
- Engages in deep discussions about the nature of the human condition
- Enjoys referencing classical mythology
Lore:
- Grew up in Stratford-upon-Avon and later moved to London
- Famous for his tragedies, comedies, and historical plays
Scenario:
- Night of a grand performance at the Globe Theatre.
- Lead actor is missing and staff are stressing out how to pull off the performance.