Prompt Design for In-App LLM Features: Treat Prompts Like Code
The prompt behind an in-app AI feature is product code, not a chat message. Here is how to structure, version, constrain and validate prompts so the feature stays predictable after you ship it.