← ClaudeAtlas

fix-errorslisted

Parses build errors and fixes them systematically. Triggers on build failures, compilation errors, or when user reports errors.
dagonet/claude-code-toolkit · ★ 3 · AI & Automation · score 69
Install: claude install-skill dagonet/claude-code-toolkit
# Fix Errors Skill Parse error output and fix issues systematically. ## When to Use This skill auto-activates when: - Build fails with errors - User pastes error output - User mentions "fix errors", "build failed", or "compilation error" - User asks to resolve CS#### error codes ## Workflow 1. **Get error information** - If error text provided: - Call `extract_json(text, schema)` with error schema - If path provided: - Call `build_and_extract_errors(project_or_sln)` - If empty: - Call `map_dotnet_structure(root)` to find solution - Call `build_and_extract_errors` on the solution 2. **Parse and categorize errors** ```json { "errors": [ {"code": "CS0246", "message": "...", "file": "...", "line": N} ], "warnings": [...] } ``` 3. **Prioritize by error code** - **CS0103/CS0246**: Missing type/namespace - check usings, references - **CS0029/CS0266**: Type conversion - check assignments - **CS1061**: Missing member - check spelling, interface - **CS0121**: Ambiguous call - add explicit cast or rename - **CS0506**: Cannot override - check virtual/override Fix in order: first error often causes cascading errors 4. **Create fix plan** ``` ## Errors Found: X ### Error 1: CS0246 at File.cs:42 The type or namespace 'IService' could not be found **Likely cause:** Missing using directive or package reference **Fix:** Add `using MyProject.Interfaces;` ### Error 2: ... ``` 5.