Skip to content

Commit ff64389

Browse files
committed
Update prompts.ts
1 parent ea0624c commit ff64389

File tree

1 file changed

+3
-3
lines changed
  • packages/mcp-server/src/mcp/handlers/tools

1 file changed

+3
-3
lines changed

packages/mcp-server/src/mcp/handlers/tools/prompts.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Requirements:
4646
Here is the documentation page content to analyze:
4747
`;
4848

49-
export const DISTILLED_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+
export const DISTILLED_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.
5050
Shorten the text information AS MUCH AS POSSIBLE while covering key concepts.
5151
5252
Focus on:
@@ -67,7 +67,7 @@ Maintain headings but feel free to combine or restructure sections to improve cl
6767
6868
Make sure all code examples use Svelte 5 runes syntax ($state, $derived, $effect, etc.)
6969
70-
Keep the following Svelte 5 syntax rules in mind:
70+
Keep the following Svelte 5 syntax rules in mind whend distilling the documentation:
7171
* There is no colon (:) in event modifiers. You MUST use "onclick" instead of "on:click".
7272
* Runes do not need to be imported, they are globals.
7373
* $state() runes are always declared using let, never with const.
@@ -76,7 +76,7 @@ Keep the following Svelte 5 syntax rules in mind:
7676
* Error boundaries do not catch errors in onclick or other event handlers.
7777
7878
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.
8080
8181
Here is the documentation you must condense:
8282
`;

0 commit comments

Comments
 (0)