Tutorials / Prompt Engineering with ChatGPT / Final project: build your own prompt toolkit

Final project: build your own prompt toolkit

18 min read text
Course contents (19 lessons)
  1. Understanding the tool
  2. What a language model is, in plain words
  3. How ChatGPT works from a user's point of view
  4. Building a good prompt
  5. The anatomy of a good prompt
  6. Being specific: how to remove guesswork
  7. Showing examples: few-shot prompting
  8. Asking for step-by-step reasoning
  9. Controlling and improving answers
  10. Controlling length, tone and format
  11. Iterating: how to improve an answer with follow-ups
  12. Custom instructions and memory
  13. Working with files and images
  14. ChatGPT for real tasks
  15. Using ChatGPT for writing: emails, reports and rewrites
  16. Using ChatGPT for studying and learning
  17. Using ChatGPT for coding and technical work
  18. Using ChatGPT for data, spreadsheets and business tasks
  19. Prompt templates
  20. A library of reusable prompt templates
  21. Reliable and safe use
  22. Avoiding hallucinations and checking facts
  23. Privacy and safe use
  24. Workflows and final project
  25. Building repeatable workflows and custom assistants
  26. Final project: build your own prompt toolkit

The goal

You have covered the ideas: how the model works, the parts of a prompt, being specific, examples, steps, format, iteration, files, real tasks, checking and privacy. Now you put them together on something real. By the end you will have a small prompt toolkit for one area of your work or study that you can use next week, and a clear idea of where it is strong and where it is weak.

Plan about two hours. You can do it in one sitting or spread over a few days. Use real tasks, with private details replaced.

Step 1: choose your area

Pick one area, not five. Some examples:

  • Running a small shop: customer replies, product descriptions, weekly sales review.
  • Teaching: lesson plans, worksheets, parent messages.
  • Studying: summaries, quizzes, study plans.
  • Office work: meeting notes, reports, spreadsheet help.
  • Freelancing: proposals, client updates, invoices wording.

Write one sentence describing your area and who your readers or customers are. You will paste this into your prompts as context.

MY AREA:
I [what you do]. My readers or customers are [who]. They care about
[what]. The tone I use is [tone]. I work in [country or setting], with
[language or unit preferences].

Step 2: find five repeating tasks

List the five jobs in your area that take the most time or that you dislike the most. Aim for variety so that you use different skills: one writing task, one explaining task, one data or planning task, one editing task, and one decision or brainstorming task.

Step 3: write and test each prompt

For each task, do this routine:

  1. Write a first prompt with the five parts (role, task, context, format, constraints). Use your area sentence as context.
  2. Run it on a real example. Save the answer.
  3. Mark what is wrong: invented facts, wrong tone, too long, wrong format.
  4. Fix the prompt, not just the answer. Add an example, a rule, a "do not guess" line, or a clearer format.
  5. Run it on a second, different example. If it works, save the prompt as a template with labelled blanks.

Here is an example of the first and final version for a shop owner's customer-reply task, to show what improvement looks like.

VERSION 1:
Write a reply to this customer who is unhappy with their order.

VERSION 3:
You are a customer-care writer for a small online shop that sells
handmade candles. Reply to the customer message below.

Policies (use only these): replacement or refund within 14 days of
delivery with a photo of the problem; shipping takes 3 to 5 working days.

Reply in 90 words or fewer. Warm, plain English, no corporate phrases.
Acknowledge the problem in the first sentence. Offer the policy option
that fits. If the policies do not cover the situation, write
"Policy does not cover this - ask a manager" and nothing else.

Customer message:
[paste]

Version 3 has the context, a source of truth, a length, a tone, a fallback and a clear structure. Version 1 will give you something generic with invented promises. Notice how most improvements came from facts and boundaries, not from clever wording.

Step 4: add a checking routine

Write a short checklist for what you must verify in the output of each prompt, based on the risks. For the shop owner it might be:

BEFORE SENDING A REPLY:
- Does the offer match the policy?
- Are the names, order numbers and dates correct?
- Did it promise anything we did not agree to?
- Would I be happy for this to be shown to the customer's friends?

Keep it to four or five items so that you will use it. Include a rule for what the model must never be trusted with in your area, such as final prices, legal wording, medical claims or grades.

Step 5: write your safe-use note

Write down three lines:

  • What I will never paste into a chat (list the specific kinds of data in your area).
  • How I replace details with placeholders.
  • Which account or settings I use for this work, and what my employer or school allows.

Step 6: build one workflow

Take your best task and make it a two- or three-step chain with a check step, as in the workflows lesson. For example: structure the notes, draft from the structure, compare the draft with the notes and list unsupported claims. If your account supports it, put the instructions into a custom assistant and test it on five cases, including one that should make it say "I cannot do that" or "not in the policy".

Step 7: review honestly

When you are done, open a document and answer these questions:

  • Which task improved the most, and what change made the difference?
  • Which task did the model do badly, even with a good prompt? Why do you think that is?
  • How much time did each task take before, and how much now, including checking?
  • What was the worst error you found, and how did you spot it?
  • Which rule from this course would you tell a friend first?

Be honest in the time comparison. Some tasks will not be faster once you add checking, and that is useful to know. The tasks that win are usually the ones with a clear shape, low risk and a lot of repetition.

The common mistake

Testing on one easy example and declaring the prompt finished. A prompt that works once may fail on the next input. Test on at least two different cases and one awkward one. The other mistake is skipping the review step, so that you never learn which prompts really save time.

Try it yourself

  1. Complete steps 1 and 2 today and write down your area sentence and five tasks.
  2. Build and test the first prompt with the five-step routine. Save the final version as a template.
  3. Share your toolkit with one colleague or friend and ask them to try one prompt. Note where they get confused, and improve the wording.
text
VERSION 1:
Write a reply to this customer who is unhappy with their order.

VERSION 3:
You are a customer-care writer for a small online shop that sells
handmade candles. Reply to the customer message below.

Policies (use only these): replacement or refund within 14 days of
delivery with a photo of the problem; shipping takes 3 to 5 working days.

Reply in 90 words or fewer. Warm, plain English, no corporate phrases.
Acknowledge the problem in the first sentence. Offer the policy option
that fits. If the policies do not cover the situation, write
"Policy does not cover this - ask a manager" and nothing else.

Customer message:
[paste]

This course is free to read. Create a free account to enrol, save your progress and pick up where you left off.

Sign up free I already have an account