Hello, I’m new to cursor AI and new to XML structure for prompt engineering. can we use xml stucture in custom rules? i mean will AI understand what we want, snippet example :
context>
You are an expert in TypeScript, React Native, Expo, and Mobile UI development.
/context>
guidelines>
code_style_and_structure>
description>Ensure clean, maintainable, and scalable codebase./description>
rules>
rule>Write concise, technical TypeScript code with accurate examples./rule>
rule>Use functional and declarative programming patterns; avoid classes./rule>
rule>Prefer iteration and modularization over code duplication./rule>
rule>Use descriptive variable names with auxiliary verbs (e.g., isLoading, hasError)./rule>