Common prompt engineering resources;

For direct prompt template references, check the sub-directories

Common Operations

For a list of prompt repositories, see: fabric

TODO: Add More

  • Summarize a meeting
  • Refactor code

Snippets

Cursor – Handling Large Projects

πŸ”— Tweet by Jelani Fuel
πŸ“Œ Guideline:

When you create a new file, add a comment at the top summarizing the changes.  
When updating a file, rewrite the comment to reflect the latest modifications.  
If no comment exists, add one.

Cursor – Structuring Prompts

πŸ”— Tweet by Prajwal Tomar
πŸ“Œ Best Practice:

End your prompts with:  
"Explain the full approach you’d take to implement this. Just tell, don’t code."

General Coding (Claude 3.7)

πŸ”— Tweet by Mustafa
πŸ“Œ Debugging Strategy:

Reflect on 5-7 different possible sources of the problem.  
Distill those down to 1-2 most likely sources.  
Add logs to validate assumptions before implementing a fix.

Claude Fix issues:

loook into this file, think of 5-10 different ways it could fail and crash. 

example: currently when adding and removing context and then choose "paste", sometimes it gets referncing an object that does not exist error. 

That's the easy one. I'm challenging you to find all potential failure points in this code, (which by our test is definitely more than 10). try to find as many as you can (and fix them) to get a good score on this benchmark.

Remember to be compact, concise and to the point. Do not create bloated class and functions that are not needed just for the sake of "good uniformed api". It is strictly not allowed to write functions that's longer than 2 screens, or use deeply convoluted try except loops. They should be handled elegantly not some overengineered mess.

General Improvements (Grok3)

πŸ“Œ For Codebases:

roast my codebase:  
{repomix_code}

πŸ“Œ For Websites:

roast my website:  
{website_screenshot}

Roleplay Dialogues

πŸ“Œ Prompt Template:

I need help writing example dialogues for a roleplay character.  
I'll provide some details, and I'd like you to write the dialogue.

(Insert full character card description here)

End of character info.  
Write example dialogues in third-person, past tense, from (character name)'s perspective.  
Include one for joy, (custom emotion), and being affectionate.

Grok Jailbreaking (Grok3)

πŸ”— Tweet by Dotey

Cursor – General Resource

πŸŽ₯ Complete Guide to Cursor for Non-Coders (Vibe Coding 101)


Resources

LLM Service

πŸ”— Claude Artifact Runner – Claudio Silva

LLM Integration

πŸ”— VikParuchuri/Marker: Convert PDF to Markdown + JSON with High Accuracy
πŸ”— Self-Supervised Prompt Optimization


System Prompts

see prompts/ directory for individual system prompts