🧩 Prompt Design Frameworks

Systematic thinking for LLMs

✨ Magical Prompt Formula

Structure your prompt like this:

Role: You are a productivity mentor.
Objective: Help me reduce distractions during deep work.
Instructions: Give me 3 tips in list format.
Data: I get distracted every time I open YouTube or Instagram.
    

🧠 R.A.C.E. Prompting

Role: VLSI coach
Action: Create 3 mock questions
Context: Interview prep for Synopsys
Example: Show sample answers
    

🥪 Sandwich Prompt Method

This method wraps your prompt in a structure that stabilizes output:

As a VLSI expert, analyze the timing ECO I applied. 
Here’s the ECO flow: [describe flow]
Do you suggest any additional steps or improvements?
    

🔁 Chain-of-Thought + Self-Check

This structure boosts reasoning and output reliability:

Let’s solve this: Why does IR drop affect timing in physical design?
Step-by-step: 1) Define IR drop, 2) Explain impact on voltage, 
3) Link to delay, 4) Conclude with timing impact.
Then, check if anything was missed.
    

🔒 More Prompt Design Rules