Documentation/Guides (Prompts)/Prompt workflow
1 min read

Prompt workflow

Treat prompt changes like code changes: reviewable, measurable, and deployable.

  1. Draft a new prompt version in dev
  2. Evaluate against your dataset(s)
  3. Review for policy, brand voice, and known failure modes
  4. Promote to staging
  5. Gate with full eval suites and latency/cost budgets
  6. Promote to production
  7. Monitor traces and rollback quickly if needed

What to include in a prompt change request

  • what user behavior you want to improve
  • examples where the current prompt fails (links to traces)
  • evaluation results vs baseline
  • any new constraints (formatting, citations, refusals)

How to avoid “prompt spaghetti”

  • keep a template library (partials for policies, format requirements)
  • standardize variable names across prompts
  • keep system rules short and explicit

Next steps