prompt-tuning

Guidance for working on the language model prompts that power the Mossback support assistant and the document summariser. Covers system prompts, prompt templates, few-shot examples, model selection, m

SKILL.md

GitHub

Prompt Tuning

Rules

  • Prompts live in src/assistant/prompts/<name>/<version>.txt. Never edit a released version; add the next number.
  • The active version per prompt is set in src/assistant/prompts/active.json.
  • Compare two versions on the saved transcripts with pnpm prompts:compare <name> <old> <new> before changing active.json.
  • The summariser's output is parsed as JSON by src/assistant/parse.ts. A prompt change that alters the shape breaks the parser.