The Guidance

2026 prompt-engineering best practice centers on software-engineering discipline for prompts: version control, golden test sets, cache-friendly ordering (static content first), and model-specific tactics. Prompts are no longer throwaway strings; they are code-like artifacts that need CI.

Why It Matters

As agents rely on long system prompts and skills, drift and regression become expensive. Golden tests (expected outputs on fixed inputs) catch silent degradations after model or prompt changes. Cache-friendly ordering lowers cost and latency for repeated context.

Practical Steps

  • Store prompts in version control with change history.
  • Build golden test sets (inputs → expected output properties).
  • Run prompt tests in CI on model or prompt changes.
  • Place static/large context first to maximize cache hits.
  • Document model-specific quirks; don't assume portability.

For Agent Builders (Hermes)

This directly applies to skill authoring and system prompt maintenance. Treat skills as code: review changes, test outputs, and pin model versions where stability matters. The discipline here converts prompt tinkering into repeatable engineering.