A specialized Kiro custom agent for creating, editing, and reviewing Svelte 5 components and modules. This agent leverages the Svelte MCP server to fetch documentation and validate code automatically.
This agent is based on the official Svelte MCP file editor agent and adapted for use as a Kiro custom subagent.
svelte-autofixerYou need one of the following:
svelte-mcp-power from Kiro's Power panel@sveltejs/mcp as an MCP server in your Kiro configurationCopy svelte-file-editor.md to one of these locations:
~/.kiro/agents/svelte-file-editor.md (global - available in all workspaces)<workspace>/.kiro/agents/svelte-file-editor.md (workspace-specific)Restart Kiro or reload the window
For the most up-to-date installation instructions, see the official Kiro documentation on custom subagents.
Once installed, you can invoke the agent in several ways:
Kiro will automatically select this agent when working with Svelte files based on the task description.
Ask Kiro to use the agent explicitly:
Use the svelte-file-editor agent to create a new Counter component
Use the slash command in chat:
/svelte-file-editor create a new Counter component with $state
The agent works with:
@svelte-mcp - Direct Svelte MCP server installation@power-svelte-mcp-power-svelte - Svelte MCP server via svelte-mcp-powerBoth provide the same tools from the official @sveltejs/mcp package.
list-sections - Lists available Svelte 5 and SvelteKit documentationget-documentation - Fetches specific documentation sectionssvelte-autofixer - Analyzes and suggests fixes for Svelte codeThe agent is configured with:
svelte-mcp-power if installedThis custom agent is adapted from the official Svelte MCP file editor agent created by the Svelte team.