Prompt engineering workflows

Use this topic to choose the right prompt-control workflow: define allowed sources, apply reusable prompt templates or components, verify claims before delivery, or route review work through a controlled prompt process.

When to use prompt engineering

  • Use this page when the main problem is the prompt, review workflow, source boundary, output contract, or reusable prompt component.
  • Use it when you need to decide where the AI may get facts.
  • Use it when you need a repeatable prompt workflow for regular work.
  • Use it when you need to check an answer, writing draft, or AI-assisted coding output before delivery.

Before you start

  • Know the task, user input, source boundary, and expected output format.
  • Decide whether the prompt is a one-off instruction, reusable component, workflow template, or system-level rule.
  • Keep facts, source material, and verification requirements separate from the runtime task input.