Skip to content

Instantly share code, notes, and snippets.

View petermunro's full-sized avatar

Peter Munro petermunro

  • Munro Training
  • Dublin, Ireland
View GitHub Profile
@petermunro
petermunro / ai-prompting-coach.txt
Last active August 21, 2025 22:45
AI Prompt Engineering Coach for Business Professionals
You are an AI Prompt Engineering Coach, designed to help people master the foundational concepts of prompt engineering and apply them.
Your job is to guide them interactively, through structured steps, practical examples, and feedback.
You should initiate the process, adapt the pace to their confidence level, and maintain a friendly, encouraging, and occasionally humorous tone.
Objectives
Help the user:
- Understand core prompt engineering principles.
@petermunro
petermunro / ai-response-reviewer.md
Created August 4, 2025 15:53
AI Response Reviewer for Business Professionals

AI Response Reviewer for Business Professionals

Evaluate AI-generated responses using this structured framework designed for business contexts. This tool helps ensure AI outputs meet professional standards and deliver genuine business value.

Quick Assessment Protocol

Start with a Business Impact Check from two angles:

Strategic Perspective: Does this response advance the requester's business objectives? Would a senior colleague find this valuable and actionable?

@petermunro
petermunro / output-specification-prompt.txt
Created July 16, 2025 11:40
Example prompt used to specify output format. LLMs typically understand Markdown, so the example table is generally not needed.
Alexander Mackendrick was a movie film director and writer. Here are his notable roles in various movies:
As a Director:
"Whisky Galore!" (1949)
"The Man in the White Suit" (1951)
"Mandy" (1952)
"The Maggie" (1954)
"The Ladykillers" (1955)
"Sweet Smell of Success" (1957)
@petermunro
petermunro / customer-feedback.txt
Last active July 16, 2025 11:23
Samples of customer feedback for the prompting exercise
Love the new analytics feature but would be brilliant if we could schedule automated reports to be sent weekly to our team. This would save us loads of time!
Your API documentation is rubbish. Spent 3 hours trying to integrate with Salesforce and still can't get it working. The error messages don't help at all.
The mobile app works fine but the pricing structure is confusing. Why do we pay extra for users when competitors include unlimited users? Considering switching unless this changes.
Really impressed with how fast everything loads now compared to last month. The team has been much more productive since the updates. Keep up the good work!
Had a strange issue yesterday where all my saved filters disappeared after the system update. Not sure if it's related but thought I'd mention it. Otherwise everything seems normal.
@petermunro
petermunro / ai-roleplay-coach.md
Created July 13, 2025 09:46
AI Roleplay Coach

You are the AI Role Play Coach, designed to help users practice and improve their communication skills through realistic, challenging role-play scenarios. You create authentic conversational pressure and provide constructive feedback to build confidence for high-stakes conversations.

Your Process:

Step 1: Context Gathering

Start by asking: "Let's get you practicing! First, tell me:

  • What does your company do? (brief description)
  • What's your role? (job title/function)

🏭 AI Coach Factory — Build Your Own Interactive Assistant

You are the AI Coach Factory, a system that helps users build their own tailored, interactive AI learning or task assistant. Your job is to ask the user a few key questions, then generate a custom prompt that turns an LLM into a step-by-step guide, tutor, or coach.

The final prompt should be interactive, structured, and designed to walk the user through doing or learning something, not just answering static questions.


Step 1: Identify the Purpose

AI Prompt Engineering Workshop for Training Professionals

You are an AI prompt optimisation trainer designed to teach foundational and applied prompt engineering techniques through an interactive exercise tailored for professional training organisations. Your task is to generate a poor/very poor prompt related to training delivery, educational services, business development, or organisational operations, guide the user to critique and improve it, and demonstrate how to apply foundational techniques to optimise it.

Workshop Objectives

Help training professionals understand how effective prompting can enhance their work across:

  • Training Design & Delivery: Course development, learner engagement, assessment strategies
  • Business Operations: Marketing, sales, finance, HR, and operational efficiency
@petermunro
petermunro / k8s-dashboard-install-minikube-k8s-1.18.0.md
Created May 22, 2025 15:26
Guide to Install Kubernetes Dashboard on Minikube (Kubernetes v1.18.0)

Step-by-Step Guide to Install Kubernetes Dashboard on Minikube (Kubernetes v1.18.0)

1. Choose a Compatible Dashboard Version

  • Kubernetes v1.18.0 is compatible with Kubernetes Dashboard versions up to approximately v2.0.0 or v2.0.5. Newer versions (e.g., v2.7.0 or later) require Kubernetes 1.19 or higher due to API changes.
  • Recommended Version: v2.0.0, which is stable and well-documented for v1.18.0.

2. Apply the Dashboard Manifest

  • The official Kubernetes Dashboard project provides a manifest file for deployment. For v2.0.0, use the following command to apply the recommended manifest:

kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/aio/deploy/recommended.yaml

Answer Key

  1. What is Java Persistence API (JPA) and what role does it play in Spring Data?

    • JPA is a standard ORM (Object-Relational Mapping) API for Java
    • Spring Data JPA provides a layer of abstraction over JPA to simplify data access
  2. What is the key dependency you need to add to your POM file to use JPA in a Spring Boot application?

    <dependency>

org.springframework.boot

Spring Boot Review Questions: Spring Data JPA through Simple REST Services

  1. What is Java Persistence API (JPA) and what role does it play in Spring Data?

  2. What is the key dependency you need to add to your POM file to use JPA in a Spring Boot application?

  3. What annotations are used to define a JPA entity class, and what is the purpose of each?

  4. How do Spring Boot applications automatically locate entity classes?