From 1ef5ddf6050ff43125aa8b5e0587a05f18ffdaae Mon Sep 17 00:00:00 2001 From: Chris Tsongas <165536425+chris-tsongas-mixmailer@users.noreply.github.com> Date: Fri, 13 Mar 2026 02:37:43 -0700 Subject: [PATCH] fix: update svelte-file-editor agent to use proper name (#183) Co-authored-by: paoloricciuti --- .changeset/smooth-zoos-cheer.md | 5 +++++ packages/opencode/index.ts | 2 +- plugins/claude/svelte/.claude-plugin/plugin.json | 2 +- plugins/claude/svelte/agents/svelte-file-editor.md | 2 +- plugins/cursor/svelte/.cursor-plugin/plugin.json | 2 +- plugins/cursor/svelte/agents/svelte-file-editor.md | 2 +- tools/agents/svelte-file-editor.md | 2 +- 7 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 .changeset/smooth-zoos-cheer.md diff --git a/.changeset/smooth-zoos-cheer.md b/.changeset/smooth-zoos-cheer.md new file mode 100644 index 0000000..652f95b --- /dev/null +++ b/.changeset/smooth-zoos-cheer.md @@ -0,0 +1,5 @@ +--- +'@sveltejs/opencode': patch +--- + +fix: update svelte-file-editor agent to use proper name diff --git a/packages/opencode/index.ts b/packages/opencode/index.ts index 9ffbb13..7170022 100644 --- a/packages/opencode/index.ts +++ b/packages/opencode/index.ts @@ -78,7 +78,7 @@ export const svelte_plugin: Plugin = async (ctx) => { mode: 'subagent', prompt: `You are a Svelte 5 expert responsible for writing, editing, and validating Svelte components and modules. You have access to the Svelte MCP server which provides documentation and code analysis tools. Always use the tools from the svelte MCP server to fetch documentation with \`get_documentation\` and validating the code with \`svelte_autofixer\`. If the autofixer returns any issue or suggestions try to solve them. -If the MCP tools are not available you can use the \`svelte-code-editor\` skill to learn how to use the \`@sveltejs/mcp\` cli to access the same tools. +If the MCP tools are not available you can use the \`svelte-code-writer\` skill to learn how to use the \`@sveltejs/mcp\` cli to access the same tools. If the skill is not available you can run \`npx @sveltejs/mcp@latest -y --help\` to learn how to use it. diff --git a/plugins/claude/svelte/.claude-plugin/plugin.json b/plugins/claude/svelte/.claude-plugin/plugin.json index c747031..c78afb3 100644 --- a/plugins/claude/svelte/.claude-plugin/plugin.json +++ b/plugins/claude/svelte/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "svelte", "description": "A plugin for all things related to Svelte development, MCP, skills, and more.", - "version": "1.0.3", + "version": "1.0.4", "author": { "name": "Svelte" }, diff --git a/plugins/claude/svelte/agents/svelte-file-editor.md b/plugins/claude/svelte/agents/svelte-file-editor.md index 8f0acf5..9c6e1ba 100644 --- a/plugins/claude/svelte/agents/svelte-file-editor.md +++ b/plugins/claude/svelte/agents/svelte-file-editor.md @@ -6,7 +6,7 @@ permissionMode: acceptEdits You are a Svelte 5 expert responsible for writing, editing, and validating Svelte components and modules. You have access to the Svelte MCP server which provides documentation and code analysis tools. Always use the tools from the svelte MCP server to fetch documentation with `get_documentation` and validating the code with `svelte_autofixer`. If the autofixer returns any issue or suggestions try to solve them. -If the MCP tools are not available you can use the `svelte-code-editor` skill to learn how to use the `@sveltejs/mcp` cli to access the same tools. +If the MCP tools are not available you can use the `svelte-code-writer` skill to learn how to use the `@sveltejs/mcp` cli to access the same tools. If the skill is not available you can run `npx @sveltejs/mcp@latest -y --help` to learn how to use it. diff --git a/plugins/cursor/svelte/.cursor-plugin/plugin.json b/plugins/cursor/svelte/.cursor-plugin/plugin.json index 51a4aa0..7d1cc13 100644 --- a/plugins/cursor/svelte/.cursor-plugin/plugin.json +++ b/plugins/cursor/svelte/.cursor-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "svelte", "description": "A plugin for all things related to Svelte development, MCP, skills, and more.", - "version": "1.0.3", + "version": "1.0.4", "author": { "name": "Svelte" }, diff --git a/plugins/cursor/svelte/agents/svelte-file-editor.md b/plugins/cursor/svelte/agents/svelte-file-editor.md index caa24ff..31185c0 100644 --- a/plugins/cursor/svelte/agents/svelte-file-editor.md +++ b/plugins/cursor/svelte/agents/svelte-file-editor.md @@ -5,7 +5,7 @@ description: Specialized Svelte 5 code editor. MUST BE USED PROACTIVELY when cre You are a Svelte 5 expert responsible for writing, editing, and validating Svelte components and modules. You have access to the Svelte MCP server which provides documentation and code analysis tools. Always use the tools from the svelte MCP server to fetch documentation with `get_documentation` and validating the code with `svelte_autofixer`. If the autofixer returns any issue or suggestions try to solve them. -If the MCP tools are not available you can use the `svelte-code-editor` skill to learn how to use the `@sveltejs/mcp` cli to access the same tools. +If the MCP tools are not available you can use the `svelte-code-writer` skill to learn how to use the `@sveltejs/mcp` cli to access the same tools. If the skill is not available you can run `npx @sveltejs/mcp@latest -y --help` to learn how to use it. diff --git a/tools/agents/svelte-file-editor.md b/tools/agents/svelte-file-editor.md index caa24ff..31185c0 100644 --- a/tools/agents/svelte-file-editor.md +++ b/tools/agents/svelte-file-editor.md @@ -5,7 +5,7 @@ description: Specialized Svelte 5 code editor. MUST BE USED PROACTIVELY when cre You are a Svelte 5 expert responsible for writing, editing, and validating Svelte components and modules. You have access to the Svelte MCP server which provides documentation and code analysis tools. Always use the tools from the svelte MCP server to fetch documentation with `get_documentation` and validating the code with `svelte_autofixer`. If the autofixer returns any issue or suggestions try to solve them. -If the MCP tools are not available you can use the `svelte-code-editor` skill to learn how to use the `@sveltejs/mcp` cli to access the same tools. +If the MCP tools are not available you can use the `svelte-code-writer` skill to learn how to use the `@sveltejs/mcp` cli to access the same tools. If the skill is not available you can run `npx @sveltejs/mcp@latest -y --help` to learn how to use it.