Why a compiled language for prompts?
Because the way we manage prompts today is broken.
The Problem
Every team building with LLMs ends up in the same place. Prompts scattered across the codebase. No versioning. No contracts.
The Solution
.prompt files are compiled before they reach the LLM. Branching resolves at compile time. The LLM receives a clean, flat string.
Comparison
How .prompt stacks up against f-strings, YAML configs, and markdown templates.
The bottom line
LLMs are powerful, but the tooling around them hasn't matured. We still treat prompts as strings—fragile, versionless, and hard to maintain.
.prompt brings the same discipline we apply to code: types, contracts, versioning, and compilation. Your prompts become reliable, testable, and maintainable.