Louis Gleeson Profile picture
Aug 14 17 tweets 5 min read Read on X
The most in-demand skill right now isn’t coding.

It’s prompting.

One line of text can now get you:

• code
• designs
• strategies
• full apps

Here’s how to write prompts that actually work:
You’re going to learn:

• What great prompts look like
• How to structure them for better output
• 10+ expert techniques that boost accuracy, logic & creativity

Whether you're a beginner or pro this will level you up.
1. Beginner: Zero-Shot Prompting

Give the model a clear, specific instruction.

✅ "Summarize this article in 3 bullet points."
❌ "What do you think about this?"

Clarity > Creativity at this stage. Image
2. Beginner: Few-Shot Prompting

Show it examples. Like teaching by demonstration.

Prompt:
Q: What’s 5+5?
A: 10
Q: What’s 9+3?
A: 12
Q: What’s 7+2?
A: ?

This works because LLMs are pattern matchers. Image
3. Intermediate: Chain-of-Thought (CoT)

Make the model "think step-by-step."

This boosts reasoning dramatically.

Instead of:

"What's 13 * 17?"

Try:

"Let’s solve this step by step."

It will explain its thinking before answering. Image
4. Intermediate: Auto-CoT

Don't want to write examples yourself?

Auto-CoT does it for you.

Prompt the model to generate its own demos:

"Here are a few examples. Let’s think step by step."

Now you’ve got scalable reasoning with less effort. Image
5. Intermediate: Self-Consistency

Ask the model the same question multiple times.

Then pick the most common answer.

Why?

Because LLMs can vary and the most repeated answer is often the most reliable.

Ensemble thinking, but faster. Image
6. Advanced: Tree-of-Thoughts (ToT)

Don’t stop at one reasoning path.

Explore many, like a decision tree.

The model proposes, tests, and chooses from its ideas.

It’s how GPT-4 solves riddles, puzzles, strategy games. Image
7.Advanced: Graph-of-Thoughts (GoT)

Human thought isn’t linear.

So why force your prompts to be?

GoT lets LLMs combine, backtrack, and remix ideas.
Think of it like brainstorming with memory.

Great for creativity, planning, design. Image
8. Advanced: Self-Refine

Prompt → Output → Self-Critique → Improved Output

Let the model fix itself.

Prompt:

"Write a tweet. Now critique it. Now rewrite it based on your feedback."

This loop improves clarity, tone, and logic. Image
9. Expert: Chain-of-Code (CoC)

Want precision? Ask the model to reason in pseudocode or actual code.

Why?

Code forces structure and logic.
It reduces fluff, boosts accuracy.

Example:

"Write code to solve this step by step..." Image
10. Expert: Logic-of-Thought (LoT)

Inject formal logic.

Prompt the model to identify, verify, and reason using rules like:

If A implies B, and A is true, then B must be true.

Perfect for law, ethics, science, structured thinking. Image
Bonus: Reduce Hallucination

Hallucinations happen when models make stuff up.

Fix it with:

Retrieval Augmented Generation (RAG)

- ReAct (reason + act)
- Chain-of-Verification

Don’t just ask questions.

Ask it to check its own answers.
Bonus: Emotional Intelligence

Add tone.
Frame prompts to reflect intent.

"Give a calm explanation…"
"Explain like you're talking to a 10-year-old."
"Use a confident tone."

Prompt tone = output tone.
Prompt Writing is UX

You’re not talking to a robot.
You’re designing how the AI thinks.

Prompting is a language.

Master it, and you control the conversation.
The AI prompt library your competitors don't want you to find

→ Unlimited prompts: $15/month
→ Starter pack: $3.99/month
→ Pro bundle: $9.99/month

Grab it before it's gone ↓
godofprompt.ai/pricing
That's a wrap:

I hope you've found this thread helpful.

Follow me @godofprompt for more.

Like/Repost the quote below if you can:

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Louis Gleeson

Louis Gleeson Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @aigleeson

Aug 13
After 2 years of using ChatGPT, I can say that it is the technology that has revolutionized my life the most, along with the Internet.

So here are 10 prompts that have transformed my day-to-day life and that could do the same for you:
1. Learn anything from a 20-year expert even if you're clueless

"Pretend you are an expert with 20 years of experience in {industry/topic}. Break down the core principles a total beginner must understand. Use analogies, step-by-step logic, and simplify everything like I’m 5."
2. Brutally honest thought partner to sharpen your thinking

"Act as my personal thought partner. I’ll describe {my idea/problem}, and I want you to question every assumption, point out blind spots, and help me evolve it into something 10x better."
Read 12 tweets
Aug 11
10 ChatGPT-5 prompts so powerful and useful, they feel illegal to use:

(Bookmark this for later 🔖)
1. Learn anything from a 20-year expert even if you're clueless

"Pretend you are an expert with 20 years of experience in {industry/topic}. Break down the core principles a total beginner must understand. Use analogies, step-by-step logic, and simplify everything like I’m 5."
2. Brutally honest thought partner to sharpen your thinking

"Act as my personal thought partner. I’ll describe {my idea/problem}, and I want you to question every assumption, point out blind spots, and help me evolve it into something 10x better."
Read 12 tweets
Aug 2
This is wild.

You can ask ChatGPT-4o to explain Warren Buffett’s portfolio, analyze market trends, and even spot risky stocks.

Here are 10 essential prompts for every trader:
1/ Market Analysis:

"Analyze the current trends in the stock market, focusing on [input sector or stock]. Identify any emerging patterns and suggest potential investment opportunities. Consider recent earnings reports and industry news in your analysis."
2/ Portfolio Diversification:

"Given a portfolio with a mix of [input current sectors or stocks], suggest strategies to diversify further while minimizing risk. Include potential sectors to explore and specific stocks to consider."
Read 12 tweets
Aug 2
Claude’s XML prompting system is one of the most underrated cheat codes in AI.

• tighter control
• clearer formatting
• zero hallucination

Here’s how to use it ↓
Why XML?

Claude was trained on structured, XML-heavy data like documentation, code, and datasets.

So when you use XML tags in your prompts, you’re literally speaking its native language.

The result? Sharper, cleaner, and more controllable outputs.

(Anthropic says that XML tag prompts gets best results)Image
Why it works:

✅ Clarifies intent
✅ Mimics Claude's training structure
✅ Boosts reasoning + structure
✅ Reduces hallucination

Now let’s dive into 5 🔥 real-world use cases:
Read 10 tweets
Jul 31
I finally understand how large language models actually work

After reading the 2025 textbook “Foundations of LLMs”

It blew my mind and cleared up years of confusion

Here’s everything i learned (in plain english): Image
To understand LLMs, start with pre-training.

We don’t teach them specific tasks.

We flood them with raw text and let them discover patterns on their own.

This technique is called self-supervised learning and it’s the foundation of everything.
There are 3 ways to pre-train:

→ Unsupervised: No labels at all
→ Supervised: Classic labeled data
→ Self-supervised: Model creates its own labels (e.g., “guess the missing word”)

LLMs use #3 it scales like crazy and teaches them language from scratch.
Read 19 tweets
Jul 30
Holy sh*t… Grok 4 just helped me:

• Name a business
• Validate the niche
• Analyze competitors
• Build a GTM plan
• Write the pitch & ad copy
• Map out socials + revenue

All in 5 mins.

10 prompts that turn Grok into your AI cofounder: 👇
1/ Unique Business Name Generator

Prompt:

"Generate 10 unique and creative business name ideas for a [industry/niche] business. Ensure they are not currently in use or trademarked." Image
2/ Niche Discovery Assistant

Prompt:

"Suggest 5 profitable niches in [industry] with low competition and high demand. Provide data or examples to support your suggestions." Image
Read 12 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(