Show HN: TypePrompt transpiles prompt templates to native API in 8 languages TypePrompt, a new open-source tool, compiles `.tp` prompt template files into type-safe APIs for eight languages — TypeScript, Python, Kotlin, Rust, C++, Swift, Dart and C# — so that mismatches between application code and prompt templates surface at compile time rather than at runtime in production. Templates bundle prompt instructions, TypeScript-syntax schemas, tools and YAML few-shot examples into a single XML file, and the `npx @typeprompt/cli gen` command generates the native types and standard JSON Schemas for major LLM providers, with no framework lock-in. The tool also checks inline references to field and tool names against schemas at compile time and supports JSON, YAML, CSV and TOON input formatting. LLM prompts that fail at build time. Website https://typeprompt.dev · Docs https://typeprompt.dev/introduction · Quick Start https://typeprompt.dev/quick-start · VS Code Extension https://marketplace.visualstudio.com/items?itemName=gepheum.typeprompt-vscode · Examples https://github.com/gepheum/TypePrompt/blob/main/examples Write prompt instructions, schemas, tools, and few-shot examples in dedicated .tp files. TypePrompt compiles them into a type-safe API for your target language — with zero framework lock-in, ready to drop into whatever LLM SDK you already use. Supported languages: TypeScript, Python, Kotlin, Rust, C++, Swift, Dart, C Prompt templates are plain XML files that bring together prompt instructions, schemas, tools, and few-shot examples into a single source of truth: php < -- DecodeCatMood.tp --