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