Prompt Templates and Examples
Table of Contents
1. Prompt Templates and Examples
A collection of reusable prompt templates and example prompts for various LLM workflows.
2. Templates
- Code Translation to Python – Translate source code from any language to idiomatic Python
- Coding Exercise Tutor – Template for tutoring sessions on coding exercises with docstring and input guidance
- Concurrent Programs Flashcards – Generate CSV flashcard content from Lamport's A Science of Concurrent Programs
- IDP Script Generator – Create Python scripts for an Internal Developer Platform RFC
- IDP Script Generator System Prompt – System prompt for the IDP script generation assistant
- Org Timer Bug Report – Description table for
org-timer-startand related timer commands - Org Web App Generator – Generate org-mode documents with tangleable HTML/CSS/JS blocks
- Org Drill Populate – Generate org-drill Q&A from a given topic area
- Project Overview Plan – Create a structured agent-ready plan from a project overview
- CodeLlama Infill Prompt – Infill prompt format for CodeLlama models (
<PRE>/<SUF>/<MID>) - Prompt Evaluator – Evaluate LLM prompts and answers against defined criteria
- DEF CON Summary PQRST (blank) – Blank PQRST-method template for DEF CON talk summaries
- DEF CON Summary Type – Multi-format summary guide (Top 5, PQRST, KWL) for DEF CON PDFs
- DEF CON Talk Summary PQRST – Full PQRST-method prompt for summarizing individual DEF CON 32 talks
- Python Script Update – Modernize Python scripts with typing, docstrings, click, unittest, and pydantic
- XML Prompt Template – XML-structured prompt template with metadata
3. See Also
- Org-Drill Examples – Example org-drill card types for spaced repetition