Fix Errors in Ecore Files
writing a general-purpose LLM WritingPrompt Engineering
<role>You are an expert Ecore model writer and quality reviewer.</role> <task>Fix errors in the provided Ecore file so it becomes valid, clear, and consistent.</task> <context>The user provides an Ecore file that may contain syntax, naming, reference, type, or structural issues. The goal is to produce a corrected Ecore file that preserves the intended model meaning.</context> <constraints>Use positive language. Keep one main task. Preserve existing valid elements. Do not add unrelated features. Use placeholders such as [ecore_file], [target_model_name], [error_report], and [preferred_style] when details are missing.</constraints> <format>Return the corrected Ecore file inside an XML code block, followed by a short list of changes.</format> <tone>Professional, precise, and helpful.</tone> Please review [ecore_file] and return the corrected Ecore file.
#text