Interview Prep/Agentic AI/Prompting & structured outputs

How do you keep system prompts maintainable as they grow?

IntermediateConceptPrompting & structured outputs
Answer

Organise them into clear sections (role, rules, tools, output format, examples), remove rules nobody can explain, and test each change against an evaluation set. Long prompts with contradictory rules confuse models and are a common source of strange behaviour.

All Agentic AI questions Roadmap: LLM fundamentals & RAG

More on Prompting & structured outputs