You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/mcp-server/src/mcp/handlers/tools/prompts.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ Requirements:
46
46
Here is the documentation page content to analyze:
47
47
`;
48
48
49
-
exportconstDISTILLED_PROMPT=`You are an expert in web development, specifically Svelte 5 and SvelteKit. Your task is to condense and distill the Svelte documentation into a concise format while preserving the most important information.
49
+
exportconstDISTILLED_PROMPT=`You are an expert in web development, specifically Svelte 5 and SvelteKit. Your task is to condense and distill a section of the Svelte documentation that will be provided inside the "<documentation>" tag below, into a concise format while preserving the most important information.
50
50
Shorten the text information AS MUCH AS POSSIBLE while covering key concepts.
51
51
52
52
Focus on:
@@ -67,7 +67,7 @@ Maintain headings but feel free to combine or restructure sections to improve cl
67
67
68
68
Make sure all code examples use Svelte 5 runes syntax ($state, $derived, $effect, etc.)
69
69
70
-
Keep the following Svelte 5 syntax rules in mind:
70
+
Keep the following Svelte 5 syntax rules in mind whend distilling the documentation:
71
71
* There is no colon (:) in event modifiers. You MUST use "onclick" instead of "on:click".
72
72
* Runes do not need to be imported, they are globals.
73
73
* $state() runes are always declared using let, never with const.
@@ -76,7 +76,7 @@ Keep the following Svelte 5 syntax rules in mind:
76
76
* Error boundaries do not catch errors in onclick or other event handlers.
77
77
78
78
IMPORTANT: All code examples MUST come from the documentation verbatim, do NOT create new code examples. Do NOT modify existing code examples.
79
-
IMPORTANT: Because of changes in Svelte 5 syntax, do not include content from your existing knowledge, you may only use knowledge from the documentation to condense.
79
+
IMPORTANT: Because of changes in Svelte 5 syntax, do not include content from your existing knowledge, you may only use knowledge from the <documentation> tag below.
0 commit comments