AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
This skill provides a structured process for developers to report recurring Svelte or SvelteKit mistakes back to the sveltejs/ai-tools repository. By identifying patterns in code corrections, users can help improve the Svelte MCP autofixer. The skill guides the user through identifying the error, creating a minimal reproduction, searching for existing reports, and submitting a new issue via the GitHub CLI or a browser-based form.
What it does
- Identifies generalizable Svelte or SvelteKit mistakes suitable for automated fixing.
- Assists in creating minimal code reproductions to demonstrate the identified issue.
- Searches existing issues in the sveltejs/ai-tools repository to prevent duplicates.
- Automates the creation of GitHub issues using the GitHub CLI.
- Provides a browser-based fallback for submitting issue reports when CLI access is unavailable.
When to use it
- When you correct a mistake made by the Svelte MCP that could be prevented by a new rule.
- After verifying that the mistake is a generalizable pattern rather than a personal preference.
- When you have confirmed that no existing diagnostic or issue already covers the identified gap.
Advantages
- Helps improve the accuracy and utility of the Svelte MCP autofixer.
- Ensures reports are well-documented with minimal reproductions for maintainers.
- Reduces duplicate issue submissions through integrated search steps.
- Streamlines the reporting process directly from the development environment.
Usage examples
- “I just corrected a SvelteKit load function error that the agent missed. How do I report this?”
- The agent will guide you through creating a minimal reproduction and filing a formal issue in the sveltejs/ai-tools repository.
- “Help me report a recurring issue where the agent incorrectly handles Svelte component props.”
- The agent will assist you in drafting a structured issue report, checking for existing duplicates, and submitting it via the GitHub CLI.
Install
Download the skill as a ZIP:
https://mp-staging.autogineer.com/agent-skills/sveltejs/svelte-mcp-feedback/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip svelte-mcp-feedback.zip -d .agents/skills
Documentation by Svelte
Svelte MCP feedback
Turn a user-corrected mistake into actionable feedback for the Svelte MCP autofixer in sveltejs/ai-tools.
1. Identify the autofixer opportunity
Use the conversation and the code you just worked on to identify:
The incorrect code you produced and the user's correction.
The Svelte or SvelteKit rule that explains the correction.
A reusable code pattern the MCP could detect, and the fix or suggestion it could provide.
Include SvelteKit JavaScript/TypeScript files such as +page.ts, +layout.server.ts, +server.ts, hooks.server.ts, and svelte.config.js; feedback is not limited to .svelte files.
Only proceed if there is a concrete, generalizable Svelte/SvelteKit mistake. A changed product requirement, a personal naming preference, or an unrelated application bug does not justify an autofixer issue. If the correction is ambiguous, clarify it while continuing the user's task.
Apply the user's correction and complete the requested work. Reporting feedback should not leave the original mistake unfixed.
2. Capture a minimal reproduction
Reduce the before/after code to the smallest example that preserves the mistake. Use generic names and sample data instead of copying unrelated project code, credentials, or conversation history.
If the Svelte MCP is available, check its relevant documentation and run svelte-autofixer on the incorrect example when it supports that file type. Record whether it missed the issue, suggested an incorrect fix, or already reported the issue and you overlooked it. Do not claim the tool missed something without checking its output. If the tool is unavailable or does not support the file type, say so; a proposed new rule can still be useful.
If an existing diagnostic already clearly covers the correction, follow it instead of opening a new-rule request. Report only a concrete gap, such as an unclear diagnostic, a wrong suggested fix, or a missed case.
Prepare a title like Autofixer: detect <incorrect pattern> and a Markdown body with:
Summary — the mistake and why it matters.
Incorrect code — a fenced minimal example with the relevant filename/file type.
User correction / expected code — the corrected example and a brief explanation.
Proposed detection and fix — the recognizable pattern, suggested transformation or guidance, and cases where a fix would be ambiguous.
Current MCP behavior — the actual relevant output, or explicitly "not checked" with the reason.
Environment — Svelte, SvelteKit, MCP, and model versions when known; do not invent missing versions.
The report is ready when a maintainer can understand the pattern and expected outcome without access to the original project.
3. Open the issue
Use GitHub CLI when it is installed and authenticated. Check with gh --version and gh auth status. Always specify --repo sveltejs/ai-tools so the issue does not go to the user's project repository.
Search for an existing report of the same pattern:
gh issue list --repo sveltejs/ai-tools --state all --search '<pattern keywords>' --limit 20Read likely matches with gh issue view <number> --repo sveltejs/ai-tools. If an issue already describes the same reproduction and expected fix, share its link instead of filing a duplicate. If a closed issue was supposedly fixed but your example still fails, describe that regression and link the old issue in the new report.
Write the issue body to a temporary Markdown file using a file-writing tool or a quoted heredoc. Pass the title as a safely quoted argument and use --body-file so code snippets and backticks are not interpreted by the shell:
gh issue create --repo sveltejs/ai-tools --title 'Autofixer: detect <incorrect pattern>' --body-file '<temporary-body-file>'Capture and share the returned issue URL. Do not guess labels or assignees. If creation fails, report the failure and use the browser fallback. If the result is uncertain (for example, a network timeout after submission), check for the issue before retrying.
Browser fallback
If gh is unavailable, unauthenticated, or unable to create the issue, build a URL for:
https://github.com/sveltejs/ai-tools/issues/new?title=<encoded-title>&body=<encoded-body>Encode each query value with encodeURIComponent, URLSearchParams, or an equivalent URL encoder; do not interpolate raw Markdown into the URL. Open it using an available browser tool or the platform URL opener (open on macOS, xdg-open on Linux, or Start-Process in PowerShell). This opens the new-issue form with the draft filled in for the user to submit.
If the full report makes the URL too long, prefill the title and a short summary, and provide the full Markdown body for the user to paste. If no browser can be opened, provide the clickable prefilled URL and the body in the response.
Distinguish the outcome: either give the URL of the created/existing issue, or say that the draft form is ready and the user still needs to submit it. Then return to the user's original task.
Files
- ATTRIBUTION.mdAdded by AutoGineer861 B
- LICENSELicence file added by AutoGineer1.1 KiB
- SKILL.md5.4 KiB
ATTRIBUTION.md
Attribution
This folder is an unmodified copy of the Agent Skill "svelte-mcp-feedback", distributed by AutoGineer (https://autogineer.com/agent-skills).
Commit: d3e755be770277d8c75fe61109b103b801b12775
Published by: Svelte (https://github.com/sveltejs)
Publisher: Svelte (https://github.com/sveltejs)
Licence: MIT License (https://github.com/sveltejs/ai-tools/blob/d3e755be770277d8c75fe61109b103b801b12775/LICENSE)
Licence evidence: repository licence LICENSE
Retrieved: 2026-11-07
The skill's own files are unmodified copies. AutoGineer is not affiliated with or endorsed by the author or the publisher.
Files added by AutoGineer
ATTRIBUTION.md: this file, written by AutoGineer
LICENSE: copied from LICENSE
Requirements and compatibility
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Needs a command-line tool
Security
No issues found by our static scan· No issues found
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Published by
- Svelte
- Publisher
- Svelte (Official)
- Source
- sveltejs/ai-tools · tools/skills/svelte-mcp-feedback · commit d3e755b
- Licence
- MIT License (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by Svelte.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download svelte-mcp-feedback.zip