Skip to content

Instantly share code, notes, and snippets.

@trikitrok
Created July 13, 2025 13:38
Show Gist options
  • Save trikitrok/253d12a3a553b46fcc34fafaefb9f31c to your computer and use it in GitHub Desktop.
Save trikitrok/253d12a3a553b46fcc34fafaefb9f31c to your computer and use it in GitHub Desktop.

Absolutely! Welcome to the Fix the Prompt quest. 🛠🧙


⚔️ Fix the Prompt: Game Rules

🎯 Objective:

You're given a vague, weak, or flawed prompt. Your mission is to identify what's wrong and rewrite it using one or more patterns from the catalog to make it clearer, more effective, or more powerful.


🧩 How to Play:

  1. 🕵️ Analyze the Broken Prompt – What is it trying to do? – What’s missing, unclear, or ineffective?

  2. 🧠 Choose one or more prompt patterns to fix it – Persona? Output Automater? Question Refinement?

  3. ✍️ Rewrite the prompt using better structure, context, or instructions.


Win Conditions:

  • Your revised prompt is clear, structured, and uses one or more appropriate prompt patterns.
  • Bonus points if you name the patterns you applied.

Ready? Here's your first prompt to fix:


Broken Prompt:

“Tell me how to secure my code.”


💭 What’s wrong with it? How would you fix it?

Take your time, rewrite it, and name the pattern(s) you used!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment