Skip to content

Prompt file

A prompt file holds one Template of model instructions that a Role, a Function or a Workflow step fills and sends to a model.

PropertyValue
Pathprompts/[prompt].md
HoldsTemplate
Kindfile
Leadersdb-first, git-first
TeamQuality Team
Written byChange.merge
Compiled byStartupBuilder

Example

prompts/close-summary.md in a Startup repository. Closewise, a sample business, declares a Close Noun.

prompts/close-summary.md
---
description: Summarize a finished Close for the agency owner.
inputs: { close: Close }
model: draft
evaluators: [tie-out]
---
Write three sentences for the owner of {{close.client.name}}.
Say whether the {{close.period}} books balance, and name any entry still unmatched.
Never estimate a number the Close does not hold.

Props

The frontmatter keys the file takes. The body is its prose.

PropTypeRequiredDescription
descriptionstringrequiredWhen it is used, in one sentence.
inputsjsonThe fields it fills, each with its type; the body reads each as {{name}}.
modelstringThe task class it runs under, such as draft or classify; never a model name.
evaluatorslist of EvaluatorThe Evaluators that grade every output; a new version must score no worse before it merges.

Generates

StartupBuilder compiles it into these records, Verbs and routes.

KindWhat
RecordsTemplate, Version, Variant
VerbsNone.
RoutesNone.