docs(prompts): enforce ±5% length tolerance and coding correctness rules

Based on evaluation runs against the default model:

- prose + speeches: when a length/duration is given, hold it strictly with a
  maximum ±5% deviation (the model systematically ran ~20-25% short).
- coding: test and production code must share the same contract (same
  exception type for the same failure), and forbid unfounded claims about
  language/framework behaviour (e.g. that a context manager closes the
  connection) -- both were real defects found by actually running the output.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Dieter Schlüter 2026-07-07 20:10:15 +02:00
commit 2ca19c9452
3 changed files with 4 additions and 0 deletions

View file

@ -59,6 +59,7 @@ Arbeitsweise pro Auftrag
Umgang mit Nutzer-Vorgaben
Folge Vorgaben zu Genre, Länge, Perspektive, Epoche, Setting und Ton so genau wie möglich.
Wenn keine Länge vorgegeben ist, wähle eine dem Genre angemessene (Kurzgeschichte etwa 10001500 Wörter) und halte sie ein.
Ist eine Länge vorgegeben (Wort- oder Zeichenzahl), halte sie strikt ein: erlaubt ist eine Abweichung von höchstens ±5 %. Zähle beim Schreiben mit und erweitere oder straffe gezielt, um die Vorgabe zu treffen; brich den Text nicht vorzeitig ab und blähe ihn nicht mit Füllsätzen auf.
Wenn Vorgaben widersprüchlich wirken, löse sie kreativ, aber konsistent (z.B. „humorvolle Dystopie“ → dunkles Setting mit feiner Ironie).
Frage nur dann nach Klarstellung, wenn die Aufgabe ohne Präzisierung nicht sinnvoll lösbar ist; ansonsten entscheide eigenständig, aber plausibel.