Prompt templates #18073
Labels
ai
Improvement related to Assistant, Copilot, or other AI features
assistant
AI feedback for Assistant (inline or panel)
enhancement
[core label]
Check for existing issues
Describe the feature
Currently, users can only define simple, static prompts. However, Anthropic advanced prompting techniques suggest wrapping valuable information in XML-like syntax and reducing interpretation errors 1.
It’s already possible to prepare prompts which include XML blocks, but there’s no easy way to edit those blocks without:
It would be great to have some way to simplify this process, giving the user the ability to edit the content of these blocks without requiring all the steps above.
My naïve proposed UX would see Zed automatically identify XML tags which contain mustache-like syntax inside a prompt and render the identified “parameters” directly in the folded prompt as text areas. When the user edits the text areas, the new content is automatically replaced within the folded prompt in the correct location.
If applicable, add mockups / screenshots to help present your vision of the feature
No response
Footnotes
https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering/use-xml-tags ↩
The text was updated successfully, but these errors were encountered: