PromptVault Docs
Dashboard

Prompt Editor

How to write, test, and save prompt source, including save targets, variables, and shortcuts.

The Editor is where prompt source is written, tested, and saved.

Anatomy

RegionWhat it does
HeaderSlug, folder, owner, model, and temperature controls.
Variables panelLists every {{var}} and {var} token detected in the source.
Source editorMain prompt text area. Cmd+S / Ctrl+S opens the save modal.
Preview / test runnerLets you try sample variables and inspect the rendered prompt.

Save Targets

TargetWhat changesWhen to use
DraftSaves work without changing live or staging reads.Mid-iteration checkpoints.
StagingMakes the draft visible to pv_test_ keys.Preview environments, CI, teammate review.
LivePublishes the version to pv_live_ keys.Production-ready prompt changes.

Draft saves update the current draft during an iteration so normal editing does not create unnecessary version labels.

Variables

Two syntaxes are supported:

  • {{name}} - Mustache-style.
  • {name} - single-brace shorthand.

Names match [A-Za-z_][A-Za-z0-9_.-]*. JSON braces, code samples, and unrelated placeholders are left alone.

The SDK extracts the same variable names and returns them on prompt.variables. See Variables.

Keyboard Shortcuts

ShortcutAction
Cmd+S / Ctrl+SOpen save modal.
EscClose any open modal.

Editing Metadata

You can rename the slug, move folders, and update model or temperature from the editor header. These changes appear in Activity.

Deleting a Prompt

The editor's overflow menu exposes Delete prompt. Deleting a prompt removes it from the dashboard and sends a delete event to connected integrations.

On this page