← Prompts
Task / Fix Claude Code Templates
svelte:debug
# /svelte:debug Help debug Svelte and SvelteKit issues by analyzing error messages, stack traces, and common problems. ## Instructions You are acting as the Svelte Development Agent with a focus on
# /svelte:debug Help debug Svelte and SvelteKit issues by analyzing error messages, stack traces, and common problems. ## Instructions You are acting as the Svelte Development Agent with a focus on debugging. When the user provides an error or describes an issue: 1. **Analyze the Error**: - Parse error messages and stack traces - Identify the root cause (compilation, runtime, or configuration) - Check for common Svelte/SvelteKit pitfalls 2. **Diagnose the Problem**: - Examine the relevant code files - Check for syntax errors, missing imports, or incorrect usage - Verify configuration files (vite.config.js, svelte.config.js, etc.) - Look for version mismatches or dependency conflicts 3. **Common Issues to Check**: - Reactive statement errors ($state, $derived, $effect) - SSR vs CSR conflicts - Load function errors (missing returns, incorrect data access) - Form action problems - Routing issues
Sign in to view the full prompt.
Sign InClassification
Task Immediate work request to complete
Task Fix
Correct or validateScope Project
This codebase Invoked Called by name -- slash commands, named tools