What an AI workflow step promises

Write each step around an input, a decision or action, and a result that someone can check.

Give the step an observable ending

“Review the plan” is a broad job. A more useful first step is “identify every date that appears in the published calendar and compare it with the draft.” The expected output is a list with two values and their sources, or a report that none disagree. Anthropic describes workflows as systems with predefined paths, and skill-writing guidance recommends making those paths understandable and testable. 1 2

Explain what to do after each outcome

A match can advance to language editing. A mismatch can be recorded with both sources and a description of the conflict. If a needed calendar is unavailable, postpone that check and continue with independent parts of the draft. The OpenAI skill-building guide describes how reusable guidance can incorporate decision points and incomplete tool results. A clear branch can preserve progress without creating unsupported facts. 3

Use one completed example to check the contract

Choose a small draft with exactly one stale date. Confirm that the assistant identifies its location, references the current source, and leaves unrelated wording alone. Add a second fixture with no mismatch so the step does not reward unnecessary findings. This makes the workflow easier to test or hand to someone else because they can see precisely what each step contributes.

If a check has four independently useful results, keep those explicit rather than reporting a single all-or-nothing status.

Sources

  1. Anthropic’s guide to building effective agents
  2. Anthropic’s skill authoring best practices
  3. OpenAI’s guide to building skills for plugins