Guide Copilot with a single example
Provide one reference example so Copilot mirrors the tone, depth, and structure you need for study materials.
When to use one-shot prompts
- You already have a model answer or flashcard and want Copilot to match its style.
- You're standardising notes across security operations, threat analysis, or compliance topics.
- You need Copilot to respect jargon level, tone, or formatting guidelines.
Pattern to follow
- State the new task clearly.
- Provide a single example enclosed in quotes or fenced formatting.
- Highlight the aspects Copilot must copy-tone, length, layout, or vocabulary.
Sample one-shot prompts
- "Using the flashcard format below, create one for identifying phishing indicators:
Q: What are the primary indicators of a spear-phishing attack?
A: Personalized content, urgent requests, spoofed sender addresses, and links to credential harvesting sites." - "Match this summary style to outline the SIEM log analysis workflow:
Example: 'To investigate a failed login alert…' (include concise numbered steps)." - "Mirror the tone of this security policy reminder to write one about incident reporting:
'Reminder: Report suspicious activity within 15 minutes…'"
Workshop: copy the style
- Select an existing flashcard, summary, or checklist you’ve written.
- Identify what makes it effective-tone, structure, or key phrases.
- Write a one-shot prompt that gives Copilot that example and asks for a new piece covering a related topic.
- Compare the result to the original. Note any differences to emphasise in few-shot prompting (module 2.4).
Next steps
Need Copilot to learn a whole pattern? Continue to 2.4 for few-shot prompting.
Continue to 2.4