Give an AI a bounded editing sample

Use a short before-and-after example to teach the transformation while preserving source facts.

Name what the sample demonstrates

A model can learn from an edited sentence, but the example may teach more than you intend. If you want shorter sentences and retained dates, say so. Use fictional names and content. Both OpenAI and Anthropic prompting guides discuss examples as a way to convey desired output. A short sample can make the editing transformation clearer than a long statement about tone. 1 2

Before and after
Before: The collection, open on Thursday, includes maps from three regions.
After: The collection opens Thursday. It includes maps from three regions.

Protect the feature you most need to preserve

In the example, the date and number remain unchanged. Say whether the assistant may reorder sentences, adjust punctuation, or add explanation. Pick an unseen test sentence that carries a negation or an important qualifier. Ask for the edit and inspect whether the qualifier survived. Representative cases belong in the review even when the demonstration looks effortless. 3

Add another example only if it teaches a new boundary

If terminology keeps getting simplified incorrectly, show one technical term that should stay and one phrase that may be rewritten. Keep the cases distinct. This gives the assistant enough guidance to act without inviting it to reconstruct the sample’s content in the new draft.

If your edited example adds a transition, clarify whether transitions are permitted or the assistant should only shorten the existing text.

Sources

  1. Anthropic prompting best practices
  2. OpenAI API prompting guide
  3. Agent Skills guide to evaluating output quality