windsurf-common-errors
Diagnose and fix common Windsurf IDE and Cascade errors. Use when Cascade stops working, Supercomplete fails, indexing hangs, or encountering Windsurf-specific issues. Trigger with phrases like "windsurf error", "fix windsurf", "windsurf not working", "cascade broken", "windsurf slow".
What this skill does
# Windsurf Common Errors
## Overview
Quick reference for the most common Windsurf IDE errors and their solutions. Covers Cascade failures, Supercomplete issues, indexing problems, and extension conflicts.
## Prerequisites
- Windsurf installed and previously working
- Access to Windsurf settings and logs
## Instructions
### Error 1: Cascade Not Responding
**Symptoms:** Cascade panel shows spinner indefinitely, no response to prompts.
**Solutions:**
1. Check internet connection -- Cascade requires cloud access
2. Check Windsurf status: https://status.windsurf.com
3. Check credit balance: Windsurf widget (status bar) > Account
4. Restart Cascade: Command Palette > "Cascade: Restart"
5. Restart Windsurf: Cmd/Ctrl+Shift+P > "Reload Window"
### Error 2: Supercomplete Not Showing Suggestions
**Symptoms:** No ghost text appears while typing.
**Solutions:**
1. Check if disabled: Click Windsurf widget (status bar) > verify autocomplete is ON
2. Check file type: Supercomplete may be disabled for certain languages
3. Check `.codeiumignore`: Current file might be excluded from indexing
4. Ensure not conflicting: Disable GitHub Copilot or TabNine if installed
```json
// Verify in settings.json
{
"editor.inlineSuggest.enabled": true,
"codeium.autocomplete.enable": true
}
```
### Error 3: Indexing Stuck or Slow
**Symptoms:** Status bar shows "Indexing..." for extended periods, Cascade lacks context.
**Solutions:**
1. Check workspace size: Windsurf struggles with 100K+ files without ignore rules
2. Create or update `.codeiumignore`:
```gitignore
node_modules/
.git/
dist/
build/
.next/
coverage/
vendor/
__pycache__/
*.min.js
*.bundle.js
*.map
```
1. Open a subdirectory instead of monorepo root
2. Command Palette > "Codeium: Reset Indexing"
### Error 4: Extension Conflicts
**Symptoms:** Duplicate suggestions, slow editor, features not working.
**Known conflicts:**
```
GitHub Copilot — conflicts with Supercomplete (disable one)
TabNine — conflicts with Supercomplete
Cody (Sourcegraph) — conflicts with Cascade
IntelliCode — may interfere with completions
```
**Fix:** Disable conflicting extensions:
```
Extensions sidebar > Search "copilot" > Disable
```
### Error 5: Cascade Writes to Wrong Files
**Symptoms:** Cascade modifies files you didn't intend.
**Solutions:**
1. Be specific in prompts: name exact file paths
2. Add constraints: "Don't modify any files except src/services/auth.ts"
3. Use `.windsurfignore` to protect sensitive directories
4. Review diffs before accepting -- use the Revert button per step
5. Always commit before Cascade sessions for safe rollback
### Error 6: "Model not available" or Credit Exhausted
**Symptoms:** "You've used all your credits" or specific model unavailable.
**Solutions:**
- Free plan: 25 credits/month. Switch to SWE-1 Lite (unlimited)
- Pro plan: 500 credits/month. Buy additional credits at windsurf.com/account
- Switch model: Use the model dropdown in Cascade to select a different model
- Check credit usage: Windsurf widget > Account > Usage
### Error 7: MCP Server Not Connecting
**Symptoms:** MCP tools not appearing in Cascade, "server disconnected" errors.
**Solutions:**
1. Verify MCP is enabled: Settings > Cascade > MCP > Enable
2. Check config file: `~/.codeium/windsurf/mcp_config.json`
3. Verify command exists: Run the MCP command manually in terminal
4. Check environment variables: MCP config supports `${VAR}` interpolation
5. Restart: Command Palette > "Cascade: Restart MCP Servers"
### Error 8: Cascade Loses Context Mid-Conversation
**Symptoms:** Cascade forgets what it was doing, makes contradictory changes.
**Solutions:**
1. Keep conversations focused: one task per Cascade session
2. Start a new conversation for new tasks (Cmd/Ctrl+L, then + icon)
3. Use @ mentions to re-inject context: `@src/services/auth.ts`
4. Convert key decisions to Memories: "Remember that we're using JWT, not sessions"
5. For long tasks, use Workflows instead of multi-turn conversations
## Error Handling
| Issue | Quick Fix | Root Cause |
|-------|-----------|------------|
| No AI features | Check auth in status bar | Token expired, re-sign-in |
| Cascade slow | Add `.codeiumignore` | Indexing too many files |
| Wrong suggestions | Update `.windsurfrules` | Missing project context |
| Preview broken | Close and re-open Preview | Dev server disconnected |
| Terminal errors | Cmd/Ctrl+Shift+. | Auto-debug via Cascade |
## Examples
### Quick Health Check
```bash
# Check if Windsurf is installed
windsurf --version
# Check Codeium auth state
ls ~/.codeium/
```
### Reset Everything
```
Command Palette (Cmd/Ctrl+Shift+P):
1. "Codeium: Reset Indexing"
2. "Cascade: Restart"
3. "Developer: Reload Window"
```
## Resources
- [Windsurf Status Page](https://status.windsurf.com)
- [Windsurf GitHub Issues](https://github.com/Exafunction/codeium/issues)
- [Windsurf Documentation](https://docs.windsurf.com)
## Next Steps
For comprehensive debugging, see `windsurf-debug-bundle`.
Related in Code Review
gstack
IncludedFast headless browser for QA testing and site dogfooding. Navigate pages, interact with elements, verify state, diff before/after, take annotated screenshots, test responsive layouts, forms, uploads, dialogs, and capture bug evidence. Use when asked to open or test a site, verify a deployment, dogfood a user flow, or file a bug with screenshots. (gstack)
startup-due-diligence
IncludedLegal due diligence review for seed-stage and Series A startups (US, Delaware C-Corp focus). Supports both investor and founder perspectives. Capabilities include: (1) Interactive document review and issue spotting; (2) Document request list generation; (3) Cap table and SAFE/convertible note analysis; (4) Red flag identification with severity ratings; (5) Diligence report generation. TRIGGERS: due diligence, DD, startup investment, cap table review, Series A, seed round, investor diligence, legal review startup, SAFE analysis, convertible note, 409A, founder vesting.
interview-master
IncludedThis skill should be used when the user asks to "generate interview questions", "prepare for interview", "optimize resume", "conduct mock interview", "analyze git commits for resume", "generate resume from code", "review my resume", or mentions interview preparation, career assistance, or extracting project experience from git history. Provides comprehensive interview and career development guidance for both job seekers and interviewers.
fix-issue
IncludedFixes GitHub issues using parallel analysis agents for root cause investigation, code exploration, and regression detection. Reads issue context from gh CLI, searches codebase and memory for related patterns, generates a fix with tests, and links the resolution back to the issue via PR. Includes prevention analysis to avoid recurrence. Use when debugging errors, resolving regressions, fixing bugs, or triaging issues.
sf-apex
IncludedGenerates and reviews Salesforce Apex code with 150-point scoring. TRIGGER when: user writes, reviews, or fixes Apex classes, triggers, test classes, batch/queueable/schedulable jobs, or touches .cls/.trigger files. DO NOT TRIGGER when: LWC JavaScript (use sf-lwc), Flow XML (use sf-flow), SOQL-only queries (use sf-soql), or non-Salesforce code.
swift-development
IncludedComprehensive Swift development for building, testing, and deploying iOS/macOS applications. Use when Claude needs to: (1) Build Swift packages or Xcode projects from command line, (2) Run tests with XCTest or Swift Testing framework, (3) Manage iOS simulators with simctl, (4) Handle code signing, provisioning profiles, and app distribution, (5) Format or lint Swift code with SwiftFormat/SwiftLint, (6) Work with Swift Package Manager (SPM), (7) Implement Swift 6 concurrency patterns (async/await, actors, Sendable), (8) Create SwiftUI views with MVVM architecture, (9) Set up Core Data or SwiftData persistence, or any other Swift/iOS/macOS development tasks.