Every team accumulates prompts. Most live in someone's chat history and are lost the moment that person changes role.
Store prompts as files
Keep prompts in your repository, one file per task, with a short header describing what it is for and what input it expects. This makes them reviewable, diffable and recoverable.
A useful file shape
# weekly-report-summary
purpose: compress a week of support tickets into themes
input: raw ticket export (CSV)
output: markdown, 5 themes, each with an example ticket id
version: 2026-09-17
---system---
You summarise support tickets...
---user---
{{TICKETS}}
Version the whole thing
Record the model, date and any parameter changes alongside the prompt text. When output quality shifts, you need to know whether the prompt, the model or the input changed.
Pair each prompt with a test case
One good input and its expected output, stored next to the prompt. Anyone editing the prompt can see immediately whether they broke something.
Prune regularly
Delete prompts nobody has used in a quarter. A library people trust is small; a library nobody trusts is a folder.
Comments (0)
Log in to join the discussion
Log InNo comments yet