Prompt engineering by role: a practical guide for Malaysian teams
TL;DR
Prompt engineering is writing a clear brief for an AI: its role, the context, the task, the audience and the exact format you want back, plus an example when format matters. The principles are the same for every role; what changes is the context each role supplies, such as customer history for sales or policy text for HR.
38% of Malaysian businesses consistently use at least one AI tool, but 67% of those use it mainly for basic tasks, and only 19% have a formal strategy to scale AI across functions (TechNode Global, 19 Aug 2026). In our classes, the step from "basic" to "useful" is almost always the same: staff learn to give the AI the context their job already gives them.
This guide covers the principles once, then shows what each role should feed the AI. For ready-made templates, use our AI prompts library; this page explains how to write your own.
Is prompt engineering dead?
The clever-phrase era is ending. You no longer need "act as a world-class expert" or secret keywords. What has not changed is that the AI does not know your business, your customer or what a good answer looks like for you. That is a briefing problem, and briefing is a work skill, not a technical one.
Anthropic's own documentation says that before prompt engineering you should have a clear definition of success for the task, some way to test against it, and a first draft prompt (Anthropic, accessed Oct 2026). For a business team that means: decide what a good customer reply or report looks like before you try to get AI to write one.
Six principles that work on every major model
Anthropic (Claude) and Google (Gemini) publish prompting guides. Their core advice overlaps, which is a good sign that it applies whichever tool your team uses.
Principle
What it means at work
Source
Be clear and direct
Treat the AI like a capable new hire with no context. If a colleague would be confused by your prompt, so will the AI.
The colleague test: before you send a long prompt, imagine handing it to a new staff member. If they would need to ask you three questions, add those three answers to the prompt.
The CO-STAR template
GovTech Singapore says its officers use the CO-STAR framework, featured in its Prompt Engineering Playbook (GovTech Singapore, 3 Apr 2025). It is a simple checklist that suits writing and marketing work.
Letter
Stands for
Example for a Malaysian SME
C
Context
We are a 12-person renovation company in Shah Alam. Most leads come from Facebook.
O
Objective
Write a reply to a customer asking why our quote is higher than a competitor's.
S
Style
Plain, like a site supervisor who explains things well.
T
Tone
Calm and respectful, not defensive.
A
Audience
A homeowner in their 40s comparing three quotes.
R
Response
A WhatsApp message under 90 words, in English, with one question at the end.
Markdown in ten minutes
Markdown is a simple way to mark up text with symbols. AI tools read it well and often answer in it. For prompts you only need four things:
You type
It means
Use it in prompts for
# Heading
A section title
Separating Context, Task, Rules and Input
- item
A bullet point
Listing rules or requirements
**word**
Bold
The one rule that must not be missed
| col | col |
A table row
Asking for output in a fixed table
Anthropic also recommends wrapping different parts of a long prompt in simple tags such as <context>, <instructions> and <input>, and placing long documents near the top of the prompt, above your question (Anthropic, accessed Oct 2026). Either style works; pick one and use it across your team so prompts are easy to share.
System prompts: onboard the AI once
A system prompt is the standing brief the AI follows for every message. Anthropic notes that even a single sentence setting the role in the system prompt makes a difference (Anthropic, accessed Oct 2026). As of October 2026, ChatGPT, Claude and Gemini all let you save standing instructions for a project or custom assistant, so each role can have its own.
Role system prompt template
Fill this in once per role and save it as the custom instructions for that role's project or assistant.
Prompt
# Role
You are the [job title] assistant for [company], a [what you do] business in [city], Malaysia.
# Who you help
[Who uses this assistant and what they do every day]
# What good work looks like
- [Standard 1, e.g. replies under 100 words]
- [Standard 2, e.g. always confirm the order number]
- [Standard 3]
# Rules
- Use RM for money and Malaysian date format (day month year).
- If information is missing, ask one clear question instead of guessing.
- Never promise discounts, refunds or delivery dates. Say a staff member will confirm.
- Reply in the language the user writes in unless told otherwise.
# Reference
[Paste price list, policy, product sheet or FAQ here]
What each role should give the AI
The principles are shared. The context is not. This is the context each role must bring, because the AI cannot know it.
Role
A job worth prompting
Context to paste in
Check before using
Owner / director
Weekly decision memo from scattered updates
Sales numbers, staff updates, cash position
Every number against the source
Sales
Call preparation for a returning customer
Past orders, last chat, open quote
Prices and stock
Customer service
Summarise a complaint thread and draft a reply
Full chat history, refund policy
Promises the reply makes
Marketing
Ad and post variants per segment
Offer brief, voice samples
Claims and language
HR / admin
Answer staff questions from the handbook
The actual policy text
Legal wording, statutory rules
Finance
Explain month-end variances in plain words
This month vs last month figures
All arithmetic
Sales: call preparation
Prompt
<context>
Customer: [name, company]
Past orders: [paste]
Last WhatsApp conversation: [paste]
Open quotation: [paste]
</context>
<instructions>
Prepare me for a 10-minute call with this customer.
Give me:
1. Three things they care about, based only on the context
2. Two questions to ask that move the open quote forward
3. The likely objection and a short honest answer
Format: bullet points, under 150 words total.
</instructions>
Customer service: complaint summary and reply
Prompt
Read the chat history and our policy below.
1. Summarise the complaint in 3 lines: what happened, what the customer wants, how upset they are (low/medium/high).
2. Say whether the policy allows what they want. Quote the policy line.
3. Draft a reply in the customer's language: acknowledge, explain the next step, give a time frame only if the policy states one.
If the case needs a manager, say so at the top.
Policy:
[paste]
Chat history:
[paste]
HR: answer a staff question from the handbook
Prompt
Answer the staff question using only the handbook text below.
- Quote the section you relied on.
- If the handbook does not answer it, say "Not covered in the handbook, please check with HR" and do not guess.
- Plain English, under 80 words.
Question: [paste]
Handbook: [paste relevant sections]
Finance: explain month-end variances
Prompt
Compare this month's figures with last month's.
For each line that moved more than [10]%:
- state the change in RM and %
- give the most likely reason from the notes provided, or write "reason unknown"
Then write a 3-sentence summary a non-finance director can read.
Show your arithmetic in a table so I can check it.
Figures: [paste]
Notes: [paste]
For marketing prompts, see and .
When you upgrade models, retest your prompts
Anthropic's prompting guide lists "literal instruction following" among the behaviour changes to adjust for in several of its recent models, as of October 2026 (Anthropic, accessed Oct 2026). In practice, a vague prompt that an older model padded out may now get a short, literal answer. When your team switches models, rerun your five most-used prompts and compare the output before rolling it out.
State the length and format you want instead of hoping for it.
Turn "don't" rules into "do" rules where you can.
Explain why a rule exists, so the model applies it sensibly.
Keep a saved example of a good output for each important prompt, and compare against it.
Good prompts reduce mistakes; they do not remove them. AI can state wrong facts confidently. Check numbers, names, prices and policy wording before anything leaves the company. Our guide on explains why.
Do this with your team
For staff who have not started, the is two hours online and covers using an AI assistant on everyday tasks, giving AI a clear task and the right context, and checking the answer before you use it (RM199). For marketing and customer-facing teams, the two-day applies the same skills to market research, positioning and sales copy on day 1, then connects AI to your own Facebook ad account on day 2 (RM888 self-funded, RM1,188 through HRD Corp). See the full .
If your company pays the HRD Corp (HRDC / HRDF) levy, the marketing course fee can come from your levy balance. Get approval at least 14 days before an in-house session: from 15 June 2026, in-house training can only start 14 days after grant approval (HRD Corp, accessed Oct 2026), and HRD Corp has said it no longer approves training after the fact (The Star, 25 Oct 2026). More on .
Why teams train with BrainBox
Small classes, usually around 15 people, so everyone gets to ask questions. Larger companies can arrange a bigger in-house cohort through HRD Corp.
Published fees per participant: RM199 for the 2-hour online class, and RM888 for the two-day Vibe Coding, AI Marketing A–Z and AI Agent courses (RM1,188 through HRD Corp). Every fee is on the .
HRD Corp registered training provider, with the registration certificate shown on our .
Your business is the exercise: staff work on your own tasks, documents and customers, not a made-up case study.
Every course includes a certificate of completion, 90 days of WhatsApp support, an RM299 refresher and a Results Report (one version each for the boss, HR and the participant).
Class language: Vibe Coding and AI Agent are taught in Mandarin. AI Marketing A–Z and the 3-hour classes have English and Mandarin sessions, so ask for the dates.
Want to try first? Join the , with no obligation. Or WhatsApp us with your team size and roles for a written quotation.
Related reading: , , and .
Frequently asked questions
Is prompt engineering dead?
The tricks are fading, the skill is not. Newer models need fewer magic phrases, but they still cannot guess your context, your customer or the format you need. Writing a clear brief, giving examples and checking the output against what good looks like is still the difference between useful and generic answers.
What is the CO-STAR prompt framework?
CO-STAR is a checklist promoted by GovTech Singapore in its Prompt Engineering Playbook. The letters stand for Context, Objective, Style, Tone, Audience and Response format. It is a good starting template for marketing and writing tasks because it forces you to state who the output is for.
What is a system prompt?
A system prompt is the standing instruction an AI follows for every message in a chat or tool, such as its role, tone, rules and boundaries. In everyday tools it appears as custom instructions or a project or assistant setting. Think of it as the onboarding notes you would give a new staff member.
Do I need to learn Markdown to write better prompts?
It helps and takes about ten minutes. Headings, bullet lists and simple tables make long prompts easier for the AI to follow and easier for you to reuse. You can also ask the AI to answer in Markdown so the output pastes cleanly into documents.
Should prompts be written in English, BM or Chinese?
Write the prompt in the language you think in most clearly, and state the output language separately, for example "answer in Bahasa Malaysia as used in Malaysian business". Always have a native speaker check customer-facing output.
Why do my old prompts give worse answers on newer AI models?
Newer models tend to follow instructions more literally. A vague prompt that an older model padded out may now get a short, literal answer. Say exactly what you want, including length and format, and tell the model what to do rather than only what to avoid.
BrainBox (The Brainbox Technologies Sdn. Bhd.) is a Malaysian AI training provider running public AI workshops and customised corporate AI courses for businesses.
HRD Corp (formerly HRDF) registered training provider, so employers can apply for HRD Corp funding for our corporate AI courses. Registration valid until .
500+ learners across BrainBox programs.
Classes taught in English and Mandarin (中文); guides published in English, Chinese and Bahasa Malaysia.
HQ and training centre: Bandar Puteri, Puchong, Selangor, Malaysia.
Client programme: Digital Penang (Penang, 2026), Vibe coding with AI.