Moritz Kremb Profile picture
Oct 10, 2023 9 tweets 4 min read Read on X
I spent 500+ hours in the last 6 months mastering ChatGPT.

The most effective way to improve your output is by using prompt frameworks.

Here are my top 5 prompt frameworks to help you level up your prompts: Image
1/ RTF framework (@cj_zZZz)

R - Role
T - Task
F - Format

This simple framework is good for prompting in general.

You can use it in any scenario to get improved outputs.

Prompt:
"Act like a [role]. Can you [insert task] in [format] format?"
2/ Chain of thought

This method improves a LLM's reasoning by going step-by-step.

Good for complex tasks like:
- analytical
- decision making
- problem solving

Simply add "Let's think step-by-step" at the end of your prompt.
3/ RISEN (@iamkylebalmer)

R - Role
I - Instructions
S - Steps
E - End Goal
N - Narrowing (Constraints)

Good for:
- writing tasks with specific constraints (e.g. blog post)
- task with clear guidelines (e.g. business plan)
4/ RODES (@sebo_gm)

R - Role
O - Objective
D - Details
E - Examples
S - Sense Check

Good for:
- When you have examples similar to your desired output
5/ Chain of density (@JeremyNguyenPhD)

A prompt that uses recursion to create increasingly better outputs.

Good for:
- Summaries
- Improving your favorite prompts
- Generating useable long-form content via recursion
P.S. I've built a one-person business to $40,390 revenue in 100 days by leveraging AI.

Now I've created a course that will teach how to do the same.

Join the waitlist here so you don't miss it: moritzkremb.lpages.co/ai-creator-lau…
Image
If you enjoyed this, you'll love my weekly newsletter.

I'll help you grow your one-person business by leveraging the latest AI tools.

Join 13,000+ subscribers here:
thepromptwarrior.com/subscribe
Thanks for reading!

I hope you've found this thread helpful.

If you did, I'd really appreciate if you would:

1. Follow me @moritzkremb for more.
2. Like/Retweet the tweet below to share it with others:

• • •

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

Keep Current with Moritz Kremb

Moritz Kremb 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 @moritzkremb

Jan 29
Last week we released a new feature in CopyCoder that lets you:

→ Turn a single screenshot into a web app using Cursor agent
→ Integrate a Supabase backend
→ Add a working user authentication

...using the prompts generated by CopyCoder.

Here's a full tutorial 🧵
1/

After uploading a screenshot, starts generating your prompts

You can use these prompts in the normal Cursor Composer mode to create the full frontend of your app

But now we have a new feature that is optimized for Cursor agent copycoder.ai
2/

Click on the button to "download prompt files"

You can then select between having an app with or without user authentication (using Supabase)

Using the client command you can download 4 files directly into your Cursor project
Read 7 tweets
Jan 20
Cursor beginners usually struggle with when to use which AI mode in Cursor:
· AI Chat
· Composer
· Agent

Here's a full guide 🧵 Image
First some background:

- There are 3 different AI modes in Cursor relevant for beginners: Chat, Composer, Agent (I won't talk about other Cursor AI features like Tab and CMD+K, since those are more for pros).

- AI Chat was released first, then Composer, then Agent

- Toggle the AI pane on the right to open Chat. Use CMD+I to open Composer. Toggle for Agent.Image
1) AI Chat

I think of the AI Chat as an assistant. It's more hands-off and does not directly modify your code.

It's good for:
- EXPLANATIONS: Explain which parts of your code does what, or what steps to take to implement a new feature
- Code ITERATIONS: Whenever you're editing code and want to be very precise in what you're editing (which is most of the times tbh)Image
Read 7 tweets
Jan 18
I've done 100s of tests with Cursor's agent feature at this point.

If you want the agent to complete an extensive workflow with a single command, the best way to do that is... Image
First, split up your workflow into several chunks.

For example for copycoder.ai our workflow is to build out the full frontend of an app and integrate it with a supabase backend (that includes user auth).

So we've split it into 3 files:
1 - Setup dependencies & build initial dashboard
2 - Build all other pages in app
3 - Setup supabase & auth
For each file create one .md file and add all of your:
- instructions
- context
- rules & constraints
- other details

...in there.

Make sure the files don't get too large, this will degrade performance. You'll have to find the right balance.
Read 5 tweets
Nov 29, 2024
How to use CopyCoder and Cursor to clone an app in <10mins

Full Tutorial 🧵
1. Screenshot an app or a design

Pick any web app and screenshot it

Or go to dribble and find a design you like

Paste your screenshot into copycoder.ai
2. Generate initial prompt in CopyCoder

Select "Web applications" (the only option for now) and click Generate

CopyCoder will generate an initial prompt for you to recreate the initial page of your app
Read 7 tweets
Nov 22, 2024
CopyCoder is finally live!!

Build a FULL frontend with just one screenshot

1. Screenshot any app
2. Generate prompts
3. Paste into AI builder
4. Full FE clone app is created

Comment "copycoder" and I'll DM u access
My DMs are hitting their limits.

Here's the link for everyone to try out:


We'll also be posting future updates here @CopyCoderAIcopycoder.ai
Not only does it create a clone of the initial page...

It does a full route analysis and creates all the pages in your app as well 🤯

(with little to no build errors)
Read 4 tweets
Aug 19, 2024
Prompt Chaining gives you higher quality responses — according to research papers.

I found a powerful tool to turn your prompts into prompt chains.

Here's how: Image
STEP 1:

Turn your prompt into several smaller prompts.

You can use ChatGPT and a simple prompt like this:

"Turn the steps in this prompt into their own standalone prompts. Make it easy to copy these prompts.

<prompt>
[paste your prompt]
</prompt>"
STEP 2:

Now I'll use to build the prompt chain.

Start with the INPUTS.

In this example I'll build a "Alex Hormozi Offer generator".

So my inputs are:
· Target customer
· Dream outcome hunch.tools
Read 7 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!

:(