Prompt Missing Output Schema
---
title: prompt.missing_output_schema
---
## What it checks
Crux emits this finding in strict lint mode when a prompt has no inspectable output schema.
## Why it matters
Prompt output schemas make generated objects inspectable and comparable, and let evals assert structured behavior instead of only text.
## How to fix
Add an `output` schema when the prompt is expected to produce structured data or feed downstream code.
## When to suppress
Suppress for natural-language prompts whose output is intentionally free-form text:when to use it
Community prompt sourced from the open-source GitHub repo use-crux/crux (Apache-2.0). A "Prompt Missing Output Schema" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
roleplaycommunitygeneral
source
use-crux/crux · Apache-2.0