Skip to main content
Three lines? Plain prose. More than five? Structure helps.

When to structure

  • The prompt has multiple parts (goal + constraints + examples).
  • The change touches multiple areas (schema + UI + integration).
  • You want to reuse the prompt as a template.

Useful structure patterns

Tips

Headers help the agent parse. **Goal**:, **Constraints**:, etc. read more reliably than long paragraphs.

Five-layer method

The framework.

Fundamentals

The basics.

Prompt library

Templates.
Last modified on April 18, 2026