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.
| Property | Value |
|---|---|
| Path | prompts/ |
| Holds | Template |
| Kind | file |
| Leaders | db-first, git-first |
| Team | Quality Team |
| Written by | Change.merge |
| Compiled by | StartupBuilder |
Example
prompts/ in a Startup repository. Closewise, a sample business, declares a Close Noun.
---
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.
| Prop | Type | Required | Description |
|---|---|---|---|
description | string | required | When it is used, in one sentence. |
inputs | json | The fields it fills, each with its type; the body reads each as {{name}}. | |
model | string | The task class it runs under, such as draft or classify; never a model name. | |
evaluators | list of Evaluator | The 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.