3 ms·
Show HN: Write better AI system prompts
Hi,
I just created an assistant to write better system prompts (to leapfrog the first few minutes of setting up a new agent/loop).
Try it here:
https://www.tramann-projects.com/MagicPromptWriter/index.php https://www.tramann-projects.com/MagicPromptWriter/index.php
example for the instruction:
I need a quality assurance assistant. Based on the users input he should answer with a table reporting anomalies in the production.
example for the user prompt:
Production Line: A12
Date: 2025-07-14
Shift: Night
Total Units Produced: 5,200
Defective Units: 180
Average Cycle Time: 56 sec
Standard Cycle Time: 48 sec
Downtime: 45 minutes
Expected Downtime: ≤ 15 minutes
Machine Temperature Spike: Yes (Exceeded 90°C for 10 minutes)
Operator Notes: "Machine slowed down mid-shift. Restarted once."
In my experience so far, the following prompting format for system prompts works best:
- Set up the role of the AI/LLM.
- State the task.
- Explain the high-level plan (and then break it down into sub-steps if needed).
- Add important notes to keep in mind (if needed).
- Tell how to structure the output/feedback.
- Provide an example output of what is expected <- this one really, really increases output quality
And this is also what this assistant does, if you should have additional ideas for further prompt improvement, let's start a discussion in the comments : )