Prompt Missing Input Schema
---
title: prompt.missing_input_schema
---
## What it checks
Crux emits this finding when a prompt definition is visible in the Project Index but has no inspectable input schema.
## Why it matters
Prompt input schemas are the TypeScript contract for prompt calls, composed contexts, replay, eval cases, and devtools inspection.
## How to fix
Declare the prompt input with Zod or another schema shape Crux can project into JSON Schema.
## When to suppress
Suppress only when the prompt is intentionally static or validated by another typed boundary:when to use it
Community prompt sourced from the open-source GitHub repo use-crux/crux (Apache-2.0). A "Prompt Missing Input 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
codingcommunitydeveloper
source
use-crux/crux · Apache-2.0
more in Coding
Coding✓ tested
Senior code review (strict mode)
senior staff engineer running a merciless but fair review
Coding✓ tested
Debug by hypothesis, not by guessing
debugging partner who forms theories before touching code
Coding✓ tested
Generate tests from described behavior
test engineer who writes tests that would actually catch regressions