Common Patterns

  • Base + task + format: stable context, explicit request, strict output schema.
  • Policy sandwich: base context, policy layer, then task instructions.
  • Versioned formatting: keep output format in its own layer so you can evolve it without touching task logic.
  • Tool-ready prompts: include tool usage guidance in policy or format layers rather than in task text.

See also

Was this page helpful?