🌐
Reddit
reddit.com › r/chatgptcoding › google's prompt engineering pdf breakdown with examples - april 2025
r/ChatGPTCoding on Reddit: Google's Prompt Engineering PDF Breakdown with Examples - April 2025
April 14, 2025 -

You already know that Google dropped a 68-page guide on advanced prompt engineering

Solid stuff! Highly recommend reading it

BUT… if you don’t want to go through 68 pages, I have made it easy for you

.. By creating this Cheat Sheet

A Quick read to understand various advanced prompt techniques such as CoT, ToT, ReAct, and so on

The sheet contains all the prompt techniques from the doc, broken down into:

✅ Prompt Name
✅ How to Use It
✅ Prompt Patterns (like Prof. Jules White's style)
✅ Prompt Examples
✅ Best For
✅ Use cases

It’s FREE. to Copy, Share & Remix

Go download it. Play around. Build something cool

https://cognizix.com/prompt-engineering-by-google/

🌐
Prompt Engineering Guide
promptingguide.ai › introduction › examples
Examples of Prompts | Prompt Engineering Guide
The previous section introduced a basic example of how to prompt LLMs · This section will provide more examples of how to use prompts to achieve different tasks and introduce key concepts along the way. Often, the best way to learn concepts is by going through examples.
🌐
Reddit
reddit.com › r/chatgptpromptgenius › 16 prompt patterns and templates
r/ChatGPTPromptGenius on Reddit: 16 prompt patterns and templates
May 29, 2024 -

Recently stumbled upon a really cool paper from Vanderbilt University: A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPT.

Sent me down the rabbit hole of prompt patterns (like, what they even are etc), which lead me to putting together this post with 16 free templates and a Gsheet.

Generally, prompt patterns are high-level solutions to recurring problems.

I copied the first 6 below, but the other 10 are in the post above.

I've found these to be super helpful to visit whenever running into a prompting problem. Hope they help!


Prompt pattern #1: Meta language creation

  • Intent: Define a custom language for interacting with the LLM.

  • Key Idea: Describe the semantics of the alternative language (e.g., "X means Y").

  • Example Implementation: “Whenever I type a phrase in brackets, interpret it as a task. For example, '[buy groceries]' means create a shopping list."

Prompt pattern #2: Template

  • Intent: Direct the LLM to follow a precise template or format.

  • Key Idea: Provide a template with placeholders for the LLM to fill in.

  • Example Implementation: “I am going to provide a template for your output. Use the format: 'Dear [CUSTOMER_NAME], thank you for your purchase of [PRODUCT_NAME] on [DATE]. Your order number is [ORDER_NUMBER]'."

Prompt pattern #3: Persona

  • Intent: Provide the LLM with a specific role.

  • Key Idea: Act as persona X and provide outputs that they would create.

  • Example Implementation: “From now on, act as a medical doctor. Provide detailed health advice based on the symptoms described."

Prompt pattern #4: Visualization generator

  • Intent: Generate text-based descriptions (or prompts) that can be used to create visualizations.

  • Key Idea: Create descriptions for tools that generate visuals (e.g., DALL-E).

  • Example Implementation: “Create a Graphviz DOT file to visualize a decision tree: 'digraph G { node1 -> node2; node1 -> node3; }'."

Prompt pattern #5: Recipe

  • Intent: Provide a specific set of steps/actions to achieve a specific result.

  • Example Implementation: “Provide a step-by-step recipe to bake a chocolate cake: 1. Preheat oven to 350°F, 2. Mix dry ingredients, 3. Add wet ingredients, 4. Pour batter into a pan, 5. Bake for 30 minutes."

Prompt pattern #6: Output automater

  • Intent: Direct the LLM to generate outputs that contain scripts or automations.

  • Key Idea: Generate executable functions/code that can automate the steps suggested by the LLM.

  • Example Implementation: “Whenever you generate SQL queries, create a bash script that can be run to execute these queries on the specified database.”


🌐
Medium
medium.com › the-generator › the-perfect-prompt-prompt-engineering-cheat-sheet-d0b9c62a2bba
The Perfect Prompt: A Prompt Engineering Cheat Sheet | by Maximilian Vogel | The Generator | Medium
September 8, 2024 - Our Prompt Engineering Cheat Sheet is a condensed (PDF) book of spells for this somewhat arcane and often tricky discipline of machine learning. Whether you’re a seasoned user or just starting your AI journey, this cheat sheet should serve as a pocket dictionary for many areas of communication with large language models. The contents: the AUTOMAT and the CO-STAR framework · output format definition · few-shot learning · chain of thought · prompt templates ·
🌐
LangChain
python.langchain.com › docs › concepts › prompt_templates
Prompt Templates | 🦜️🔗 LangChain
# pip install -qU langchain "langchain[anthropic]" from langchain.agents import create_agent def get_weather(city: str) -> str: """Get weather for a given city.""" return f"It's always sunny in {city}!" agent = create_agent( model="claude-sonnet-4-5-20250929", tools=[get_weather], system_prompt="You are a helpful assistant", ) # Run the agent agent.invoke( {"messages": [{"role": "user", "content": "what is the weather in sf"}]} )
🌐
Notion
ignacio-velasquez.notion.site › 2-500-ChatGPT-Prompt-Templates-d9541e901b2b4e8f800e819bdc0256da
2500+ ChatGPT Prompt Templates
A tool that connects everyday work into one space. It gives you and your teams AI tools—search, writing, note-taking—inside an all-in-one, flexible workspace.
🌐
Google Cloud
cloud.google.com › generative ai on vertex ai › documentation › use prompt templates
Use prompt templates | Generative AI on Vertex AI | Google Cloud
This document describes how to use prompt templates. A prompt template is a prompt that includes replaceable variables.
🌐
arXiv
arxiv.org › abs › 2504.02052
[2504.02052] From Prompts to Templates: A Systematic Prompt Template Analysis for Real-world LLMapps
April 7, 2025 - View a PDF of the paper titled From Prompts to Templates: A Systematic Prompt Template Analysis for Real-world LLMapps, by Yuetian Mao and 2 other authors View PDF HTML (experimental)
Find elsewhere
🌐
Scribd
scribd.com › document › 724037972 › 2-Prompt-Templates-Prompt-Engineering-pdf
2 - Prompt Templates - Prompt Engineering PDF | PDF | Language Arts & Discipline
2 - Prompt Templates - Prompt ... for free. The document discusses prompt engineering and provides examples of different tone prompts like formal, informal, sarcastic, empathetic, and diplomatic....
🌐
Medium
medium.com › @shravankoninti › different-prompt-templates-using-langchain-3c8dd3aca3be
Different Prompt Templates using LangChain | by Shravan Kumar | Medium
August 12, 2024 - Part 2: Creating a Prompt with Multiple Placeholders · template_multiple = """You are a helpful assistant.
🌐
Salesforce
trailhead.salesforce.com › learn › quick start: prompt builder › get started with prompt builder
Maximize Generative AI with Prompt Templates
Learn how to create custom AI prompt templates to personalize and streamline your content generation for customer support cases.
🌐
Medium
medium.com › @maximilian.vogel › i-scanned-1000-prompts-so-you-dont-have-to-10-need-to-know-techniques-a77bcd074d97
I Scanned 1000+ Prompts so You Don’t Have to: 10 Need-to-Know Techniques | by Maximilian Vogel | Medium
May 27, 2024 - I Scanned 1000+ Prompts so You Don’t Have to: 10 Need-to-Know Techniques Free Prompt Engineering Course: The Art of the Prompt — Updated Dec-10 2023, added the multiprompt approach. Prompts …
🌐
Mirascope
mirascope.com › blog › langchain-prompt-template
A Guide to Prompt Templates in LangChain | Mirascope
June 30, 2025 - This is handy because you don’t need to manually construct message objects — the template handles it for you. When you’re working with chat-based models, you often want to include conversation history (or some sequence of messages). MessagesPlaceholder acts as a stand-in for a dynamic list of messages you’ll provide at runtime. Imagine we’re building a career coach bot that remembers previous questions and answers: from langchain_core.prompts import ChatPromptTemplate, MessagesPlaceholder from langchain_core.messages import HumanMessage, AIMessage chat_prompt = ChatPromptTemplate.fro
🌐
Fieldguidetoai
fieldguidetoai.com › home › resources › prompt engineering templates library
Prompt Engineering Templates Library (50+ Templates) | Field Guide to AI | Field Guide to AI
← Back to ResourcesPrint / Save as PDF · 📋 · 50+ proven prompt templates for common AI tasks · 12 pages·CC-BY 4.0 · promptstemplatesproductivityChatGPT ·
🌐
Medium
medium.com › @ssmaameri › prompt-templates-in-langchain-efb4da260bd3
Prompt Templates in LangChain. Do you ever get confused by Prompt… | by Sami Maameri | Medium
April 14, 2024 - The variable parts in the template are surround by curly brackets { }, and to fill these parts we pass in a list of key-value pairs (kwargs in python) with the variable name and text they should be filled with to the format() method on the Prompt Template. prompt_template = PromptTemplate.from_template( 'Tell me a {adjective} joke about {content}' ) print(prompt_template.format(adjective='funny', content='chickens')) # -> 'Tell me a funny joke about chickens.'
🌐
Gumroad
theveller.gumroad.com › l › ChatGPTPromptTemplates-byTheVeller
2,500+ AI Chatbot Prompt Templates
Supercharge your productivity with 2,500+ AI Chatbot Prompt Templates.Not your average prompt collection.2,500+ AI Chatbot Prompt Templates is a comprehensive collection of highly curated prompts that are tailored to many common and specific needs.
🌐
Keywords Everywhere
keywordseverywhere.com › chatgpt-prompt-templates.html
Supercharge ChatGPT to the next level with Prompt Templates
Prompt templates are detailed prompts that are generated by Keywords Everywhere to make it easy for you to find and use the best prompts for specific jobs.